Hello everyone.
To delete files/folders in a custom action one can use VBScript, using "FileSystemObject.DeleteFolder path, force", However, if the file/folder is locked/in use this operation fails and makes Windows Installer report an error in the uninstallation of our software.
Is there a mechanism in AI to delete files/folders from inside a custom action's script in a way "compatible" with Windows Installer, meaning it tries to remove the items and schedules the in-use items to be deleted upon next reboot, or something similar?
FOLLOW US
Get the latest news in Application Packaging