areimchen
Posts: 7
Joined: Thu Jul 28, 2016 11:53 am

Is there a limit for targets in a patch project?

Hi,

we have a problem creating a patch with more than 6 targets. The build process is crashing with following exception:
....
ERROR: Cannot create patch file for 'C:\Setups_V6\Handwerk\images\TemplateCl\Handwerk.exe' at 'C:\Users\AREIMC~1\AppData\Local\Temp\~pcw_tmp.tmp'.
ERROR: The Last Error Received is: 0x8 (8)
INFO: Temporary folder is about to be cleaned out and deleted: C:\Users\AREIMC~1\AppData\Local\Temp\~pcw_tmp.tmp
ERROR: Internal PatchWiz Error occurred.
ERROR: The Last Error Received is: 0x91 (145)
ERROR: During cleanup, could not delete the temporary folder: C:\Users\AREIMC~1\AppData\Local\Temp\~pcw_tmp.tmp.
ERROR: The Last Error Received is: 0x91 (145)
MsiMsp.exe failed to create the patch file.
Error details

Build finished because an error was encountered.
The Error details are:
MsiMsp.exe failed to create the patch file.

Advanced Installer 13.7 build 75982
*** Stack Trace (x86) ***

[0x75f696c2] RaiseException()
[0x01e55519] -----
[0x0113aa38] -----
[0x00a7c2f6] -----
[0x0113a6d8] -----
[0x00c732ba] -----
[0x00c732c9] -----
[0x00c72a6f] -----
[0x00a7adf4] -----
[0x00a75ed7] -----
[0x01e8e0e1] -----
[0x01e933cc] -----
[0x01711ff8] -----
[0x01712129] -----
[0x77220609] RtlSubscribeWnfStateChangeNotification()
[0x772205d4] RtlSubscribeWnfStateChangeNotification()
[0x008a0000] MODULE_BASE_ADDRESS
Best regards,

Alex
Dan
Posts: 4528
Joined: Wed Apr 24, 2013 3:51 pm

Re: Is there a limit for targets in a patch project?

Hello Alex,

No, there is no limit for targets in a patch project.

However, we were able to replicate the described behaviour when placing the "Upgraded Image" into "Targets Images". Can you please check to see if this is your case too? Just go to the Patch project, take a look at your targets images and verify there are no "Upgraded image" there.

Please let me know if this is your case too.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
areimchen
Posts: 7
Joined: Thu Jul 28, 2016 11:53 am

Re: Is there a limit for targets in a patch project?

Hi Dan,

no the upgraded image is not placed into target images.

Best regards,

Alex
Dan
Posts: 4528
Joined: Wed Apr 24, 2013 3:51 pm

Re: Is there a limit for targets in a patch project?

Hi Alex,

As I said, we've got the same error message as you when the "Upgraded Image" was placed into "Targets Images". Can you please take a closer look on your project? Can you please tell us if you can replicate the behaviour when creating a new patch project? If YES, can you please give us a detailed test case sceario?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
areimchen
Posts: 7
Joined: Thu Jul 28, 2016 11:53 am

Re: Is there a limit for targets in a patch project?

Hi Dan,

i have created a new project and could replicate this problem. An example project is available for download at the following link:
https://www.bluesolution.de/fileadmin/t ... DemoAI.zip

Best regards

Alex
areimchen
Posts: 7
Joined: Thu Jul 28, 2016 11:53 am

Re: Is there a limit for targets in a patch project?

Hi Dan,

could you replicate this behavior?

Best regards

Alex
areimchen
Posts: 7
Joined: Thu Jul 28, 2016 11:53 am

Re: Is there a limit for targets in a patch project?

Hi Dan,

setting the patch option "Include whole files only" solves this problem.

Best regards

Alex

Return to “Common Problems”