Patch and RTF file

Got a problem you cannot solve? Try here.
twit
Posts: 4
Joined: Sat Feb 09, 2008 10:41 am

Patch and RTF file

Postby twit » Mon Aug 11, 2014 4:36 pm

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?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Patch and RTF file

Postby FrancescoT » Tue Aug 12, 2014 11:07 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

twit
Posts: 4
Joined: Sat Feb 09, 2008 10:41 am

Re: Patch and RTF file

Postby twit » Tue Aug 12, 2014 2:18 pm

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.

twit
Posts: 4
Joined: Sat Feb 09, 2008 10:41 am

Re: Patch and RTF file

Postby twit » Tue Aug 12, 2014 2:49 pm

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.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Patch and RTF file

Postby FrancescoT » Wed Aug 13, 2014 10:48 am

I'm happy you found the source of your issue.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 137 guests