SillyPutty1000
Posts: 18
Joined: Tue Jul 07, 2009 8:45 am

Product Codes and Upgrade Codes

I have a question on Product Codes and Upgrade codes. Here are the facts.
--------------------------------------------------------------------------------------------------------------------------
Product is in 23 languages and I have added the languages in the Setup. Default lang is English.
I have a Trial Version, Full Version and then Additional Content Packs, (Pack 1, Pack 2, Pack 3, Pack 4)
I have seperate installers for 32 bit and 64 bit.
I have a total of 12 AIP project files, (32/64 of Trial, Full and Packs 1-4)
---------------------------------------------------------------------------------------------------------------------------
+ If Trial is installed, then Full version should not install and display the msg that says "This product is already installed" - Product Code & Upgrade Code is same for both Trial and Full.
+ If Trial is installed, then Packs 1 to 4, should not install and display a msg, "Missing product....You need the Full version to install, etc" - (What to do for Product Code and Upgrade Code?)
+ If Full is installed, then User can install ANY Packs without any problem - - (What to do for Product Code and Upgrade Code?)
+ What to do for the Product Codes listed in Project IDs tab? Do I have to change each one for all projects?
---------------------------------------------------------------------------------------------------------------------------
Ive attached my Excel Spreadsheet as an attachment to show you.

? Also, Where is Package Code? Does AI, not have Package Codes?
ProductCodes&UpgradeCodes.zip
(50.63 KiB) Downloaded 360 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Product Codes and Upgrade Codes

Hello,

- My suggestion is you use multiple builds (Media page). Create a few builds.
- Go to Organization and create a few features now. Select one feature
- in the lower right pane under the Builds section you can select which builds the particular feature is going to be included in. You can include a feature in the full version build and not include it in a Trial for example.
- if the project is built, it will generate .msi builds that will have the same Product Code and Upgrade Code. Implicitly, no two .msi builds can't be installed at the same time on one machine, just as you requested.
- for the content packs, you can create searches that search the registry for indication as to whether the installed product (if found) is full or trial. Of course, this registry key will be written by your full/trial installer beforehand

Let me know if this helped.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
SillyPutty1000
Posts: 18
Joined: Tue Jul 07, 2009 8:45 am

Re: Product Codes and Upgrade Codes

Hello:
I tried your suggestions and its not accomplishing what I need, partially it is but not fully.
Here are my requirements:

Code: Select all

1. If Trial is installed, then Full version should not install .
2. If Trial is installed, then Packs 1 to 4, should not install.
3. If Full is installed, then User can install ANY Packs without any problem
4. Packs 1 to 4 should not install if Full is not installed.
Based on your suggestion, only Number 1 if fullfilled.

I built 3 setups using Builds. Trial, Full and Pack1
+ If I install Trial then Full or Pack1 do not install. - PERFECT!
+ If I uninstall Trial and then install Full, it installs - PERFECT.....but then Pack1 does not install. - NOT WORKING
+ If I uninstall Full and then try to install Pack1, it installs - NOT WORKING.

Can I change the product code for a Build?

suggestions?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Product Codes and Upgrade Codes

Hi,
+ If I uninstall Full and then try to install Pack1, it installs - NOT WORKING.
For this you can try to set a custom launch condition in which you check to see if the full version is installed.
If not the condition is false, therefore the package cannot install, otherwise (Full version installed) it can continue the installation process.
Can I change the product code for a Build?
Here is what you can try:
-- go to Table Editor page in Advanced Installer
-- in the left pane select the table "Property" from the list
-- in that table you shall find the property "ProductCode" to which you can set its value as desired
-- also on the toolbar of that page you will see a combobox from which you can select the desired build

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”