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, 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"

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值