Creating License/Trial Versions of Program to Run Simultaneously

I have a program in VS-2008 that will be used as both licensed and trial versions. The licensed and trial versions are installed in different Program File (x86) directories and I want to be able to run both licensed and trial versions simultaneously. After performing the following steps, the licensed and trial versions of the program still seem to be “linked” – I can’t install an older version of the licensed program after I’ve installed a newer version of the trial program.

I am running InstallShield 2011 Express as a command line with IsCmdBld.exe.

My arguments for IsCmdBld include the following parameters:
-y: Product Version
-z: ProductCode
-z: UpgradeCode

In VS, I build the solution with a specific AssemblyFileVersion (11.1.1.1), and then I build licensed and trial installation programs in InstallShield:

License (TS_L_11_1_1_1.exe):
Product Version = 11.1.1.1
Product Code = GUID_a
Upgrade Code = GUID_L
Installation Directory: c:\Program Files (x86)\CIW\TS

Trial (TS_T_11_1_1_1.exe):
Product Version = 11.1.1.1
Product Code = GUID_b
Upgrade Code = GUID_T
Installation Directory: c:\Program Files (x86)\CIW\TS\Trial

In VS, I build the solution with a new AssemblyFileVersion (12.1.1.1), and then I build licensed and trial installation programs in InstallShield:

License (TS_L_12_1_1_1.exe):
Product Version = 12.1.1.1
Product Code = GUID_c
Upgrade Code = GUID_L
Installation Directory: c:\Program Files (x86)\CIW\TS

Trial (TS_T_12_1_1_1.exe):
Product Version = 12.1.1.1
Product Code = GUID_d
Upgrade Code = GUID_T
Installation Directory: c:\Program Files (x86)\CIW\TS\Trial

Note that each build, each version, and each application in InstallShield has a unique Product Code. All licensed product builds use the same Upgrade Code (GUID_L); all trial product builds use the same Upgrade Code (GUID_T).

I install TS_T_11_1_1_1.exe, and then install TS_T_12_1_1_1.exe. These are installed in c:\Program Files (x86)\CIW\TS\Trial. Version 12 overwrites version 11, as expected.

I then try to install TS_L_11_1_1_1.exe. While I would expect it to be installed in c:\Program Files (x86)\CIW\TS, I get an error message indicating that a newer version of this program is already installed (referring to TS_T_12_1_1_1).

What am I missing to identify the licensed and trial versions of the program as totally different programs? I want to be able to run any version of the licensed program at the same time as any version of the trial version.

Thank you in advance for your help.

George
CIW_GeorgeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vishnub_sCommented:
Hi George,
    If I understand correctly, you want to install licensed and trial version like totally two different products.
In this case, product code as well as upgrade code should be different for licensed & trial installers, Windows Installer will identify a package whether it is new or update for existing product based on the upgrade code.
 
Make sure upgrade code is unique for license & trial versions, that should resolve the issue.

Regards,
Vishnu

0
CIW_GeorgeAuthor Commented:
Cockpit error.

My InstallShield command line interface was not correctly assigning the Upgrade Code GUID.  Once the problem was fixed, both the license and trial versions of the program can be installed, upgraded, and run independently.

Vishnu - I believe what you described is exactly how I outlined the various program conditions in my original post.  Thank you anyway for double-checking.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CIW_GeorgeAuthor Commented:
Once I was able to identify the problem as being on my end, there was nothing further to resolve.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.