Hi Udayk,
I believe you added an extra
not to this affirmation:
After Uninstall the package ROOT APPDIR and StartMenuFolder should not be deleted.
In this case, this question makes sense:
How could delete root APPDIR and StartMenuFolder after Uninstallation.
The answer is during an uninstall, Windows Installer removes only the data registered into the MSI file. All other data created by custom actions, by the installed application or by the user is not registered in the MSI, therefore it will not be removed. Another reason these folders are not removed could be that they got modified after installation on the target machine.
If you want to also delete this residual data, you need to use the "Uninstall Cleanup" wizard available from the context menu when a folder is selected in the
Files and Folders Page.
P.S. I deleted your other similar thread.
All the best,
Mihai
FOLLOW US
Get the latest news in Application Packaging