Upgrade packages not recognized in group policy properties - Advanced Installer Community
wpa1160
Posts: 4
Joined: Tue Jan 25, 2011 3:42 pm

Upgrade packages not recognized in group policy properties

I created a simple test package by only adding one .EXE file to the Files and Folders > Application Folder section and created the package. No other changes have been made.

Upgrade steps found under http://www.advancedinstaller.com/user-g ... rades.html have been implemented (upgrade, no side-by-side install):
I simple replaced the .EXE file through another one, increased the product version to 1.1.0, selected "Major Upgrade" and re-created the new package.

The manual upgrade mechanism in Windows Explorer works: The first package is silently uninstalled by the second one.

Adding the packages to the GPO however does not work as intended: Both packages can be added but the second one does not list the first one as an upgrade (that has to be done manually).
Using other packages (like Adobe's Flash package install_flash_player_11_plugin_11.8.800.94.msi) list all old versions. Am I missing something?
Attachments
properties.png
properties.png (12.35 KiB) Viewed 3809 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Upgrade packages not recognized in group policy properti

Hello,

I'm not sure why this happens. Can you please make sure that both installation projects (upgrade and upgraded) have the same Upgrade Code? You can check this from "Product Details -> Product IDs" tab.

Also, you can take a look on our "Deploying a MSI through GPO" tutorial which could be useful for you.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Upgrade packages not recognized in group policy properti

Hello,

I've take a look on Adobe MSI installation packages and I've observed that in the "Upgrade" table are enabled only the following attributes (specified in the "Attributes" coulmn):
  • msidbUpgradeAttributesMigrateFeatures
    msidbUpgradeAttributesVersionMinInclusive
    msidbUpgradeAttributesVersionMaxInclusive
Can you edit your upgrade .aip (project file) as follows:
- Go to "Upgrades" page and enable "Customize Advanced Installer upgrade rules" option.
- Select the "OLDPRODUCTS" row and double click on it.
- In the "Product Info Tab" set a version (e.g 1.0.0) in the "Min Version" field.
- Check the "Include minimum version in range" option.
- Check "Include maximum version in range" option.
- Enable the "Detect and upgrade only the specified languages" option.
- Build and run your project.

and see if the behavior still persist?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wpa1160
Posts: 4
Joined: Tue Jan 25, 2011 3:42 pm

Re: Upgrade packages not recognized in group policy properti

I implemented the proposed settings and the package is now recognized by the GPO.

Thanks for your help!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Upgrade packages not recognized in group policy properti

You're welcome. I'm glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”