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!

Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Is it possible to remove the check for different version of

hello,

I'm trying to mimique the functionality of the existing installer (built with Installshield 6) for a product in order to avoid having to re-train users and support personel as well a not make our deployment system more complex than necessary.

Currently, the installer does not check anything about current version. It will overwrite whatever is in the target folder and the user can run as often as he wants. An older version of the same installer can be used without problem on the same system and with the same destination as a more recent version (that is done when users want to revert to e previous version).

Also, we're releasing new installation of a very frequent basis (about once or twice a week) so having a new version number for the installer each time we do so is impractical.

Is there a way to reproduce this behaviour with AI ? If I attempt to do the same thing, I can't install any newly built package without manually uninstaling the previous one first.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Is it possible to remove the check for different version

Hi,

To achieve this, you can go in the "Product Details" page and uncheck the "Register product with Windows Installer" option. In this case the product will not check for any installed version and it will be installed as many time as the user wants.

However, as long as the product will not be registered with Windows Installer, it will not be added in the "Add/Remove Programs" list and it will not have an uninstall option.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Re: Is it possible to remove the check for different version

Hello,

Thank you for your answer. Isn't it possible to have both ? havi ng the program listed in the add/remove program is necessary for MS to validate the program and it's what the users are expecting.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Is it possible to remove the check for different version

Hi,

There are two more solutions as described below (they may have some drawbacks):
1. You can go in the Media page and check the "Uninstall a package with the same version (if found)" option. This option will let you install over the same version of the product, not over a newer version.

2. You can go in the Upgrades page, check the "Customize Advanced Installer upgrade rules" option, create a new upgrade rule to replicate the rule related to the "OLDPRODUCTS" property, but write the "255.255.65535.65535" value in the "Max. Version" field. In this case you can install the product over any other version (older or newer).

Let us know if any problem appears.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Re: Is it possible to remove the check for different version

Hello,

That sounds like a winner, thanks a lot.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Is it possible to remove the check for different version

You're welcome. Just let us know if you have any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Re: Is it possible to remove the check for different version

Hello,

I have tried the suggested fix and it doesn't work: I created the upgrade rule as suggested:

Image

Unfortunately, I am still getting the error about not being able to upgrade the product when the same package has been previously used (I need to update the version number in order to perform the installation)
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Is it possible to remove the check for different version

Hi,

Did the error about not being able to upgrade the product appear even if you changed the "Product Code" of the product? Please note that two products with the same "Product Code" cannot be installed on a machine.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Re: Is it possible to remove the check for different version

Hello,

The error disappeared after I changed the product code.

I see. I guess there is no way to change this behavior, right ?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Is it possible to remove the check for different version

Hi,

Indeed, this behavior cannot be changed, the "Product Code" should always be changed for a new update.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Re: Is it possible to remove the check for different version

Thank you.

just to clarify: what exactly does "product code" mean ?
  • The product "version number" (as seen in the first tab of "product details")
  • The "upgrade code" (as seen in the third tab of "product details", "product IDs")
  • Something else ?
Thank you again
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Is it possible to remove the check for different version

Hi,

The "Product Code" is unique for each version of a product (for each installation package). It is found in the "Product IDs" tab. The "Upgrade Code" is unique for each product (application), but it is the same for all versions of that product.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”