Verbose log file should show you what APPLICTIONFOLDER points to. It's probably not what you expect.
On Fri, Jul 20, 2012 at 6:59 AM, Sven Barrho (Inxmail GmbH) < sven.bar...@inxmail.de> wrote: > > Hi, > > im facing trouble with util:removefolderex. > > If I install the application per-user, removefolderex works just fine and > as expected. > If I install the application per-machine, removefolderex works not, all the > files and folders which have been created after installation (under the > root-folder of > the application) are still there after uninstall. > > If the application is installed per-user or per-machine is choosen from > user > during install (Property ALLUSERS). > > The removefolderex is implemented as followed: > > <Property Id="APPLICATIONFOLDER"> > <RegistrySearch Key="SOFTWARE\$(var.manufacturer)\abc" Root="HKLM" > Type="raw" Id="APPLICATIONFOLDER_REGSEARCH" Name="Path" /> > </Property> > > <Feature.... > > <Component Directory="INSTALLDIR" Id="CleanupMainApplicationFolder" > Guid="5f78af6b-b839-1b4d-9d4f-79cf7826f749"> > <RegistryValue Root="HKLM" Key="SOFTWARE\$(var.manufacturer)\abc" > Name="Path" Type="string" Value="[INSTALLDIR]" KeyPath="yes" /> > <!-- We need to use APPLICATIONFOLDER variable here or RemoveFolderEx > will not remove on "install". --> > <util:RemoveFolderEx On="uninstall" Property="APPLICATIONFOLDER" /> > </Component> > > > Any suggestion? > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching http://RobMensching.com LLC ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users