Matt:
I just posted some code to do what you currently want to do.  It also
has code to do what you are wanting to do next.  :-)

I have just posted the custom action code (C# - not VB sorry).  I also
have dialogs and a complete WiX based UI to go with it, should you want
to use it.

This code checks for all the web sites that are available in IIS and
populates a combo box with the information.  Allows the user to select
the site, the Virtual Directory name etc.  The real trick that
complicates the code is that the CA is only called if the current
install is adding a feature that requires the web site.  (Also, note
that you must run the msi as elevated on Window Vista and up to
enumerate the websites.)

https://skydrive.live.com/?cid=6372e0958f1d1d72&sc=documents&id=6372E095
8F1D1D72%21184#

----------------------------------------------------------------------
Roy Chastain

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to