This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Error 1328.Error applying patch file...
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 19, 2009
02:46 PM
Error 1328.Error applying patch file...
Project: Basic MSI
I created a minor update through the patch design window and there were only four changes: a new registry entry, two new program files, and a file to be removed. When I build the patch, I get 0 errors and 0 warnings. When I run the patch, I get the error "Error 1328:Error applying patch file...." If I click ignore, the registry entry is added, the file I wanted to remove is gone, and one of the two files I wanted to update is updated. The other (the actual program executable) is unchanged. I can't figure out why this one file isn't updated, especially when I get 0 errors or warnings when I build the patch. Can anyone help?
It seems like every time I try to build a patch, something goes wrong, and it's different every time. I can't believe how temperamental these patches are, it's ridiculous, and very frustrating.
I created a minor update through the patch design window and there were only four changes: a new registry entry, two new program files, and a file to be removed. When I build the patch, I get 0 errors and 0 warnings. When I run the patch, I get the error "Error 1328:Error applying patch file...." If I click ignore, the registry entry is added, the file I wanted to remove is gone, and one of the two files I wanted to update is updated. The other (the actual program executable) is unchanged. I can't figure out why this one file isn't updated, especially when I get 0 errors or warnings when I build the patch. Can anyone help?
It seems like every time I try to build a patch, something goes wrong, and it's different every time. I can't believe how temperamental these patches are, it's ridiculous, and very frustrating.
5 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2009
03:47 PM
The 1328 error message continues, "Error applying patch to file [2]. It has probably been updated by other means, and can no longer be modified by this patch..." As a sanity check, could it be that the installed file to be patched has been modified relative to the file used when creating the patch? (See, for example, this Microsoft KB article: http://support.microsoft.com/kb/315063, and InstallShield KB article Q107088.)
For testing, does the minor upgrade packaged as a full installation---rather than as a patch---work?
Also, is this the first patch to the product (or to that file, anyway)?
For testing, does the minor upgrade packaged as a full installation---rather than as a patch---work?
Also, is this the first patch to the product (or to that file, anyway)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2009
03:51 PM
This is the first patch for the project. Turns out when I included the whole file in the patch the error went away. The strange thing is I have an almost identical project (64-bit as opposed to 32-bit) and when I patched the 64-bit, it worked without me having to include the whole file in the patch. I don't quite understand it, but at least I have them both working now.
Thanks.
Clark
Thanks.
Clark
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2009
03:59 PM
I guess I didn't address your other questions...
I saw the Microsoft KB article you linked to, but it seems this refers to an error with Office XP service pack 1. At any rate, I don't believe the file to be patched had changed relative to the new file because I was testing on a Virtual Machine and would run the patch immediately after installing the previous full version.
If I remember correctly, running the patch as a full installation did work. Like I said, the problem is fixed now, so I don't even think I have the bad patch file stored anywhere to test with. Thanks for your response.
Clark
I saw the Microsoft KB article you linked to, but it seems this refers to an error with Office XP service pack 1. At any rate, I don't believe the file to be patched had changed relative to the new file because I was testing on a Virtual Machine and would run the patch immediately after installing the previous full version.
If I remember correctly, running the patch as a full installation did work. Like I said, the problem is fixed now, so I don't even think I have the bad patch file stored anywhere to test with. Thanks for your response.
Clark
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 08, 2009
11:56 PM
Hi,
1. Extract the released installer files, and copy them to the relavent folder before creating the base uncompressed.
2. This error is due to the different time stamp of the files that are in released installer and the files that are in uncompressed installer.
I mean if you have re compiled the base installer (rebuild) after the date of the release, the base installer has different time stamp then the files of latest compiled.
Regards,
Arun Kumar K
1. Extract the released installer files, and copy them to the relavent folder before creating the base uncompressed.
2. This error is due to the different time stamp of the files that are in released installer and the files that are in uncompressed installer.
I mean if you have re compiled the base installer (rebuild) after the date of the release, the base installer has different time stamp then the files of latest compiled.
Regards,
Arun Kumar K
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 16, 2010
10:24 AM
Hi
I think I have this problem - with the compressed installers. But I'm not sure if I understand the fix you mentioned above.
I have always kept the same base. I only update the base with new files for every patch - and I built the new installer with these base files+new files. Then I do the patch diff between the original installer and the new installer - to get the new patch.
Its been working fine for the first 4-5 patches. But now I'm seeing this error in the last two. And it happens during installation of the patch.
Let me know about your fix.
Thanks,
Minu
I think I have this problem - with the compressed installers. But I'm not sure if I understand the fix you mentioned above.
I have always kept the same base. I only update the base with new files for every patch - and I built the new installer with these base files+new files. Then I do the patch diff between the original installer and the new installer - to get the new patch.
Its been working fine for the first 4-5 patches. But now I'm seeing this error in the last two. And it happens during installation of the patch.
Let me know about your fix.
Thanks,
Minu
