. . .archives reference to "Conditional Statement Syntax"
http://msdn2.microsoft.com/en-us/library/aa368012.aspx documentation provided
the details for the following ConfigureIIs condition that covered both install
and uninstall cases.
<Custom Action="ConfigureIIs" After="InstallFiles">(Not Installed And
&Sites=3) Or (Installed And !Sites=3)</Custom>
From: Robert O'Brien
Sent: Sunday, April 20, 2008 9:18 AM
To: '[email protected]'
Subject: RE: msi errors out looking for iis during installs where feature that
does nothing with iis is only one selected
The ConfiguratIIs custom action override below worked to bypass looking for IIS
on install but when I uninstall it errors out looking for it still. Is there a
way to write the custom action condition for the Remove case where I check that
the "Sites" feature or "Site1" component is installed and ony enable
ConfigureIIs processing in those cases?
<Custom Action="ConfigureIIs" After="InstallFiles">(Not Installed And
SitesFeature Enabled ???) Or (Remove And SitesFeature Installed ???)</Custom>
From: Robert O'Brien
Sent: Saturday, April 19, 2008 10:16 AM
To: '[email protected]'
Subject: RE: msi errors out looking for iis during installs where feature that
does nothing with iis is only one selected
Searching the archives it appears that with wix3 SKIPCONFIGUREIIS is no longer
used and one simply adds a sequence setting override for the ConfigureIIs
custom action that only executes it if my feature that deploys sites and vdirs
is enabled, e.g. set to 1 versus 0. Is this correct?
<InstallExecuteSequence>
<Custom Action="ConfigureIIs"
After="InstallFiles">PROPERTYTHATENABLESSITESFEATURE=1</Custom>
.
.
.
From: Robert O'Brien
Sent: Friday, April 18, 2008 5:14 PM
To: '[email protected]'
Subject: msi errors out looking for iis during installs where feature that does
nothing with iis is only one selected
I have a service deliverable msi which has the features "databases" |
"services" | "sites" | "tools". Only the "sites" feature makes use of
wixIisExtension.dll. When I run my msi with only the "databases" feature
selected it fails when it finds that it cannot talk to iis with the error
message
Action start 16:16:08: ConfigureIIs.
ConfigureIIs: failed to get IID_IMSAdminBase Object
MSI (s) (78!2C) [16:16:08:790]: Product: My Service Deliverable -- Error 26001.
Cannot connect to Internet Information Server. (-2147221164 )
Error 26001. Cannot connect to Internet Information Server. (-2147221164
)
Is there a change I can make to my wix sources so that I can carry out feature
installs like "databases" where no iis dependencies exist w/o having to have
iis installed on the host because in our datacenter its not allowed to have iis
components on a databases host.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users