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!

manuel_armas
Posts: 23
Joined: Fri Jun 13, 2014 6:20 pm

Upgrade previous build/instances

Hi,

I have scenario here..
8-2-2014 4-36-27 AM.png
8-2-2014 4-36-27 AM.png (172.72 KiB) Viewed 4588 times


and also, may I know how the installer check for the previously installed build that will show to the list of version that will get upgraded/maintained.
I believe it is looking looking for the upgrade code, may I know how/where the installer checks the upgrade code?


Thanks,
Manny
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Upgrade previous build/instances

Hello Manuel,
This is the second time running the installer.. and it show this dialog which is I think right, but it does not showing when running succeeding builds
Please keep in mind that the existence of multiple instances is verified by the .EXE setup file. So, please make sure you are running the .EXE file and see if the behavior still persist?
You can also take a look on the Multiple Instances article which may be useful to you.
I believe it is looking looking for the upgrade code, may I know how/where the installer checks the upgrade code?
The FindRelatedProducts MSI action will search all packages on the target machine in order to find anywhere the Upgrade Code property matches this value. In other words, this code needs to match the UpgradeCode of your previous product(s) so this MSI knows which products to consider for upgrade.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
manuel_armas
Posts: 23
Joined: Fri Jun 13, 2014 6:20 pm

Re: Upgrade previous build/instances

Hi Dan,

I'm running exe setup file, and sometimes the instance dialog shows but sometimes don't.
I want to check or test it manually, I mean where can I see those upgrade codes in windows system, say windows registry? I still have this issue on some of our installer,

Thanks,
Manny
manuel_armas
Posts: 23
Joined: Fri Jun 13, 2014 6:20 pm

Re: Upgrade previous build/instances

HI,

I just want to follow up about my inquiry here.. is there a way to check the upgrade code of a installed application? this is verify if my upgrade code does not change.

Thanks,
Manny
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Upgrade previous build/instances

Hi Manny,

If you want to search for the UpgradeCode GUID in the registry you can search in the following registry location:
HKEY_CLASSES_ROOT\Installer\UpgradeCodes

Please note that the GUID of the UpgradeCode is not stored as it is in the Product Info Tab from the Upgrades page. The GUID is re-packed. A packed GUID can be obtained by applying a transform to a standard GUID. This transform performs the following operations:
  • removes the curly braces and separating dashes from a standard GUID
  • writes each group of the first three groups of hexadecimals characters in a standard GUID in reverse order
  • switches every two characters in the fourth and fifth group in a standard GUID
Let's consider the following example:
Original Product Code:
{12345678-ABCD-WXYZ-1234-ABCDEFGHIJKL}
The packed GUID:
87654321DCBAZYXW2134BADCFEHGJILK

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”