WiX searches for websites only using the IP Address/Port/Host header
combination. Change any one of those and the IIS custom action won't find
it.

 

Unfortunately there's no hidden field that the user cannot change that WiX
can save a unique identifier in. The custom action should probably generate
the web site ID itself, and store this as a mapping to the internal
identifier somehow. Again unfortunately it's hard to come up with a generic
place to store this mapping - presumably it would have to be in the registry
somewhere, but where? Placing it under
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{prod
uctGUID} seems dirty somehow, and asking the user to store it would be
messy.

 

-- 

Mike Dimmick

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Moti Regev
(Gmail)
Sent: 04 July 2007 21:04
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] iis:WebSite and iis:WebAddress

 

Hello

In the iis:WebSite there is  need to supply the  iis:WebAddress with port
number (80 in most case).
But if this port changed after installation in the iis configuration the
uninstall fail with the following error:
'Error 26002. Failed to read IIsWebSite table.   (-2147023728         )'
Any solution?

Thx,
Moti

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to