Hi, I found the solution for my problem.
I found out, that the uninstall-progress worked all fine if I start the uninstall-progress from - System / Programs / Uninstall Software - cmd with admin-rights (msiexec /i myfile.msi) - (double-click) msi when the software was installed per-user (not per-machine) But NOT if I start the uninstall-progress from: - (double-click) msi when the software was installed per-machine - cmd without admin-rights (msiexec /i myfile.msi) - also I was asked for admin-rights during uninstall What fixed this problem was adding the Secure="yes" attribute on the property-tag which retrieves the app-path from registry. Example: <Property Id="APPLICATIONFOLDER" Secure="yes"> <RegistrySearch Key="SOFTWARE\$(var.manufacturer)\abc" Root="HKLM" Type="raw" Id="APPLICATIONFOLDER_REGSEARCH" Name="Path" /> </Property> I figured out that that has something to do with passing the attributes-value to the server, but what exactly is going on is beyond my understanding of MSI. If anyone could explain this behaviour would be nice, but I'm happy without, too (:- Thanks Am 23.07.2012 09:25, schrieb Sven Barrho (Inxmail GmbH): > Hi, > > thanks for reply and the help. > I looked into the log-file and I'm a little bit confused. > > If I call msiexec without admin-rights, msi-installer will > ask me to enter my admin-user and password during > uninstall-progress. > In this case, deleting of new files and folders doesn't work. > > If I call msiexec with admin-right, msi-installer works > just as expected and every new file and folder gets deleted. > > Why is this? In both cases I grant the installer admin-rights. > > Can anyone explain whats going on there and how to fix this? > > Thanks > > Am 21.07.2012 05:16, schrieb Rob Mensching: >> 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 >>> >> > -- Software Development ------------------------------------------------------ PRÄMIERT als Bester Arbeitgeber! www.inxmail.de/great-place-to-work ------------------------------------------------------ Inxmail GmbH | Wentzingerstr. 17 | 79106 Freiburg Tel: +49 761 2969790 | Fax: +49 761 2969799 sven.bar...@inxmail.de | www.inxmail.de facebook.com/inxmail.gmbh | twitter.com/inxmail_gmbh HRB Freiburg 5870 | USt.-ID: DE198371679 Geschäftsleitung: Martin Bucher, Peter Ziras ------------------------------------------------------------------------------ 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