Click here to Skip to main content
15,905,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,
As part of application I am developing, I need to have a .msi file(MyProg.msi) run to install a keyboard layout before my application can work successfully. I have tried adding this .msi file as a custom action but VS 2008 does not allow me. May be I am adding it the wrong way or there is a better way to run this .msi file just before installation ends or right after. Please any form of help is welcomed. Thank you.
Posted
Updated 14-Jun-11 23:46pm
v2

 
Share this answer
 
v2
1) If you target win 7 (and probably vista) then you can write your own exe or dll with custom action that will simply call Process.Start( "MyProg.msi" )

2) But if you want to have XP support too (simultaneous installs are not supported there). You'd better create custom prerequisite. You can take a look here
Add your own (custom) prerequisite to "ClickOnce" application[^]

and here

http://msdn.microsoft.com/en-us/library/ms165429(v=VS.90).aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900