Harish
Posts: 35
Joined: Tue Dec 27, 2005 9:25 am

How do i uninstall the created msi.

Hi,

Once we create a msi package it successfully installs. What exactly i want is when you install the older version or newer version of our application which is already installed, it should uninstall the previous msi and then it should it install the new one. Better if I know the uninstall file and where it will be present. How can it be solved.

Thanks in advance,
Harish.Y
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

Windows Installer automatically removes an older version of your application when a newer version is installed. This is called an upgrade. However, Windows Installer does not allow to install an older version if a newer one already exists on the target machine. If this is necessary, the older version must be removed first.

Can you be more specific about what you are trying to achieve?

Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
Harish
Posts: 35
Joined: Tue Dec 27, 2005 9:25 am

Hi Denis,

I Agree with u the newer version of application will uninstall the older version and then it installs but what i need is our maintenance team work on all the versions so for some time they work on new version and then for some other work on older versions they will install the older version. So at the time of installation of older version it should remove the existing application present on the target Machine before installation.

Thanks,
Harish.Y
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

The first option is to use the "Add or Remove Programs" Control Panel applet in order to remove the current version of the application. Then you can install the old version again.

The second option is to use the "Uninstall" context-menu item associated with the currently installed MSI package.

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

Return to “Common Problems”