Unfortunately, the WiX toolset does not provide a standard CustomAction to
support this scenario today. Thus you'd need to write your own. Writing
CustomActions a bit of reading the MSI SDK to understand all the scenarios.
In your case you want to use Properties to pass the data in and out of the
CustomAction.
Good luck.

virtually, Rob Mensching - http://robmensching.com

On Fri, Oct 16, 2009 at 10:21 PM, Kris Rodenhausen <snowd...@yahoo.com>wrote:

> I am trying to get the header and port for the default website. My
> application fails its install using wix if the user has changed the
> port or header to something that is not the default. How do I go about
> getting this information in Wix?
> I see that I can use wildcards for
> the IP address, but Port and Header do not allow this right? I can get
> the values using a vb.net module , but how do I pass back the value
> from a vb.net module to a custom action?
>
> Below is within the product tags:
>
> What I have now:
>  <iis:WebSite Id="DefaultWebSite" Description="Default Web Site" >
>      <iis:WebAddress Id="AllUnassigned" Secure="no" IP="*" Port="80"
> Header=""/>
>  </iis:WebSite>
>
> I get Failed while processing WebVirtualDirs. (-214724894) error if the
> Port or Header is not set to the defaults or is not set correctly... Help!
>
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to