installshield with custom action

旧街凉风 提交于 2019-12-04 10:23:59

For In-Script Execution combo you should use deferred or commit execution. If your custom action needs Administrator privileges, it should be deferred or commit in System Context.

Deferred or commit actions do not run in InstallUISequence, so on Insert Into Sequence dialog make sure that Install UI Sequence combo is set to:

<Absent from sequence>

Deferred actions run before InstallFinalize. Since you want to run your custom action after installing the files, you can set Install Execute Sequence combo to:

After InstallFiles

The installation language is stored in ProductLanguage property. So you can use it directly in your custom action command line, for example:

[ProductLanguage]

This property contains the language identifier. You can find a list of identifiers here: http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!