Allow installer to run even if product is already installed - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Toploader
Posts: 7
Joined: Thu Jan 13, 2011 2:36 am

Allow installer to run even if product is already installed

Just changed to Advanced installer after using Installer Vise for many years and it's confusing the hell out of me, not because it's hard to use or because it's less intuitive, just been a harsh adaption process for me.

I was trying to do something rather simple, I want the installer to not just quit when it detects the same version of the program is detected (with the message 'another version of this product is already installed, installation of this version cannot continue) but I would like it to run regardless, and from there be able to either install into a new folder or just install over the previous install.

I'm sure the solution is easy, but after some reading could not find it.

EDIT:

Ah all okay, after rebuilding the installer, it will now bring up the 'modify, repair, remove' dialog which works for what I want.
aleholder
Posts: 6
Joined: Thu Dec 09, 2010 8:22 pm

Re: Allow installer to run even if product is already installed

I've run into the same issue. I tried rebuilding and mixed results. The question I have is I set the custom upgrade check-box on the upgrades page and got it to work. When I save and reload the box is now unchecked. Do I have to have this box checked? If I do, is it supposed to stay checked if I use the default settings? I'm using the auto updater so I need to make sure I don't get fouled up on this message and prevent an auto update from occurring.

Thanks for any help on this issue.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Allow installer to run even if product is already installed

Hello,

If you are referring to the "Customize Advanced Installer upgrade rules" please note that by enabling this option you will have access to the Advanced Installer custom upgrade rows. You can customize them to suit your needs but you are not allowed to delete them. When this option is disabled these rows are reset to their original state.
Do I have to have this box checked? If I do, is it supposed to stay checked if I use the default settings?
This option preserves its enabled state only if the rows are modified. If nothing is changed it will be disabled after reloading the project.
I'm using the auto updater so I need to make sure I don't get fouled up on this message and prevent an auto update from occurring.
The message mentioned in this thread refers to identical versions being installed on the same machine. In an upgrade, the old version is uninstalled and the new version is installed in its place( two different versions involved in the process ). If you have the upgrade logic in place you shouldn't worry about this.

For any details regarding the upgrades guidelines and logic and you can read our Upgrades Page article. For more information about the auto updater application please follow our step by step tutorial and our reference from the user guide.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”