danc81
Posts: 18
Joined: Tue Oct 09, 2007 8:46 am

Removing folders on uninstall

Hi,

I would like to be able to remove a specific folder on uninstallation of our software. We would like to do this using an external DLL which displays the Windows progress (SHFileOperation) while deleting but on Windows XP64, the installer crashes with a DEP warning. Is there a way we can do this without the DEP warning?

Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Removing folders on uninstall

Hi,

I'm not sure why you are receiving a DEP warning. You can try running the custom action with the "Deferred with no impersonation" option in the Custom Action Properties page. This way the custom action will run under the local system account with full privileges.

If this doesn't solve the problem, can you please send us a screen-shot with the error message to support at advancedinstaller dot com? Also, please attach the AIP file you are using and a verbose log of the install.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”