Page 1 of 1

Uninstall issue

Posted: Fri Jun 30, 2017 6:05 am
by SITL
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

Re: Uninstall issue

Posted: Fri Jun 30, 2017 11:00 am
by FrancescoT
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