/build/static/layout/Breadcrumb_cap_w.png

How to determine if Upgrade is started

Hello.
I have a simple application running on Windows OS. It consists from a couple of binaries and a merge module (VC run time). I packed them into .msi package.
On one my test system I cannot install this package: I always got Upgrade dialog which appears only if "IS_MAJOR_UPGRADE" property is set to "Yes" - this is my setting.
On that test system I've been searching in registry for any part of Product Code GUID, Package Code GUID and UpgradeCode GUID. I didn't found them in registry. Also, I've been searching for any folder or file on %SystemRoot% folder (using GUID or package file name and even package properties as a search phrase). I found nothing at all.

IS_MAJOR_UPGRADE property is not set in a package (for example by some Custom action) at all.
Why is this property set to "Yes" if I do not have my application installed and therefore Upgrade should not came up. This is happening only on one my test system.

What is the right procedure or right property to check to determine, that Upgrade will be proceed?

Thanks in advance
Andreo

0 Comments   [ + ] Show comments

Answers (5)

Posted by: MicrosoftBob 16 years ago
Blue Belt
0
Try logging the install and search for the property in the log file where it is being set.

I think you can create a log by adding /L*VX LOG.TXT to the msiexec command line.
Posted by: jamsek19 16 years ago
Orange Senior Belt
0
Thanks for replay MicrosoftBob.
Well, that's the problem. I tried to install with full log file creation (/l*v ...) and in log file I got lines which shows that mentioned GUIDs (UpgradeCode, PackageCode and ProductCode) are not found in the system and in the same action IS_MAJOR_UPGRADE property is set to YES. Why? I do not understand why this property's value is changed to Yes (at the beggining has NO!).

Can someone help me, please?

Thanks in advance.
Posted by: MicrosoftBob 16 years ago
Blue Belt
0
Post the relevant log text in a message inside of a code tag. Be sure to get the all the lines from the module that is setting the property.

Or upload the whole log here: www.senduit.com

Or both. [;)]
Posted by: bkelly 16 years ago
Red Belt
0
Actually, it is okay to post it right here-- just be sure to use the CODE tags. The toolbar button when writing a post looks like: <%

Doing this places the text in a scrollable area and keeps the "mess" it would otherwise create to a minimum.

Just be sure there is no license or personal information displayed in the log!
Posted by: jamsek19 16 years ago
Orange Senior Belt
0
Hello.
Here is the insert from my log file:
[font="courier new"]MSI (c) (10:80) [16:34:26:727]: Invoking remote custom action. DLL: C:\DOCUME~1\haugol\LOCALS~1\Temp\MSI483.tmp, Entrypoint: SetAllUsers
InstallShield 16:34:26: Begin SetAllUsers()
InstallShield 16:34:26: Getting records from Upgrade table
InstallShield 16:34:26: UpgradeCode: {BDF01DD7-2556-466C-994E-94F2D0FC854C} MinVersion: MaxVersion: 1.5.576 Language: Attributes: 257
InstallShield 16:34:26: Checking related product {327EADCD-8E2C-43BC-A734-EAF131909106}
InstallShield 16:34:26: {327EADCD-8E2C-43BC-A734-EAF131909106} ***Related***
MSI (c) (10!A0) [16:34:26:774]: PROPERTY CHANGE: Adding IS_MAJOR_UPGRADE property. Its value is 'Yes'.
InstallShield 16:34:26: No related products for UpgradeCode {BDF01DD7-2556-466C-994E-94F2D0FC854C} found
InstallShield 16:34:26: End SetAllUsers()
Action ended 16:34:26: ISSetAllUsers. Return value 1.
MSI (c) (10:D4) [16:34:26:774]: Doing action: AppSearch
Action 16:34:26: AppSearch. Searching for installed applications
Action start 16:34:26: AppSearch.
MSI (c) (10:D4) [16:34:26:774]: Note: 1: 2205 2: 3: AppSearch
MSI (c) (10:D4) [16:34:26:774]: Note: 1: 2228 2: 3: AppSearch 4: SELECT `Property`, `Signature_` FROM `AppSearch`
Action ended 16:34:26: AppSearch. Return value 0.
MSI (c) (10:D4) [16:34:26:774]: Doing action: LaunchConditions
...
...
Action ended 16:34:27: RemoveStatusLog. Return value 1.
MSI (c) (10:D4) [16:34:27:211]: Doing action: FindRelatedProducts
Action 16:34:27: FindRelatedProducts. Searching for related applications
Action start 16:34:27: FindRelatedProducts.
MSI (c) (10:D4) [16:34:27:211]: FindRelatedProducts: could not read ASSIGNMENTTYPE info for product '{327EADCD-8E2C-43BC-A734-EAF131909106}'. Skipping...
Action ended 16:34:27: FindRelatedProducts. Return value 1.
MSI (c) (10:D4) [16:34:27:211]: Doing action: DetectMaintainance
Action 16:34:27: DetectMaintainance.
Action start 16:34:27: DetectMaintainance.

s
Why is set to Yes?

Thanks in advance
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ