If things aren't being uninstalled, it's typically because Windows Installer
still thinks they're referenced.

Assuming you haven't marked the components as Permanent - in which case
Windows Installer will never remove them - it's probably the legacy shared
DLL reference count. Whatever you used to use to install these DLLs may well
have left a count behind.

In passing I'll note that the System32 folder is one of those locations that
Windows Installer will initialise the shared DLL reference count, if not
already present. Installing in private locations does not do this. You are
strongly recommended not to install your own components in System32 unless
absolutely required. If you want to share a component among multiple
installers of your own, create a folder under [CommonFilesFolder], but note
that both the definition/composition and GUID of the component MUST be
identical in all installers. If you don't care about sharing the binary,
place the DLL in your program folder.

I would strongly advise against using regsvr32 /u. You should rely on
Windows Installer to undo any registration when the components are
uninstalled. The continuing presence of the registry entries is a symptom,
not a cause.

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexei
Sent: 07 August 2007 10:28
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] DLLs and uninstalls


Hey guys, I'm still struggling installing some DLLs...well - uninstalling
some DLLs
I've managed to get the fragments out of tallow, and to link my installer
and it even seems to work.

However when I uninstall the application the registry entries remain, and
the files aren't removed from the WINDOWS\system32 directory. Am I doing
something wrong or is this the way it's supposed to work? I've not really
had much experience when it comes to setup development.

I'm thinking of calling regsvr32 /u for each of the DLLs at the install and
uninstall to make sure that the DLLs installed on the target machine are
unregistered before the new ones are installed and that they are also
unregistered upon uninstall. Therefore I'd make sure the registry entries
are removed.
Are there any drawbacks to this?

Thanks, Alexei
-- 
View this message in context:
http://www.nabble.com/DLLs-and-uninstalls-tf4229019.html#a12030825
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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


-------------------------------------------------------------------------
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