Uninstall issue

Got a problem you cannot solve? Try here.
SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Uninstall issue

Postby SITL » Fri Jun 30, 2017 6:05 am

Dear Francesco,

Thanks for all the help.

This is regarding Uninstall problem after applying patch.
Both Base project & Patch is working fine on the development machine.(Win 7, 64 bit )
Our QA team has reported one issue regarding Un-Installation.

This isssue is on Windows 10 machines.
My base project is working as expected, both installation and Un-Installation is fine.
However, after applying patch files in the installed folder & shortcuts remains intact but registry cleanup is happening.
(Patch is created with Manual mode)

Question:
After Apply Uninstall, If SUCCESS equals COMPLETE,
Can i use Delete Files (*.*) from TARGETDIR ?
what is the proper way to delete sub folders ?

Appreciate your advice / hints .
Thanks & Regards
SITL

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Uninstall issue

Postby FrancescoT » Fri Jun 30, 2017 11:00 am

Dear SITL,

as already discussed with you several times, I suggest you once again, to compare your Base/Patch projects and code, with those included with the Patch sample. If you have chance to verify the sample, you will see that everything gets removed on UnInstall.
https://www.installaware.com/forums/viewtopic.php?f=2&t=8697

You can use the "Delete Files Recursive" (to delete all matching files in subfolders as well) or " Delete Files ", in combination with the "RemoveDirectory" WinApi to delete the root folder.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10457

For more details about the above commands, please consult the IA documentation. For more details about "RemoveDirectory" WinApi, please consult the official Microsoft documentation.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 59 guests