Ahh, yes, I forgot about that detail. That's why SKIPCONFIGUREIIS was introduced. Something to address in the future.
-----Original Message----- From: Matt Weber [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2008 18:45 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] IIS CA Transform Error The reason I'd like to disable the CA when no IIS related features are going to be installed is to prevent the "Cannot connect to Internet Information Server (Cancel | Retry | Ignore)" dialog from appearing in the event that there is no IIS installed on the computer. Obviously, however, this dialog should still appear if the user did indeed select those IIS related features while not having IIS installed on the machine. I'm not worried about the integrity of the install, I'm just trying to cover all the bases so first impressions are good with the new installer. Thanks, -Matt Weber -----Original Message----- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2008 1:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] IIS CA Transform Error Why do you need to disable the CA from executing? It shouldn't change anything if no Components are being installed. -----Original Message----- From: Matt Weber [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2008 03:39 To: wix-users@lists.sourceforge.net Subject: [WiX-users] IIS CA Transform Error Hello, Just stumbled upon WiX a month or so ago; been a great experience so far, and it will now be used for building packages for our product here. Before releasing our next version (the first using WiX), I've just been making sure everything was done appropriately, and I've ran into one problem: The MSI has some features that deal with IIS; there exist several scenarios where a customer would not want to install these features. If all IIS-related features are disabled, the ConfigureIIS custom action is still executed. To disable the CA from executing when those features are not enabled I have the following in the .wxs: ----- <InstallExecuteSequence> <Custom Action="ConfigureIIs" After="InstallFiles"> ....conditions.... </Custom> </InstallExecuteSequence> ----- That works just fine; the end result is that ConfigureIIs isn't executed when we wouldn't want it to. Great. The problem I've been having occurs when generating transforms between two versions of the MSI. Torch gives me the following error: ----- torch.exe : error TRCH0001 : Item has already been added. Key in dictionary: 'InstallExecuteSequence/ConfigureIIs' Key being added: 'InstallExecuteSequence/ConfigureIIs' Exception Type: System.ArgumentException Stack Trace: at System.Collections.SortedList.Add(Object key, Object value) at Microsoft.Tools.WindowsInstallerXml.Differ.Diff(Output targetOutput, Output updatedOutput, TransformFlags validationFlags) at Microsoft.Tools.WindowsInstallerXml.Tools.Torch.Run(String[] args) ------ This error will go away if I remove the above <InstallExecuteSequence>.../> snippet I provided above. Looking at the actual MSI tables, the entries in the CustomAction and InstallExecuteSequence tables are equivalent between the two versions; I'm not sure why they'd be picked up as a difference. I'm using WiX 3.0.4513.0. Much thanks, -Matt Weber ------------------------------------------------------------------------ - 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 ------------------------------------------------------------------------- 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