detect if current version was original or a patch?

E

EP

I have 3 version of my product, v1/v2/v3.

v1 and v2 have been released. v2 included a v1->v2 patch.

After release we found a bug in the v2 patch that makes the system unstable
and would cause a v2->v3 patch to fail.

v1 original install is able to patch to v3, and a v2 original install can
patch to v3.

My question is, can a custom action in my v3 patch detect whether the v2
installation it is updating was an original installation or a result of the
buggy v2 patch?
 
J

Jorma Svensson

EP said:
I have 3 version of my product, v1/v2/v3.

v1 and v2 have been released. v2 included a v1->v2 patch.

After release we found a bug in the v2 patch that makes the system unstable
and would cause a v2->v3 patch to fail.

v1 original install is able to patch to v3, and a v2 original install can
patch to v3.

My question is, can a custom action in my v3 patch detect whether the v2
installation it is updating was an original installation or a result of the
buggy v2 patch?

If the bug is in the form of an incorrect file, maybe you could try
searching for that file using the AppSearch / Signature tables?

If not, maybe the ListOfPatchGUIDsToReplace property in the PCP file
would help you?

/ Jorma
 
P

Phil Wilson

If you updated the ProductVersion each time, from something like 1.0.0.0 to
1.0.0.1, 1.0.0.2 etc, you could get the ProductVersion of the installed
product.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top