經常翻看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
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" |