Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have an existing installer based on Visual Studio Installer Setup project. The installer on install phase executes a custom action which opens a WPF application which allows the user to configure the application being installed(changes to configuration file, create / modify SQL server databases...). Since the Visual Studio Installer is no longer supported in Visual Studio 11, I need to re-implement the installer with Wix. I managed to create an installer but I am having difficulties with custom action which runs a WPF application. The WPF application used as a custom action is installed together with an actual "target application".
If a user cancels a custom action the install process has to be canceled.
Any ideas will be appreciated.

Uroš
Posted

1 solution

Couple of suggestions ...

- just because vs2011 is the new kid, doesn't mean you have to throw the old kids away? Our build system still supports some 2003 builds
- Have a look at what the previous MSI was doing with Orca[^] - pay particular attention to the CustomAction[^] and InstallExecuteSeq[^] tables - review the docs for Custom Actions[^] and apply to WiX[^]
 
Share this answer
 
Comments
koleraba 2-Nov-12 23:47pm    
I wouldn't be thinking of re-implementing the installer, just because their is a new version of VS. The problem is the application for which I need the installer is still under development. The development team is swithing to the new version of VS and along with it to the new version of .net framework. This is why I think it would be best to re-implement the installer. Thank you for the links. I will check them out and see if they can help me. Do you maybe have some more concrete ideas?

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