开发者

Run an EXE from MSI Installation Script C#

开发者 https://www.devze.com 2023-02-20 08:08 出处:网络
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 t

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

精彩评论

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