Setup Factory 怎样让打包的程序在安装后自动运行

Setup Factory 怎样让打包的程序在安装后自动运行,第1张

1.在菜单栏中选择“工程”,再选择其中的“屏幕”选项,会打开一个“Screens”界面拦并。

2.选择“安装之后”子选项卡

3.双击“安装结束”后,在d出的界面中选择“ *** 作”选项卡。

4.选择其中的“On Next”选项卡后,再点击“添加 *** 作”,会出现一个“新建 *** 作向导-选择 *** 作”界面。

5.在界面中的“第一步”中选择“Shell”,“第拍衡迹二步”中选择“Shell.Execute”。

6.点击“下一步”,现出“ *** 作设置”界面。

7.双击“\\MyProg.exe”后会现出一个选择文件的按钮,点击那个按钮,并且选择一个你想执行的.exe文件。如7 插入文件引用所示。

8.点击“确定”按钮即可。剩下的工作袭并就是“完成”“确定”等。我相信同志们都会做了,最后就是“发布”和“构建”了,构建出的一个安装包,这个安装包在你安装后就会自动运行了。转载,仅供参考。

你没看帮助文档吗?

用ExecWait就空瞎行了

例扮喊如:ExecWait '"$INSTDIR\someprogram.exe"'

作厅亏野者文档:

Execute the specified program and wait for the executed process to quit. See Exec for more information. If no output variable is specified ExecWait sets the error flag if the program executed returns a nonzero error code, or if there is an error. If an output variable is specified, ExecWait sets the variable with the exit code (and only sets the error flag if an error occursif an error occurs the contents of the user variable are undefined). Note, if the command could have spaces, you should put it in quotes to delimit it from parameters. e.g.: ExecWait '"$INSTDIR\command.exe" parameters'. If you don't put it in quotes it will not work on Windows 9x with or without parameters.


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/12525284.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-26
下一篇 2023-05-26

发表评论

登录后才能评论

评论列表(0条)

保存