0

I am creating installer using InstallShield 12 and would like to give option to user, say a checkbox whether user want to uninstall or keep the previous version and could install the new version.

Do anyone having any idea how could I achieve the above?

I added a check box on a dialog and added a property and if user selects it then uninstall the previous version otherwise go ahead with new version without uninstalling the previous version.

user967400
  • 53
  • 5

1 Answers1

0

What I think you are describing is referred to in the MSDN documentation to as Installing Multiple Instances of Products and Patches. You will need to author an Instance Transform (basically a product code transform) because if a product code remains unchanged, only one instance can be installed in the machine context and only one instance can be installed in each user context.

There is some information how to author and apply instance transforms here:

Authoring Multiple Instances with Instance Transforms

Installing Multiple Instances with Instance Transforms

Mark Rovetta
  • 691
  • 6
  • 16
  • Thanks for your response.I am trying to fetch the existing version using property and then using unInstallApllication().But unInstallApplication() is not working.Do you have any idea about the same.Following is the line : UninstallApplication(key, "/x", WAIT) – user967400 Dec 17 '12 at 08:21