Installshield after successful install, does not launch exe

。_饼干妹妹 提交于 2019-12-11 00:25:38

问题


I am using a single MSI project.

After a successful install, I select the checkbox to launch my software, and I click finish.

It does not launch my software, even though I checked it and clicked finished.

The only thing I found so far towards ensuring the launch directory was valid, was the property tab for the Checkbox for the "Launch Product". Its property is set as "LAUNCHPROGRAM". Do I have to provide the exe source path for it to launch? I do not see anything related to it. I would imagine that it is simply not launching because it doesn't know what to launch.

Any ideas?

Thanks..


回答1:


Assign a property in the Property Table refering to the executable. Then Pass this propety name for Launch action to excute.

Hope this might solve the problem.




回答2:


For more details on this, check out this SO question:

Run solution exe after installtion using installshield

Check my answer for addressing some additional issues that may arise. (Such as ensuring the working directory is set when your program is launched).



来源:https://stackoverflow.com/questions/4402882/installshield-after-successful-install-does-not-launch-exe

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