InstallShield Command-Line Parameters

經常翻看InstallShield Help Library,有的時候想要看下InstallShield裏面參數的東西,老是找不到,現在羅列下來:

1. Command-Line Options

http://msdn.microsoft.com/en-us/library/aa367988.aspx

2. 或者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, whileSetup.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"

發佈了11 篇原創文章 · 獲贊 3 · 訪問量 33萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章