And check verbose logs when you run into problems. In my experience 95% of the time it'll tell you what you're doing wrong or at least point you in the right direction.
Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: 12 May 2010 23:55 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files not removed upon uninstallation Use a virtual machine and revert back after your install/uninstall tests! Phil Wilson -----Original Message----- From: Kristoffer Danielsson [mailto:kristoffer.daniels...@live.se] Sent: Wednesday, May 12, 2010 3:16 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Files not removed upon uninstallation Thanks for the hint! It turned out there were some uninstall entries left in the registry (though I could not find it in the control panel). I really hope this is merely an effect of the development phase: installing/uninstalling packages with the same version using different package IDs. > Date: Thu, 13 May 2010 10:07:33 +1200 > From: mic...@acromania.nl > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Files not removed upon uninstallation > > I've had the same problem until I found out there was still a listing for my > installed program under "Add/Remove Programs". Uninstalling that one fixed it > for me. The setup log showed something like "not removing because existing > program depends on it" or something similar (can't remember exactly). > > Regards, > > Michel Verhagen > > On 13/05/2010 08:54, Kristoffer Danielsson wrote: > > Hi, > > > > > > > > This is really frustrating. I had a working MSI, but realized I was > > violating some MSI rules (used the same KeyPath for multiple components) > > and decided to clean it up. Now, when following the guidelines, my > > components are not removed from the system. > > > > > > > > Installation is per-user only, and there are 5 components. Each component > > has a KeyPath of its own. Here is a snippet of my Documentation component: > > > > > > > > <DirectoryRef Id="DocumentationDir"> > > > > <Component Id="Documentation" Guid="MYGUID"> > > > > <RegistryKey Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" > > Action="create"> > > > > > > > > <!-- > > > > NOTE: I tried this too... > > > > <RegistryKey Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" > > Action="createAndRemoveOnUninstall"> > > > > --> > > > > <RegistryValue Name="InstalledDocumentation" Value="1" Type="integer" > > KeyPath="yes" /> > > > > </RegistryKey> > > > > <CreateFolder Directory="DocumentationDir" /> > > > > <CreateFolder Directory="ProgramMenuDir" /> > > > > <CreateFolder Directory="ProgramMenuDocumentationDir" /> > > > > <RemoveFolder Id="RemoveDocumentationDir" Directory="DocumentationDir" > > On="uninstall" /> > > > > <RemoveFolder Id="RemoveProgramMenuDir" Directory="ProgramMenuDir" > > On="uninstall" /> > > > > <RemoveFolder Id="RemoveProgramMenuDocumentationDir" > > Directory="ProgramMenuDocumentationDir" On="uninstall" /> > > > > <File Id="ProgramHelp" Name="$(var.ProgramHelp.TargetFileName)" DiskId="1" > > Source="$(var.ProgramMementoHelp.TargetPath)"> > > > > <Shortcut Id="startmenuProgramMementoHelp" > > Directory="ProgramMenuDocumentationDir" Name="Program Help" > > Description="Program Help." /> > > > > </File> > > > > <File Id="Manual" Name="$(var.Manual.TargetFileName)" DiskId="1" > > Source="$(var.Manual.TargetPath)"> > > > > <Shortcut Id="startmenuManual" Directory="ProgramMenuDocumentationDir" > > Name="Manual" Description="Program Manual." /> > > > > </File> > > > > </Component> > > > > </DirectoryRef> > > > > > > > > Previously, all my components had the same KeyPath (one registry value > > under HKCU). That worked if I set Action= > > > > "createAndRemoveOnUninstall". Now, upon uninstallation, all my files are > > left intact but the KeyPath values in registry are indeed cleared! Is my > > registry corrupt somehow? > > > > > > > > I really don't get it. I've read the documentation too many times now. What > > am I missing? > > > > > > > > Thanks! > > > > _________________________________________________________________ > > Surfa tryggt med Internet Explorer 8 > > http://www.microsoft.com/sverige/windows/internet-explorer/default.aspx > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users _________________________________________________________________ Dela kalender. Se möjligheterna med Hotmail! http://www.microsoft.com/sverige/windows/windowslive/thenewbusy.aspx ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at Portland House, Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users