Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I've a project with a .msi file. That file puts all necessary files on computer target. But then, i need to execute one of that new files placed. I'm doing some addins for office, and when installing, i've looked i need to execute the .vsto file in target computer to install it right.

There's a way to include that in .msi file? just clicking .msi file, put all files on computer and auto-execute the .vsto file?
thanks

Regards,

JP
Posted

1 solution

Hi,

unfortunately you can't because MSI file doesn't support nested installation. Are you using VS to create your msi file? If so you can create there just bootstrarper exe file where you can add all prerequisites and do everything you want - you can do any exe, bat etc. files before, during or after installation. You can read about this, there is a lot of stuff about this, f.e.:

http://msdn.microsoft.com/en-us/library/wx3b589t.asp[^]

You don't need exactly Visual Studio to achieve such functionality but you will need something more than msi.

Best Regards
PZ
 
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