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
精彩评论