MSI Upgrade/Product Code Discrepancies

Got a problem you cannot solve? Try here.
tmiller11
Posts: 5
Joined: Wed Oct 14, 2009 6:35 am

MSI Upgrade/Product Code Discrepancies

Postby tmiller11 » Thu Jul 18, 2013 8:56 am

I am building an msi with InstallAware 15 so that it can be deployed via SCCM by our corporate IT department. The trouble is that the product and upgrade codes that are displayed in the IA project properties are different than what the IT department is seeing. This is causing problems as they are trying to deploy via active setup and it requires us to write a registry key containing that GUID.

I have created a vbscript that extracts those codes and displays them for my testing purposes. I have attached screenshots of what IA shows and what the script outputs.

Please advise.
Attachments
Script.PNG
Script.PNG (4.55 KiB) Viewed 8564 times
InstallAware.PNG
InstallAware.PNG (6.07 KiB) Viewed 8564 times

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

Re: MSI Upgrade/Product Code Discrepancies

Postby FrancescoT » Thu Jul 18, 2013 9:42 am

Dear User,

the Product Code and the Upgrade code used by your package are those visible under the IA IDE.
However, the Windows Installer Engine creates some additional registry entries when the setup package is distributed as MSI.
These entries are based on random values generated by the MSI engine directly ( ... not controlled by IA).

Honestly, I don't understand where is the problem with them ... you should always refer to those reported by IA.

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

tmiller11
Posts: 5
Joined: Wed Oct 14, 2009 6:35 am

Re: MSI Upgrade/Product Code Discrepancies

Postby tmiller11 » Mon Jul 22, 2013 7:49 am

We are presently trying to deploy our software via active setup and cannot use the codes provided by InstallAware. We would like to be able to write these values to the registry for the active setup. Below is an MSDN article:

http://blogs.msdn.com/b/aruns_blog/archive/2011/11/02/10176957.aspx

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

Re: MSI Upgrade/Product Code Discrepancies

Postby FrancescoT » Mon Jul 22, 2013 11:36 am

Dear User,

with doing a quick google search (... I'm not an Active Setup expert and honestly I never used it), I found some useful links that you may find interesting.

The following link describes a sample that releases an Active setup with embedding an EXE setup (... the effective User installation requirements) within an MSI package. The sample describes the steps using a Wise project, but I believe it can easily adapted in order to do the same with IA.
http://wisepackager.com/KJ/Active_Setup_and_how_to_implement_it.txt

For what I understand Active Setup works with comparing not only the PRODUCT CODE but with the Application name as well.

Anyway, Active Setup seems to be a deprecated technology and not document as well;
http://helgeklein.com/blog/2012/03/get-rid-of-active-setup/

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