File not restored after MSP uninstall - Advanced Installer Community
sagetuza
Posts: 8
Joined: Mon Dec 12, 2016 2:06 pm

File not restored after MSP uninstall

The file RTCmsg.xml is marked as "do not overwrite" while his parent folder is marked as "overwrite only if is older".
The MSI creates the file, the MSP updates the file, but after the MSP uninstall the file is not restored to his previous version.
Aip and log files can be found attached as a single zip file.

Thank you
Attachments
res.zip
(335.12 KiB) Downloaded 228 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: File not restored after MSP uninstall

Hello,

Please note this is the normal behavior. If you check the "Do not overwrite" option on your file it will not be modified on patch uninstall too. An alternative which you should use is the "Overwrite only if the existing file is older" option. In this case the file will be reverted to its initial state.

Also, as a side note, it seems that in the sent AIP setup project file the file you mentioned doesn't have checked the "Do not overwrite" option.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”