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
- :
- Re: BuildPCPFile method failing
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
‎Mar 11, 2010
02:41 PM
BuildPCPFile method failing
I am using a Perl script to automate the generation of patches. When using InstallShield 2010, calling BuildPCPFile is failing.
The log file contains the following:
***** Log starting: 2010-03-11 14:40:27 *****
INFO: Using Pcp Path: M:\Wasabi\Installation\Patches\EOEE\Patch.pcp.
INFO: Using Temporary Directory: C:\DOCUME~1\WAS4-B~1\LOCALS~1\Temp\1\~pcw_tmp.tmp.
ERROR: Internal PatchWiz Error occurred.
ERROR: The Last Error Received is: 87
INFO: Temporary folder is about to be cleaned out and deleted:
ERROR: During cleanup, could not delete the temporary folder: .
ERROR: The Last Error Received is: 2
ERROR: Internal PatchWiz Error occurred.
ERROR: The Last Error Received is: -1072803327
PERF INFO: Total Patch Creation Time: 1 ms
**************************************
Notes:
- If I run MsiMsp.exe utility, then it generates the MSP file without errors or warnings
- If I go back and use IS12 and run BuildPCPFile, it generates the update without errors or warnings
Any ideas?
The log file contains the following:
***** Log starting: 2010-03-11 14:40:27 *****
INFO: Using Pcp Path: M:\Wasabi\Installation\Patches\EOEE\Patch.pcp.
INFO: Using Temporary Directory: C:\DOCUME~1\WAS4-B~1\LOCALS~1\Temp\1\~pcw_tmp.tmp.
ERROR: Internal PatchWiz Error occurred.
ERROR: The Last Error Received is: 87
INFO: Temporary folder is about to be cleaned out and deleted:
ERROR: During cleanup, could not delete the temporary folder: .
ERROR: The Last Error Received is: 2
ERROR: Internal PatchWiz Error occurred.
ERROR: The Last Error Received is: -1072803327
PERF INFO: Total Patch Creation Time: 1 ms
**************************************
Notes:
- If I run MsiMsp.exe utility, then it generates the MSP file without errors or warnings
- If I go back and use IS12 and run BuildPCPFile, it generates the update without errors or warnings
Any ideas?
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 01, 2010
09:11 AM
Is anybody else having this issue?
Is anybody else doing this successfully?
Is anybody else doing this successfully?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2010
05:22 AM
I am also having this exact problem. Did you ever get past this issue using IS 2010?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2010
07:44 AM
No, I never did get a response to this. Currently, I'm using IS12 just for that part. I really would like to have a resolution for this.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2010
08:22 AM
That's unfortunate. I have raised an incident with support and will update this thread if I get a feasable solution:(
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2010
12:43 PM
This issue was originally reported in work order IOA-000053172 and was caused by changing the API we call in MSI's patchwiz.dll. I have attached a hotfix that should resolve this behavior. To apply the fix:
1. Create a backup copy of patch.dll in \Program Files\InstallShield\2010\System.
2. Extract patch.dll from the attached zip to \Program Files\InstallShield\2010\System.
3. Try building your patch again with the automation method BuildPCPFile.
Please let us know if you see any issues with this fix.
1. Create a backup copy of patch.dll in \Program Files\InstallShield\2010\System.
2. Extract patch.dll from the attached zip to \Program Files\InstallShield\2010\System.
3. Try building your patch again with the automation method BuildPCPFile.
Please let us know if you see any issues with this fix.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 30, 2010
01:01 PM
This update looks like it works. Thanks!
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)