经常翻看InstallShield Help Library,有的时候想要看下InstallShield里面参数的东西,老是找不到,现在罗列下来:
1. Command-Line Options:
http://msdn.microsoft.com/en-us/library/aa367988.aspx2. 或者Help Library去搜索MsiExec.exe就可以找到
MsiExec.exe Command-Line Parameters
3. Setup.exe and Update.exe Command-Line Parameters
Command-line options that require a parameter must be specified with no space between the option and its parameter. For example,
Setup.exe /v"ALLUSERS=2"
is valid, while
Setup.exe /v "ALLUSERS=2"
is not. Quotation marks around an option’s parameter are required only if the parameter contains spaces. If a path within a parameter contains spaces, you may need to use quotation marks within quotation marks, as in the following example:
Setup.exe /v"INSTALLDIR=\"c:\My Files\""
用到Parameters for Passing Data to the Installation :
Parameter | Project Type | Description |
/v : pass arguments to Msiexec | Basic MSI, InstallScript MSI, Web | Use the /v option to pass command-line options and values of public properties through to Msiexec.exe. If you want to pass more than one argument to Msiexec.exe, you can use the /v option multiple times at the command line, once for each argument. For example: Setup.exe /v"/l*v c:\test.log" /v"MYPROPERTY1=value1" /v"/qb" As an alternative, you can pass multiple arguments through the /v option as in the following example: Setup.exe /v"/l*v c:\test.log MYPROPERTY1=value1 /qb" |