开发者

Run application after finish installing

开发者 https://www.devze.com 2023-03-03 14:10 出处:网络
I attach a EXE application in Application Folder in Se开发者_高级运维tup project. I create a custom action in Commit and point to this EXE to run this application when installing. But I get a problem:

I attach a EXE application in Application Folder in Se开发者_高级运维tup project. I create a custom action in Commit and point to this EXE to run this application when installing. But I get a problem: application will be invoked but setup will not complete until you close application.

Please help me how to run application without closing application and setup still finishes. Thanks.

I am using Visual studio 2010 Ultimate to create setup. Thanks.


Because you have to start your application when installation is complete, after InstallFinalize action.

Follow the steps outlined in this article on customizing Visual Studio setup project. Then you will add more customization described here to remove the checkbox on uninstall.


Alternatively you can use WiX toolset to create the setup package. To launch application at the end, follow instructions in Well Done section of the WiX Tutorial.

0

精彩评论

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