Показать сообщение отдельно
Старый 28.08.2007, 18:30   #16
efre
Новичок
 
Пол:Мужской
Регистрация: 19.05.2005
Сообщений: 4
Репутация: 22
По умолчанию Ответ: реестр

Изменить действия системы при установке программы (WM2003)

HKCR\cabfile\Shell\Open\Command

изменить с
wceload.exe "%1"
на
wceload.exe "параметры командной строки" "%1"

т.е. для того, чтобы, например, запрашивалась директория для установки программы, следует записать
wceload.exe /askdest "%1"

Cправка по параметрам wceload:

wceload [/noaskdest | /askdest | /delete <number> | /noui | /nouninstall] <cab file location>

Parameters

/noaskdest - Specifies that the user is not prompted for the installation directory.

/askdest - Specifies that the user is prompted for the installation directory.

/delete <number> - Specifies how Wceload removes the cab file after installation.
Value Description
0 Does not remove the cab file.
1 Removes the cab file. This is the default value.
2 Treats the file as chuck blocks of data, and dynamically deletes them.

/noui - Specifies that the user will not be prompted for any input during the installation.

/nouninstall - Specifies that the installed application cannot be removed. If this option is used, the unload file will not be generated.

cab file location - Specifies the location of the cab file to install or remove.

Последний раз редактировалось efre; 28.08.2007 в 18:41..
efre вне форума
 
Ответить с цитированием Вверх
Эти 2 пользователя(ей) сказали cпасибо за это полезное сообщение:
 
Время генерации страницы 0.02454 секунды с 10 запросами