Link to home
Start Free TrialLog in
Avatar of Tim Titus
Tim TitusFlag for United States of America

asked on

How to create an updater/installer in InstallShield

I'm a complete InstallShield noob and need some help with an InstallShield project I was given.

If I change the source files to new files and then build the MSI file, it won't let me run it on my test computer (it says that the program is already installed).

This InstallShield project should install a new version from scratch if nothing is installed, or update an existing version.

What do I need to change to get it to perform an update if an earlier version is installed?
Avatar of nhenny2009
nhenny2009

You need to start by looking at your upgrade possibilities...if you are going to use the same product code then you can select to remove the previous install before installing the new version of your installer.  
Avatar of Tim Titus

ASKER

It should be doing a major upgrade.  What should be changed if it is a major upgrade?
ASKER CERTIFIED SOLUTION
Avatar of nhenny2009
nhenny2009

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

You can control how the major upgrade works under the Installation Designer by going down to the Upgrades node in the tree (under the Media folder) and double checking the options here.  Someone may have set it to specifically disallow the upgrade if a previous version exists.

Also, if component GUIDs changed or the package/upgrade codes are not set correctly Installshield is going to give these messages (or worse yet mangle your install).  I definitely suggest reading up on all of the Installshield documentation you can (surprisingly the IDE has a pretty decent help included) because doing upgrades can be tricky especially if you were not the original author of the projects.

You can get most of the original GUIDs and information about the structure of the original project from an MSI using Orca if you do not have access to the original project.