jminsa
Posts: 25
Joined: Mon Oct 29, 2018 5:45 pm

Repair option does not work if "Do not delete extracted MSI and CAB files" is not checked

Hi,

The only way I have found to make the repair option work, has been by checking the "Do not delete extracted MSI and CAB files" option.
The problem I have with that option is that when the program is uninstalled the extracted MSI and CAB files are never deleted.

If I update a version of my program then I have two sets of MSI and CAB files, and so on.

I would like to uninstall the files when the program is uninstalled, for that I have tried to add the directory where the files are kept to the Files and Folders section and set the following properties:
EditFolderProperties.png
EditFolderProperties.png (24.7 KiB) Viewed 2333 times
But the folder is not deleted. What am I missing?

regards
Jose
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Repair option does not work if "Do not delete extracted MSI and CAB files" is not checked

Hi Jose,

I apologize for the delayed reply.

The problem you encounter may be similar to the one described on the "Patch created but won't install" thread because the repair and the patch mechanisms are quite the same.

That folder may not be removed because of the "Do not overwrite existing files" option that is set for it. That option always performs a backup at the beginning of the install/uninstall and a restore at the end. Can you select the "Overwrite..." option and see if the folder gets removed during the uninstallation?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”