proplus.xml that contains:
<Configuration Product="ProPlus">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>
Place this proplus.xml together with setup.exeMake cmd file
silent.install.cmd file that contains:
setup.exe /config proplus.xml
If you share this folder and want to install via network then you have to append %~dp0 before setup.exe and proplus.xml. Make sure to also use quotes:
"%~dp0setup.exe" /config "%~dp0proplus.xml"
Also you can totally include xml file in batch file:
set/p _="<Configuration Product="ProPlus"><Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" /><Setting Id="SETUP_REBOOT" Value="Never" /></Configuration>" <nul > "%temp%\proplus.xml"
"%~dp0setup.exe" /config "%temp%\proplus.xml"
No comments:
Post a Comment