Our installer includes a folder with backup copies of three .NET dlls.  During 
installation the three dlls are added to the GAC by the MSI, but the backups 
are put in a "DotNet" folder under the install directory.
 
However, when testing the uninstall we discovered that the folder and the 
backup files are not removed. Here is the xml exerpt that deploys the dlls to 
the GAC and to the backup folder:  
 
<Directory Id="DOTNETDIR" Name="DotNet" src="folder1\DotNet"> <Component 
Id="NETObjectsBackup" Guid="D2E462C6-32EE-45ad-BB9E-8E35CBF1EC05" DiskId="1">  
<RemoveFile Id="remNETObjects" Name="*.*" On="both" />  <File Id="Servfile670" 
Name="blah.dll" Checksum="yes" src="folder1\DotNet\blah.dll" Vital="yes" />  
<File Id="Servfile672" Name="blah_2.DLL" LongName="blahblah2.dll" 
Checksum="yes" src="folder1\DotNet\blahblah2.dll" />  <File Id="Servfile674" 
Name="blah_3.DLL" LongName="blahblah3.dll" Checksum="yes" 
src="folder1\DotNet\blahblah3.dll" /> </Component> <Component Id="NETObjects1" 
Guid="D2E462C6-32EE-45ad-BB9E-8E35CBF1EC05" DiskId="1" SharedDllRefCount="yes" 
Location='local'>  <RemoveFile Id="remNETObjects1" Name="*.*" On="both" />  
<File Id="Servfile620" Name="blah.dll" Assembly=".net" KeyPath="yes" 
Checksum="yes" src="folder1\DotNet\blah.dll" Vital="yes" 
AssemblyManifest="Servfile620" /> </Component> <Component Id="NETObjects2" 
Guid="A3FC50C2-6CD8-4db7-8510-12F3CAF52DE0" Di
 skId='1' SharedDllRefCount="yes" Location='local'>  <RemoveFile 
Id="remNETObjects2" Name="*.*" On="both" />  <File Id="Servfile675" 
Name="blah_2.DLL" Assembly=".net" KeyPath="yes" LongName="blahblah2.dll" 
Checksum="yes" src="folder1\DotNet\blahblah2.dll" 
AssemblyManifest="Servfile675" /> </Component> <Component Id="NETObjects3" 
Guid="856b0aad-483e-46c3-916c-1dc04f05db26" DiskId='1' SharedDllRefCount="yes" 
Location='local'>  <RemoveFile Id="remNETObjects3" Name="*.*" On="both" />  
<File Id="Servfile677" Name="blah_3.DLL" Assembly=".net" KeyPath="yes" 
LongName="blahblah3.dll" Checksum="yes" src="blah\DotNet\blahblah3.dll" 
AssemblyManifest="Servfile677" /> </Component></Directory>
 
How can I get the backup folder and files to be removed during uninstall?
 
Thanks,g
_________________________________________________________________
With Windows Live for mobile, your contacts travel with you.
http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_mobile_072008
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to