WiX only looks at the combination of IP address(es), port number, and Host
header. If any of those have been changed post-installation, the custom
action may either not uninstall or uninstall the wrong site.

 

The problem here is that IIS's metabase schema does not offer anywhere for
WiX to put a cookie that the user cannot subsequently edit (there is a
Comment field but that's user-editable). In theory, WiX should generate the
site number and store it elsewhere (e.g. in the registry), but the current
WiX schema doesn't allow you to specify a registry path to store it in.

 

-- 

Mike Dimmick

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee
(Volt)
Sent: 10 August 2007 21:27
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wierd IIS issue with Wix install/uninstall

 

I am currently installing 4 sites packaged with WiX. I have it installing
app_pools, sites and the necessary files and file structures with each of
these 4 on the same server. I noticed some weird behavior today,
particularly in uninstallation.

 

When I go to uninstall one of my sites, its not deleting the right metabase
path.

 

So for instance, I install SiteA, SiteB, SiteC, and SiteD. When installing
they are installed in W3SVC/2, 3, 4 and 5 respectively. (I don't know why
they are always sequential starting at the lowest possible number, but that
seems to be a feature of WiX). When uninstalling SiteC (which was installed
at W3SVC/4) it is attempting to uninstall the metabase path at W3SVC/2.

 

I've caught it doing this a couple times now and I would like to know A)
where does it look to determine where the site was installed at and B) how
to fix/prevent this.

 

Thanks 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to