Click here to Skip to main content
11,577,258 members (52,744 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#4.0 installer wix

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.

Posted 1-Nov-12 7:59am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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[^]
koleraba at 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)

  Print Answers RSS
0 DamithSL 155
1 Afzaal Ahmad Zeeshan 125
2 OriginalGriff 115
3 Richard MacCutchan 100
4 Abhinav S 90
0 OriginalGriff 820
1 Sergey Alexandrovich Kryukov 676
2 Abhinav S 528
3 F-ES Sitecore 420
4 Suvendu Shekhar Giri 375

Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 1 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100