problem creating patch file - Page 2 - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ivo_sol
Posts: 16
Joined: Tue Jul 07, 2009 11:30 am

Re: problem creating patch file

Hello,
I’m getting the next error output:
___________________________________________________________________________________________________________
.
.
.
INFO Comparing Files: G:\Temp\ptch_tmp\Setup_TSK_1\CSWIN\ALComp.dll G:\Temp\ptch_tmp\Setup_TSK\CSWIN\ALComp.dll...
INFO Comparing bytes...
ERROR: Failed to fetch from a view
ERROR: The Last Error Received is: 259
INFO: Temporary folder is about to be cleaned out and deleted: C:\Users\Ivo_2\AppData\Local\Temp\~pcw_tmp.tmp
ERROR: Internal PatchWiz Error occurred.
ERROR: The Last Error Received is: 145
ERROR: During cleanup, could not delete the temporary folder: C:\Users\Ivo_2\AppData\Local\Temp\~pcw_tmp.tmp.
ERROR: The Last Error Received is: 145
ERROR: Internal PatchWiz Error occurred.
ERROR: The Last Error Received is: -1072803425
___________________________________________________________________________________________________________

Can you give me any hints for the cause?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: problem creating patch file

Hello,

Is drive G a network drive? Do you have access to those locations?
Please try this on another machine and let us know how it went.
If you still can not troubleshoot the issue, please send the msi packages' aip project files to support at advancedinstaller dot com so we can study them.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
kevhen
Posts: 5
Joined: Tue Feb 16, 2010 11:32 pm

Re: problem creating patch file

I get this error when trying to create a patch with 2 different msi files using the trial version. My co-worker is able to create the patch with his full version of Advanced Installer but the patch doesn't seem to work. Any ideas? I will keep reading through what you have posted on this forum, thanks,

ERROR: TargetImages.Target = 'iConstruct_1': PackageCode {90C4D613-4DBB-4AAA-896E-5DF67EF57F23} is not unique.
kevhen
Posts: 5
Joined: Tue Feb 16, 2010 11:32 pm

Re: problem creating patch file

My co-worker who is able to create the patch, can't get it to work. We are wondering since we use Dotfuscator if that is causing the problem.
kevhen
Posts: 5
Joined: Tue Feb 16, 2010 11:32 pm

Re: problem creating patch file

I created a new project with just a messagebox with header V1 and created the msi file and then changed the header to V2 and created a second msi. Then I created a patch file . msp from the two msi's. I installed the first msi and ran it and the message box displayed with V1 in the header. I tried to run the patch msp file and it came back saying "The upgrade patch cannot be installed by Windows installer service because the program to be upgraded may be missing, or the upgrade patch may be a different version, etc". This is without any obfuscation. What am I doing wrong? Thanks for any replies!
kevhen
Posts: 5
Joined: Tue Feb 16, 2010 11:32 pm

Re: problem creating patch file

I was able to create a patch and could apply it but needed to set the version numbers from 1.0.0.0 to 1.0.0.1 so that it wasn't considered a major release. Is that the answer then?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: problem creating patch file

Hello,

The two .msi's from which the patch is created need to have different version numbers.
You might want to check out these guides from our documentation:
http://www.advancedinstaller.com/user-g ... patch.html
http://www.advancedinstaller.com/user-g ... ch-ca.html

You also need to make sure ALL the patch rules are followed:
http://www.advancedinstaller.com/user-g ... tches.html
Otherwise your patch won't work as expected.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
kevhen
Posts: 5
Joined: Tue Feb 16, 2010 11:32 pm

Re: problem creating patch file

I am able to get the patch to work on a small project using an .exe but on our larger project using a dll it still gives this error. I am using 1.0.0 for the first version and then 1.0.1 for the second version and then I create the patch. But when I apply the patch I still get this error when applying to the dll:

"The upgrade patch cannot be installed by Windows installer service because the program to be upgraded may be missing, or the upgrade patch may be a different version, etc."
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: problem creating patch file

Hello,

Please send us the patch's build log.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”