Removal of extra files at uninstall

Got a problem you cannot solve? Try here.
Post Reply
selectoe
Posts: 5
Joined: Mon Mar 31, 2008 8:21 pm

Removal of extra files at uninstall

Post 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.
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post by jimo »

Try using "delete files recursive" immediately after Apply Uninstall.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post 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~
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
selectoe
Posts: 5
Joined: Mon Mar 31, 2008 8:21 pm

Post by selectoe »

thanks.
Post Reply