开发者

Running application after install was finished

I prepared an MSI project of my app and added a custom action in the commit stage to run the exe of the app after finishing the install. After finishing the setup , it try to run the exe by it failed . I debugged the problem , it was because the execute directory is system32 and not the setup folder . if I run the exe normally from the setup folder , it run normally.

Any suggestion what is the cause.

Thanks Wa开发者_运维知识库sim ...


If you want to launch the installed application after installation completes, you should do it after InstallFinalize action. Look at WiX tutorial to see how to add this feature.

Update: To add checkbox to the Completion page and run the installed application, look at this question. There's a link to an article which describes how to do it with a script to do it. Then you will have to add the condition, the steps can be found in my answer there.


You can try using a type 34 custom action (EXE with working directory).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜