Error applying patch

Got a problem you cannot solve? Try here.
SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Error applying patch

Postby SITL » Tue Jul 11, 2017 5:54 am

Dear Francesco,
Thanks for all help.
Both base project and patch project are working fine.
However, two issues are reported by QA Team.
I tried my best before posting it here...

(Sir, You have told me earlier regarding patch creation
& also i have read the document https://www.installaware.com/installaware_patching.pdf
So, I'm skipping the basic steps, settings, build, install etc.,)

Issue 1. Error applying patch to file C:\Config.Msi\PT5418.tmp (error message is attached)
(this error is very consistent on Win 7, 64 bit OS . Let's consider this as only case.
because on other operating systems, it's very minimal)

NOTE : I'm sure our files are not changed by any other means.
No other instance is running.
just installed the product and
after few seconds, if we try to apply the patch we are getting this error.
and log file is not created. i have specified it as a parameter "/l C:\PatchLog.txt"

Issue 2. For patch, we are using Manual mode & No silent install.
There is a shortcut (My Product Updates)on the start menu,
If the user clicks on it & after downloading the patch, the user has clicked cancel.
And again, if the user tries to run apply the patch by clicking on the shortcut - My product updates,
We are getting the message - No updates are available at this point in time.

Appreciate your comments.
SITL
Attachments
UpdateCapture.GIF
UpdateCapture.GIF (12.72 KiB) Viewed 2212 times

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Error applying patch

Postby FrancescoT » Wed Jul 12, 2017 5:51 am

Issue 1.
For what I see, it seems that you are not sequencing your patch correctly. The error reports that you are trying to apply a patch to an installed product where;

1- a different patch build have been already applied to the installed product.
If this the case, this is self explaining. You tried to apply a patch where a more recent patch build has been already applied.

or,

2- the installed product version (the specific build of the product) doesn't reflect the "product build" expected by the patch.
If this the case instead, the product reference specified with the patch project, it doesn't match the product found installed. This typically happens when a "certain build of base project" has been used as patch reference, while a different "build of base project" has been then used to install the product.

***
Anyway for both cases, the error is telling you that your patch is not sequenced correctly.

As I suggested you several times already, please carefully review the following topics. These discuss useful information on how to avoid common errors when creating a patch. Specifically with the first topic, it's discussed how patches have to be sequenced to correctly handle different builds and versions of a product.

http://www.installaware.com/forum/viewtopic.php?f=2&t=9656
http://www.installaware.com/forum/viewtopic.php?f=2&t=8697

Issue 2.
This is not an issue and it's in this way by default. If the user decides to not apply the update, the same update will be no longer listed.

At any rate, this can be modified if you prefer. You may fully customize the update script (and dialogs) to inject your business logic - filtering updates that are served by your product editions, languages, subscription status, and more.
For more detailed information, please review the IA documentation concerning the "Web Updates" topic.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 60 guests