Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0 installer wix
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-Nov-12 8:59am
koleraba1.2K

1 solution

Rate this: bad
good
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[^]
  Permalink  
Comments
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 Kornfeld Eliyahu Peter 275
1 Maciej Los 214
2 Sergey Alexandrovich Kryukov 200
3 King Fisher 185
4 OriginalGriff 163
0 OriginalGriff 6,223
1 DamithSL 4,724
2 Maciej Los 4,196
3 Kornfeld Eliyahu Peter 3,894
4 Sergey Alexandrovich Kryukov 3,496


Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 1 Nov 2012
Copyright © CodeProject, 1999-2014
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