Sorry, when I say "fixed", it sounds like you need to get the CustomActions to understand that they may not always be installed. I say "very brittle" because when CustomActions have this sort of behavior, they usually have problems with repair scenarios which are also important for patching... and sometimes they have issues with uninstall.
I also believe that 3rd party Merge Modules should be treated like black boxes and only be modified by the producers. Editing a Merge Module (while possible) seems like it should void any warranties/support provided by the producer. To provide more targeted suggestions, we'd have to have more specific details about all the moving parts here. -----Original Message----- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2008 10:46 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] What would be the best way to go about this?... I would never recommend calling a batch file as part of an install. Rolling back a batch file sounds like a lot of work... especially since batch files don't have any kind of "transactionality" in them. Can you investigate the CustomActions of the Merge Module more and see if there is some way to get them fixed to correctly handle your scenario. Right now, the pieces all sound very brittle and fragile. -----Original Message----- From: John D. Marinuzzi [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2008 10:42 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] What would be the best way to go about this?... I posted last week with some issues I was having with Merge Modules and got some suggestions, but it never really solved my issue. So, maybe I am just not using the correct way to skin this cat. Here is what needs to be done: Our software uses a hardlock key for protection. We no longer use this type key of key, but we need to optionally continue to install the drivers for customers using the old key. The manufacturer provides us with an msm file to add to our msi. I could also run a command line batch program to install the drivers as well. I want to give the user the Feature (option) of installing these drivers if they are using the old type of key. I was originally using the msm file and had a Mergeref in the Feature. I found that if the user did not select the feature (which most won't), the installer fails. I have the Merge element under the INSTALLDIR Directory (although no files are actually being installed there). So, what is the best way to go about installing these drivers only if the Feature is selected? Should I run a CustomAction and just fire off the batch file? Thanks Again, John ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users