PDA

Показать полную графическую версию : Изменить тихую установку


maxim43g
04-02-2021, 15:43
Добрый день, есть .bat файл который делает тихую установку, по умолчанию она устанавливается в папку C:\Program Files\Agent\, как изменить .bat что бы установка шла в %appdata%\agent?
fusioninventory-agent_windows-x86_2.6.exe /S /acceptlicense /add-firewall-exception /execmode=Service /installtasks=Full /timeout=180 /delaytime=300 /server="http://192.168.88.4/glpi/plugins/fusioninventory/" /runnow

boss911
04-02-2021, 23:32
Добавьте в ваш BAT файл параметр /installdir= (если путь с пробелами, брать в кавычки).

fusioninventory-agent_windows-x86_2.6.exe /installdir=%AppData%\Agent /S /acceptlicense /add-firewall-exception /execmode=Service /installtasks=Full /timeout=180 /delaytime=300 /server="http://192.168.88.4/glpi/plugins/fusioninventory/" /runnow


http://fusioninventory.org/documentation/agent/installation/windows_before_2.3.0.html


/help Display this help. The space in front of /help is mandatory!
/installdir=dirname Set installation directory of agent




© OSzone.net 2001-2012