You could make the WebSite part of a Component that is permanent.  That would 
leave the WebSite after uninstall.

The use case really is around "taking control" of a WebSite when you put it in 
a Component or "finding an existing" WebSite when not in a Component.

Just messing around with someone else's WebSite is not a supported use case.

-----Original Message-----
From: Yan Sklyarenko [mailto:y...@sitecore.net]
Sent: Thursday, January 15, 2009 00:31
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to switch the Home Directory of a Default 
WebSiteon install?

Thanks for reply. But ConfigureIfExists can only be specified if a
WebSite is a child of a Component, which is not a desired behavior. The
site should neither be installed nor uninstalled, just configured with a
new Home Directory.

Any other ideas?

-- Yan

-----Original Message-----
From: Jeremy Lew [mailto:j...@liquidmachines.com]
Sent: Wednesday, January 14, 2009 6:15 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to switch the Home Directory of a Default
WebSiteon install?

Do you have ConfigureIfExists="yes"?

-----Original Message-----
From: Yan Sklyarenko [mailto:y...@sitecore.net]
Sent: Wednesday, January 14, 2009 10:54 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to switch the Home Directory of a Default Web
Siteon install?

Hello WiX Community,

I'm sorry if this is a well-known thing, just failed to find this out.
I'd like to switch the Home Directory of the Default Web Site on install
to my INSTALLDIR.

Does anyone know how to do this?

If I reference the default web site in iis:WebSite element and specify
Directory attribute pointing to my INSTALLDIR, nothing happens. No
errors and nothing is changed in IIS.

Thanks in advance.

-- Yan

------------------------------------------------------------------------
------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to