Page 1 of 1
Patch and RTF file
Posted: Mon Aug 11, 2014 4:36 pm
by twit
I have an original install, patch 1, and now I'm building patch 2.
Both patch 1 and patch 2 only update an exe, a pdb and an rtf file.
The patch built successfully, but when run, I'm getting the following error when it's trying to copy the updated rtf file.
"Error applying patch to file C:\Config.Msi\PTB50.tmp. It has probably been updated by other means, and can no longer be modified by this patch."
When I click Ignore, both the updated exe and pdb are successfully replaced, but the rtf file is not.
Any ideas?
Re: Patch and RTF file
Posted: Tue Aug 12, 2014 11:07 am
by FrancescoT
Dear Twit,
for sure there is a problem with your patch sequence.
The error that you receive indicates that probably, the installed file(s) to be patched has been modified and differs from the one used when creating the patch.
Honestly I am not quite sure as you, that the error is triggered when the package tries to patch the RTF file.
I may suggest you to distribute a full update instead, in order to reset any possible sequence corruption and then to start your future patch sequence from there.
Hope this helps you.
Regards
Francesco Toscano
InstallAware Support
Re: Patch and RTF file
Posted: Tue Aug 12, 2014 2:18 pm
by twit
I'll do that as a last resort.
After additional testing, here's what I found out:
- v2.0 base install, followed by v2.1 patch, followed by v2.2 patch - works fine (the rtf file is updated with each patch).
- v2.0 base install, followed by v2.2 patch - works fine (the rtf file is updated to v2.2).
- v2.1 base install, followed by v2.2 patch - DOESN'T WORK
I'm wondering if I've specified something wrong when building the v2.2 patch. I have both the v2.0 and v2.1 base setups defined on the Patches screen.
Re: Patch and RTF file
Posted: Tue Aug 12, 2014 2:49 pm
by twit
OK; after even further testing... my bad. I discovered the rtf file was different between the v2.1 base install and the v2.1 patch.
So, I guess my only option is to do v2.2 as a full install.
Re: Patch and RTF file
Posted: Wed Aug 13, 2014 10:48 am
by FrancescoT
I'm happy you found the source of your issue.
Regards