Make sure all the guids in your wix are unique. Thanks. Shankar
Chen Ganir wrote: > > Hi. > > I've been working with wix 2.0 for some time, and have come across a very > disturbing issue. I'm creating an MSI from a main setup.wxs file, which > includes several other wxi files, and is "linked" with other fragments. > The installation folder in the msi is defined like this : > > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="ProgramFilesFolder" Name="PFiles"> > <Directory Id="CompanyName" Name="SmartL" > LongName="$(var.AppProviderName)"> > <Directory Id="INSTALLDIR" > LongName="$(var.ProductName)" > Name="TLinkVo"> > </Directory> > </Directory> > </Directory> > <Directory Id="ProgramMenuFolder" Name="PMenu" > LongName="Programs"> > <Directory Id="ProgramMenuDir" Name="ProdName" > LongName="$(var.ProductName)" /> > </Directory> > <Directory Id="DesktopFolder" Name="Desktop" /> > <Directory Id="SystemFolder" Name="System" /> > </Directory> > > The folders are not empty. i have a few components which install data into > the installdir and to the system, and program menu. each of those > components and features are in external fragments. > > the directory in PMenu, the Prodname is removed correctly when > uninstalling the product. The directory INSTALLDIR fails to be removed for > some reason. at first, i believed the problem was with my custom actions. > after eliminating those CA's and still getting the same result, i > suspected the setup.exe which launches the msi, and might not have been > terminated by the time the folder needs to be deleted. this is not the > case as well - by the time MSIEXEC loads the msi, the setup.exe is already > closed. > > In addition, the CA on installation creates two files, which are deleted > on the CA for uninstall. both install and uninstall CA's are running prior > to the copy files section of the msi. or the remove files section. no > files are left in the folder after installation, and all sub folders are > erased as well. the error i'm getting in the log file is 2911, which means > that for some reason the folder is locked. > > i've also tried to add to one of the components the <CreateFolder/> > Directive, followed by the RemoveFolder on "both" statement. this did not > help as well. > > i would appreciate any assitance with this bizzare behavior. > > thanks. > > :clap::clap::clap::clap::clap::working::confused: -- View this message in context: http://www.nabble.com/Uninstall-keeps-install-folder-and-does-nor-remove-it.-tp7061537p16599706.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users