mbcizmar
Posts: 7
Joined: Mon Aug 28, 2006 8:02 pm

Another version of this product is already installed

After I create a version of the msi...I test it several time...after which...this dialog starts to appear. I have choosen: "Automatically upgrade older version of the product", limit to basic user interface.

Its weird because I can run the installer several times successfully before I get this error.
Mihai
Posts: 38
Joined: Wed Mar 23, 2005 12:19 pm

Hi,

That message appears when you try to install a version that is already installed from a package with a different PackageCode. At every built, a new PackageCode is generated.

If you encounter that error it means that you modified the package and you not removed the previous installation.

You must remove the application from the Add/Remove Programs applet from Control Panel.

Hope it helps,

Mihai
Mihai Udrea
Advenced Installer Team
mbcizmar
Posts: 7
Joined: Mon Aug 28, 2006 8:02 pm

Ahh. That would explain it. However, I'm making custom msi's for users. In each msi, there would contain a different set of content. The user selects their content, I build a custom msi...then they download and install.

In your example, every build would have a different packagecode and therefore get the prompt. Is there any way to eliminate that prompt? I simply want to copy over. The user never needs to see that prompt.

Thanks!
Mihai wrote:Hi,

That message appears when you try to install a version that is already installed from a package with a different PackageCode. At every built, a new PackageCode is generated.

If you encounter that error it means that you modified the package and you not removed the previous installation.

You must remove the application from the Add/Remove Programs applet from Control Panel.

Hope it helps,

Mihai
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

If you need to create different MSI packages, then start from a new project each time. If these packages have many settings in common (files, registry entries etc), you can use "File -> Duplicate" to create the new project(s).

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”