Uninstall Previous Version Problem - Advanced Installer Community
em17ah
Posts: 4
Joined: Fri Apr 17, 2015 11:54 am

Uninstall Previous Version Problem

Hello,

I prepared version 1.0.0 setup(exe). "Automatically upgrade older product versions" and "Uninstall old version first then install new version" is checked.
Then I upgraded to version 2.0.0 and chose "Generated New". (Upgrade Code is same with previous version). But previous version(1.0.0) is not uninstalled when New version(2.0.0) is installing.

Can you help me, please?

I use Advanced Installer v12.0
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: Uninstall Previous Version Problem

Hello and welcome to Advanced Installer forums,
Thank you for your interest in Advanced Installer.

I tested the case you described and I cannot replicate the behavior.

Can you please send us the .AIP (project file) and the log file from both your projects (version 1 and 2) to support at advancedinstaller dot com so we can investigate?

Regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
em17ah
Posts: 4
Joined: Fri Apr 17, 2015 11:54 am

Re: Uninstall Previous Version Problem

I sent project file and logs. thanks
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: Uninstall Previous Version Problem

Hello,

At first, I would like to recommend you, as a good practice, to always backup your data.
All versions of your project should be saved separately, in order to be able to come back to a working/older version when needed.

I tested the installation and update with the files you sent, and I cannot replicate the problem.

Please be sure that you have the same options under the "Installation Option" section, for both projects (version one and two).

Keep in mind that a per-user installation cannot upgrade a per-machine installation and a per-machine installation cannot upgrade a per-user installation.

If you have any more questions, do not hesitate to contact us.

Regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
em17ah
Posts: 4
Joined: Fri Apr 17, 2015 11:54 am

Re: Uninstall Previous Version Problem

Both projects (version one and two) installation type is Per-machine only (fails if user is not administrator). but old version still is not uninstalling.
em17ah
Posts: 4
Joined: Fri Apr 17, 2015 11:54 am

Re: Uninstall Previous Version Problem

I changed installation type as "Per user only". Now old version is uninstalled successfully.
(and i checked "run as administrator" because i will run an exe after installation).
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: Uninstall Previous Version Problem

Hello,

I'm glad you got this working by yoursef.
If you have other questions, please let us know.

Kind regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”