InstallShield打包的setup文件命令行参数
来源:互联网 发布:www.js sanfu.com 编辑:程序博客网 时间:2024/04/28 07:14
InstallShield
Setup.exe命令行参数Command-Line Parameters
Setup.exe文件的InstallShield可以接受许多命令 行参数。使用这些参数,管理员可以指定安装位置,是否要重新启动系统,或是否显示安装过程。
参数说明
================================================
/uninst
卸载
Setup.exe /uninst
================================================
/removeonly
卸载,按照欢迎和修复对话框上的设置来
Setup.exe /removeonly
================================================
/r
记录安装操作,建立成iss应答文件,可 在使用静默安装命令/s
Setup.exe /r
Setup.exe /r /f1”c:\temp\my-answer-file.iss”
================================================
/s
用先前建立的iss应答文件静默安装。一般情况下默认会建 立在Windows目录下(%windir%)(C:\Windows)
Setup.exe /s
Setup.exe /s /SMS
Setup.exe /s /f1”c:\temp\my-answer-file.iss”
Setup.exe /s /f1”c:\temp\my-answer-file.iss” /f2”c:\temp\my-log-file.iss”
================================================
/f1
指定一个替代响应文件
名称和路径在默认情况下, / s将会期待
在同一目录中的Setup.iss
安装可执行文件用/ r将创建
Setup.iss在Windows目录(%windir%).
Setup.exe /r /f1”c:\temp\my-answer-file.iss”
Setup.exe /s /f1”c:\temp\my-answer-file.iss”
================================================
/f2
指定一个替代日志文件的名称
和路径,默认的日志文件将被
创造在同一目录。
文件的名称
Setup.log.
Setup.exe /s /f2”c:\temp\my-log-file.iss”
Setup.exe /s /f1”c:\temp\my-answer-file.iss” /f2”c:\temp\my-log-file.iss”
================================================
/SMS
Instructs a silent setup not to release
the current session until the installation
is complete. Without this switch a silent
installation will immediately appear
complete and run in the background.
Use this switch to have any additional
installations or script actions wait for
installation to complete (such as in a
batch file). The parameter was
introduced to support MS Systems
Management Server which would
temporarily map a drive during
installation to access source files (where
it would immediately complete, and
SMS would unmap the drive to the
source files before the installation was
complete.)
Setup.exe /s /SMS
Setup.exe /s /SMS /f1”c:\temp\my-answer-file.iss”
Setup.exe /s /SMS /f1”c:\temp\my-answer-file.iss” /f2”c:\temp\my-log-file.iss”
================================================
/m
Generate a .MIF file (used by SMS and
some other management solutions to
report status information).
Setup.exe /m”MyMIF”
================================================
/m1
Specifies the serial number to be written
to a .MIF file (used with /m parameter)
Setup.exe /m”MyMIF” /m1”1111-2222-”
Setup.exe /m”MyMIF” /m1”1111-2222-” /m2”ENU”
================================================
/m2
Specifies the locale string to be written
to a .MIF file (used with /m parameter)
Setup.exe /m”MyMIF” /m2”ENU”
Setup.exe /m”MyMIF” /m1”1111-2222-” /m2”ENU”
================================================
/d
Debug InstallScript portion of the setup
with the InstallScript debugger
(ISDbg.exe). This is intended for setup
authors to troubleshoot a setup and not
for admins- the action requires a
setup.dbg file to be available.
Setup.exe /d”<path to folder containing setup.dbg>“
Setup.exe /v”ISSCRIPTDEBUG=1 ISSCRIPTDEBUGPATH=\”<path to folder containing
setup.dbg>\”“
================================================
/f
Specify alternative compiled script.
Setup.exe looks for a compiled script
file named Setup.inx, this parameter
may be used to specify a different name
for the compiled script file. Note that in
earlier versions of InstallShield
(InstallShield - Windows Installer
Edition), this parameter served to
initiate a repair of the installation.
Setup.exe /f”AlternateSetup.inx”
================================================
/L
Specifies the language for the setup for
those setups that support multiple
languages. Language must be identified
by decimal (LCID).
Setup.exe /L1031
Setup.exe /L0007
================================================
/delayedstart
Delay initialization of the installation.
With this parameter, specify the amount
of time (in seconds) by which
initialization of the installation is to be
delayed after Setup.exe is launched.
Setup.exe /delayedstart:10
Setup.exe /s /delayedstart:900
================================================
/deleter
Do not clone a second Setup.exe
process when debugging. By default,
Setup.exe clones a second process so
that it properly uninstalls applications
from machines on which no InstallScript
installation had previously been run.
Use this option when debugging a DLL
function that is called from your own
authored installation script.
Setup.exe /deleter
================================================
/extract_all
Extract a package's files but do not run
the setup.
Setup.exe /extract_all:”c:\temp”
================================================
- InstallShield打包的setup文件命令行参数
- windows98安装程序SETUP的命令行参数
- installshield打包成只有setup.exe的安装包时获取setup.exe所在路径的方法
- 更换用installshield打包生成exe文件的图标
- 使用bmconv命令行参数解压打包mbm文件
- 简述Java命令行参数、JVM、打包Java程序、JAR文件
- setup.py打包程序对资源文件的搜索方式
- Inno Setup 打包的文件以管理员权限运行
- vs打包生成的文件有:setup.msi,setup.exe 二者区别
- Inno Setup命令行安装卸载参数
- Installshield 打包
- 命令行打包apk文件
- InstallShield 的命令行 ISCmdBld.exe 跟踪简记
- Installshield打包的安装包卸载时如何保留部分文件不被卸载?
- 使用installshield——绿色的EXE安装文件打包程序
- 使用Installshield Limited Edition Project 将文件打包成 "exe" 格式的安装包
- InstallShield制作的打包程序运行图例
- 如何更改InstallShield打包的应用程序GUID
- C#的三元运算符是()?
- Drupal 7 数据库 操作(很好,很犀利)
- 关于NavigationItem.rightBarButtonItem设置
- 类级别原子计数器
- Android常用操作
- InstallShield打包的setup文件命令行参数
- 序列比对算法
- .NET与COM
- PB中常用函数Update的详细用法
- wxWidgets与其他工具库的比较
- Core Data数据持久性存储基础教程
- Android应用自动更新功能的代码实现
- Oracle查看进程执行sql
- Win7 hosts Issues