cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sderouchie
Level 3

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?
Labels (1)
0 Kudos
(7) Replies
sderouchie
Level 3

Is anybody else having this issue?
Is anybody else doing this successfully?
0 Kudos
Ray_Portrait
Level 6

I am also having this exact problem. Did you ever get past this issue using IS 2010?
0 Kudos
sderouchie
Level 3

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.
0 Kudos
Ray_Portrait
Level 6

That's unfortunate. I have raised an incident with support and will update this thread if I get a feasable solution:(
0 Kudos
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

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.
0 Kudos
Ray_Portrait
Level 6

I got this file from IS Support. Replace the file in program files with this file and your patches will start working for SAB 2010. :cool:

Let me know if this worked as well for you as it did for me!

Ray
0 Kudos
sderouchie
Level 3

This update looks like it works. Thanks!
0 Kudos