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

Reply via email to