Page 1 of 1

Removal of extra files at uninstall

Posted: Tue Apr 01, 2008 5:20 pm
by selectoe
Hi I need to know how to add files to the uninstall list. My applicatio creates files when it runs, and my uninstaller does not delete them.

Posted: Wed Apr 02, 2008 10:52 am
by jimo
Try using "delete files recursive" immediately after Apply Uninstall.

Posted: Wed Apr 02, 2008 4:08 pm
by jimo
Use Call DLL and "RemoveDirectoryA" in kernel32.dll

Paste this into a script:

~InstallAware Clipboard Data~
~Call DLL Function~
~{3E74DD66-3CDA-4621-A4DA-20520D69803D}~
~kernel32.dll,RemoveDirectoryA,bool,LASTERROR,"pointer to string",$MYLEFTOVERDIR$,$~
~mIDEFunc.dll\\mEXEFunc.dll~

Posted: Wed Apr 02, 2008 4:52 pm
by selectoe
thanks.