Hello - I have a wix 2 build proj that is deployed in two places. My
development machine is Windows XP and the deployment server which is
Windows Server 2003.

 

There is an issue with the WebAppPool I have included within the
installer as it causes an error when the built .msi is installed on my
development machine. (Since Windows XP has IIS 5.1 which does not
support AppPool creation - or so I am to believe).

 

I would like to create a condition within my .wxs.template to only
install the WebAppPool into my WebApplication if the target machine
supports the functionality.

Is anyone able to suggest a solution?

 

Currently my code is:

 

     <Component Id="WebHonestyAppPoolComponent"
Guid="5E34B9B4-8C18-4d3e-AE91-AFE652261DD0">                      

                    <WebAppPool Id="WebHonestyAppPool"
Name="WebHonestyAppPool" RecycleMinutes="120" />

                  </Component>

 

      <Component Id="WebHonestyWebsiteVirtualDirComponent"
Guid="964317EE-B27B-4df0-9FB4-6A80798563AF">

        <WebVirtualDir Id="WebHonestyWebsiteVirtualDir"
Alias="<!--%=packageName%-->" Directory="TARGETDIR"
WebSite="DefaultWebSite">

          <WebApplication Id="WebHonestyWebsiteVirtualDir"
Name="<!--%=packageName%-->" WebAppPool="WebHonestyAppPool"/>

        </WebVirtualDir>

      </Component>

     </Directory>

    <WebSite Id="DefaultWebSite" Description="Default Web Site">

 

Thank you very much

Reidp

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to