简体   繁体   中英

Switch override and precedence in Windows Installer 3.1 installer

I want a quiet install and also do not want any prompts for restart, overwrite files etc. So, should I use switches "/norestart", "/overwriteoemprompting", "/passive" etc. if I am using "/quiet" switch?

Please see the screenshot attached below:

在此处输入图片说明

Will "/quiet" switch ensure that there is no prompt for restart, file overwrite etc.? I mean, are "/norestart", "/overwriteoemprompting", "/passive" switches required if "/quiet" is used?

Is there any precedence for switches?

I need this to install .net 2.0 in windows xp.

It might be better to use the other set of command line options, they seem to have a better explanation because things like /passive are a combination of them.

http://msdn.microsoft.com/en-us/library/aa367988(v=vs.85).aspx

Quiet means quiet - it won't prompt for reboot it will just do it. Passive sets /qb!- and REBOOTPROMPT=s, which conflicts with quiet meaning /qn. So just pick the set from the traditional commands at that link and you should be good to go.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM