开发者

Run an EXE from MSI Installation Script C#

Hi all How do i run a EXE file straight after my MSI has executed and successfully installed. Have been looking the the postbuildevent with the MSI but it does't seem to work. Tried just putting in the full path and filemame,开发者_开发问答 without much success


Assuming that the exe is the primary output from one of the projects in your solution that is being built by the MSI, you should be able to do this in the Post Install Event by selecting the "Primary output" from that project. (Link coming with instructions if I can find it.)

Edit

I did find this previously asked question that gives a workaround for doing iut in the post-build event: VS .Net: Post build events for "Primary Output from <myProject>" in installer project

And I found the instructions I was looking for originally here: http://support.microsoft.com/kb/827018

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜