Configuring Default IIS Website

2 messages Options
Embed this post
Permalink
David Largen

Configuring Default IIS Website

Reply Threaded More More options
Print post
Permalink

Hello all.  I am trying to simply configure the default IIS Website and change the default port from 80 to 8080 and the directory for the default website to another directory used in my WiX installer.  I've been trying to use the <iis:WebSite> commands to no avail.  If I modify any of the properties such as Port it thinks I am trying to create a new WebSite instead of referencing the existing one.  I also tried creating a new WebSite but it will not start unless I stop the old site.  The format I used for trying that was:

 

<iis:WebSite Id="XpAppServer" Description="Xpress AppServer" Directory="WebSite">

  <iis:WebAddress Id="AllUnassigned" Port="8080"/>

</iis:WebSite>

 

Does anyone have any insite into what I am trying to accomplish?

 

Thanks,

Dave

 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Teobald

Re: Configuring Default IIS Website

Reply Threaded More More options
Print post
Permalink
If you create your iis:WebSite element in a component it will try to create a new website, but if you declare it outside it will look at the existing website. Try the later one.


David Largen wrote:
Hello all.  I am trying to simply configure the default IIS Website and
change the default port from 80 to 8080 and the directory for the default
website to another directory used in my WiX installer.  I've been trying to
use the <iis:WebSite> commands to no avail.  If I modify any of the
properties such as Port it thinks I am trying to create a new WebSite
instead of referencing the existing one.  I also tried creating a new
WebSite but it will not start unless I stop the old site.  The format I used
for trying that was:



<iis:WebSite Id="XpAppServer" Description="Xpress AppServer"
Directory="WebSite">

  <iis:WebAddress Id="AllUnassigned" Port="8080"/>

</iis:WebSite>



Does anyone have any insite into what I am trying to accomplish?



Thanks,

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users