This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Another version of this product is already installed...
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 04, 2008
07:09 AM
Another version of this product is already installed...
I have a InstallScript MSI Project to install our product.
The installer for an older version of our product was made with Visual Studio 2005.
When I run the new installation on a machine where the old installation is already, the message “This setup will perform an upgrade of…” appears, which it also should.
When I run the new installation a again I would expect a dialog where I could choose too Repair or Uninstall, but instead I get “Another version of this product is already installed. Installation of this version cannot continue…”.
Why is this?
The Product Code and the Upgrade Code are the same for the InstallScript MSI Project and the Visual Studio 2005 project.
The InstallScript MSI Project has a newer Product Version number.
The installer for an older version of our product was made with Visual Studio 2005.
When I run the new installation on a machine where the old installation is already, the message “This setup will perform an upgrade of…” appears, which it also should.
When I run the new installation a again I would expect a dialog where I could choose too Repair or Uninstall, but instead I get “Another version of this product is already installed. Installation of this version cannot continue…”.
Why is this?
The Product Code and the Upgrade Code are the same for the InstallScript MSI Project and the Visual Studio 2005 project.
The InstallScript MSI Project has a newer Product Version number.
(8) Replies
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 04, 2008
01:14 PM
This probably is occuring because you've unwittingly violated minor upgrade component rules during the minor upgrade you created.
I would suggest performing a major upgrade when attempting to upgrade from your Visual Studio project file.
I would suggest performing a major upgrade when attempting to upgrade from your Visual Studio project file.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 05, 2008
04:07 AM
The problem is that the versions installed by the Visual Studio installer are 3.0.1 and 3.0.2. The version that is going to be installed with the InstallShield installer is 3.0.3 and there for a small upgrade.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 05, 2008
10:16 AM
I have now made the upgrade to a major upgrade, but it does not change anything.
I can also see that the files that are installed with the previous installation do not get overwritten with the ones in the new installation.
I can also see that the files that are installed with the previous installation do not get overwritten with the ones in the new installation.
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 05, 2008
11:06 AM
The problem is that the versions installed by the Visual Studio installer are 3.0.1 and 3.0.2. The version that is going to be installed with the InstallShield installer is 3.0.3 and there for a small upgrade.
This would actually be a minor upgrade. Any change in the version number precludes you from doing a small update. But honestly, it doesn't really matter. The version differences don't actually enforce any specific upgrade strategy, they are standards for Windows Installer that aren't actually enforced.
danjal wrote:
I have now made the upgrade to a major upgrade, but it does not change anything.
I can also see that the files that are installed with the previous installation do not get overwritten with the ones in the new installation.
If you're seeing this then you're probably not doing a major upgrade in all honesty. Have you verified that you created a new Product Code and added a Major Upgrade item to the project?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 06, 2008
02:55 AM
I have now changed the Product Code and when I run the installation it does overwrite the files.
But now the message “This setup will perform an upgrade of…” does not appear. In stead it installs as if it is a first time installation.
What I want is that if there is a previous installation, a special script is run and the old files are overwritten with the new ones.
I have figured out that if the message “This setup will perform an upgrade of…” appears I can put that special script in the event OnResumeUIBefore().
But now the message “This setup will perform an upgrade of…” does not appear. In stead it installs as if it is a first time installation.
What I want is that if there is a previous installation, a special script is run and the old files are overwritten with the new ones.
I have figured out that if the message “This setup will perform an upgrade of…” appears I can put that special script in the event OnResumeUIBefore().
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 12, 2010
12:27 AM
Hi,
I am also facing the same problem mentioned above.
I installed my application setup.exe.Now am trying to upgrade it via .msi.
But it is throwing an error( 1638:Another version of this product is already installed. Installation of this version cannot continue. To configure or
remove the existing version of this product, use Add/Remove Programs on the Control Panel).
But using setup.exe am able to upgrade my application.
Similarly if installed using .msi the application is succesfully upgraded using .msi and .exe.
Any updates on this.
Expecting a reply
Regards
Smitha
I am also facing the same problem mentioned above.
I installed my application setup.exe.Now am trying to upgrade it via .msi.
But it is throwing an error( 1638:Another version of this product is already installed. Installation of this version cannot continue. To configure or
remove the existing version of this product, use Add/Remove Programs on the Control Panel).
But using setup.exe am able to upgrade my application.
Similarly if installed using .msi the application is succesfully upgraded using .msi and .exe.
Any updates on this.
Expecting a reply
Regards
Smitha
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 05, 2013
03:01 PM
You should only have to change the Product and Package GUIDs (in addition to bumping the product version). The upgrade GUID should be left alone. However, I do feel your pain in that the "major" upgrade now appears to be a fresh install. Still looking into preventing that or at least changing the dialog.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 20, 2013
08:35 AM
Yes the problem is still there.I have now made the upgrade to a major upgrade, but it does not change anything.