Ok..Seems that this problem has come again in different form. In my setup I now have 3 features - 1st feature installs our service and the other 2 install a separate IIS site, IIS application and IIS application pool dedicated for that particular feature. I have added a condition to run "ConfigureIIs" action only when feature2 and feature3 are selected.
Since these 2 IIS features are independent, I can choose only one of them for installation. However if I do so, I am noticing following error Entrypoint: ConfigureIIsExec ConfigureIIsExec: Error 0x8007000d: invalid port provided for web site: ConfigureIIsExec: Error 0x8007000d: failed while processing WebSites Error 26002. Failed while processing WebSites. (-2147024883 ) MSI (s) (C0!1C) [15:52:50:306]: Product: Forefront Identity Manager Service and Portal -- Error 26002. Failed while processing WebSites. (-2147024883 ) Action ended 15:52:50: InstallExecute. Return value 3. The ConfigureIIS action fails because it doesn't find the port for the non-selected feature. Thw question I have is - How do I tell MSI not to configure IIS site/application/application pool for the non-selected feature? Thanks for help, Anagha -----Original Message----- From: Anagha Kothurwar [mailto:anagha.kothur...@microsoft.com] Sent: Friday, April 08, 2011 6:07 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ConfigureIIsExec getting called unexpectedly I found that I need to add a proper (explicit) condition for ConfigureIIs action. Thanks, Anagha -----Original Message----- From: Anagha Kothurwar [mailto:anagha.kothur...@microsoft.com] Sent: Friday, April 08, 2011 4:00 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] ConfigureIIsExec getting called unexpectedly Hello All, I have a setup with 2 features - 1st feature installs our service and 2nd feature installs the IIS website. For installing IIS website I am using WIX IIS extension. Everything works great if I install both the features. But if I just install feature 1, I see that installer fails at "ConfigureIIsExec" since it cannot find the port for site ConfigureIIsExec: Error 0x8007000d: invalid port provided for web site: ConfigureIIsExec: Error 0x8007000d: failed while processing WebSites The component which installs IIS site is only included under feature 2. So I was expecting that when I select only feature 1 for installation, MSI wouldn't schedule any IIS related custom actions. Isn't that the case? Do I have to add explicit condition for ConfigureIIsExec to see if the feature 2 is getting installed. Thanks for help, Anagha ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users