Solved

How to create an updater/installer in InstallShield

Posted on 2009-07-13
4
288 Views
Last Modified: 2013-11-14
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?
0
Comment
Question by:ttitus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Expert Comment

by:nhenny2009
ID: 24844549
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.  
0
 

Author Comment

by:ttitus
ID: 24844596
It should be doing a major upgrade.  What should be changed if it is a major upgrade?
0
 
LVL 3

Accepted Solution

by:
nhenny2009 earned 500 total points
ID: 24845039
http://documentation.installshield.com/robo/projects/installshield12helplib/MajorMinorSmall.htm

Check out this link it will simplify things greatly for you.

Best Wishes.
0
 
LVL 12

Expert Comment

by:jmcmunn
ID: 24849159

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.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
If you don't know how to downgrade, my instructions below should be helpful.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question