Platform Ready Test doesn't find UpgradeCode

Got a problem you cannot solve? Try here.
Daniel Öberg
Posts: 9
Joined: Tue Apr 29, 2008 4:06 am

Platform Ready Test doesn't find UpgradeCode

Postby Daniel Öberg » Fri Aug 17, 2012 7:11 am

When running Microsoft Platform Ready Test Tool - Version 3.5.0.0 for Windows Server 2008 R2 the tool can not find the UpgradeCode and the test is failing.


Test case/Verification: TC1_2 - Is the Package Identity correctly configured?
======================================================================
Property Table must contain:
Manufacturer, ProductCode, ProductLanguage, ProductName, ProductVersion (major and minor)
Upgrade Table must contain:
UpgradeCode, VersionMin, VersionMax

MSI Package must contain an Upgrade Table.
At least one UpgradeCode must match an UpgradeCode in the Property Table.
VersionMin and VersionMax must be fixed if they are both 'null'.


Property Table:
PROPERTY: UpgradeCode
VALUE: null or empty

PROPERTY: Manufacturer
VALUE: InstallAware Software Corporation

PROPERTY: ProductCode
VALUE: {FA01A538-B54E-4D3D-9A26-6CCB49E294AE}

PROPERTY: ProductLanguage
VALUE: 1033

PROPERTY: ProductName
VALUE: XXX

PROPERTY: ProductVersion
VALUE: 1.0

Upgrade Table does not exist.

Running the same text on setup.exe instead works as it should. (Yes, of course I can see the upgrade code under project details in Installaware)

Seems like the msi packages are not created as Microsoft wants them. Any ideas?

BR,
Daniel

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

Re: Platform Ready Test doesn't find UpgradeCode

Postby FrancescoT » Mon Aug 20, 2012 7:15 am

Dear Daniel,

All of the required fields are populated there, please see my attached screenshots.
This is what I find when I do an uncompressed build on a Basic Setup and open the resulting MSI file.
upgrade code in property table.PNG
upgrade code in property table.PNG (60.41 KiB) Viewed 8570 times

upgrade table.PNG
upgrade table.PNG (53.33 KiB) Viewed 8570 times

The same happens, if you run a compressed build and inspect the MSI placed in the temporary direct of your target system.

Hope this helps you.

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

Daniel Öberg
Posts: 9
Joined: Tue Apr 29, 2008 4:06 am

Re: Platform Ready Test doesn't find UpgradeCode

Postby Daniel Öberg » Tue Aug 21, 2012 4:46 am

Agree it looks good in your screenshot, but if I do the same I lack the table shown in your second image.

I can see the UpgradeCode, but I don't see the table for it.
Installaware_UPGC.gif
Installaware_UPGC.gif (24.56 KiB) Viewed 8566 times


What I do is generate a compressed exe and then run the GP tool on it to get the msi. Then the msi seem to lack this information.

Daniel

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

Re: Platform Ready Test doesn't find UpgradeCode

Postby FrancescoT » Tue Aug 21, 2012 6:48 am

Dear Daniel,

as I said with my last reply;
The same happens, if you run a compressed build and inspect the MSI placed in the temporary direct of your target system.

When you create a compressed build, this wraps internally the MSI file effectively used by the installation.

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

ncgjka
Posts: 7
Joined: Thu Mar 09, 2006 3:13 am

Re: Platform Ready Test doesn't find UpgradeCode

Postby ncgjka » Thu Nov 13, 2014 2:50 am

Hi! I am probably stupid, but from your above discussion, what do you do about it? How do you get the Upgrade table to appear and thus make the MSI pass the Microsoft Platform Ready Test Tool. I can only see that you have established that the table is missing when creating compressed builds (to .exe). My question is, how do you include the Upgrade Table to such a build?

Or do you mean that that is not possible, and that i should buid an Uncompressed Directory Layout build to use in the Microsoft Platform Ready Test Tool test??

//Jens

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

Re: Platform Ready Test doesn't find UpgradeCode

Postby FrancescoT » Thu Nov 13, 2014 12:54 pm

Dear James,

a compressed setup EXE can't expose any MSI property, because it's an EXE file and not an MSI file.

Said that, you should use the un-compressed build layout.

Hope this helps you.

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 123 guests