multiple instances get lost, do not uninstall correctly - 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!

paul@jobpow.com
Posts: 33
Joined: Thu Oct 01, 2009 8:29 pm

multiple instances get lost, do not uninstall correctly

i have a project where i have enabled instances and side-by-side versions.

install version 73 into one folder on the C drive.
install new instance of version 73 into one folder on the D drive.

install version 74 and am prompted with a dialog to upgrade all instances or maintain/upgrade a specific instance. i'm only presented with one instance (#2) to choose from, not both yet both are in the add/remove control panels list. screen prints of this are in attached file.

separately, when trying to untinstall an instance of the software where multiple versions are installed, the unintsall proceeds, but the instance is left in the list with a generic icon.

are any of these reproduceable and if so, is there a workaround?[attachment=0]multiple instance new version, only one instance.zip[/attachment]

or, is there a way to have the program always install a new instance? or always assume a unique product or upgrade code dynamically (i.e. without issuing a new build so that the same installer always identifies its self as a new product)
Attachments
multiple instance new version, only one instance.zip
(118.56 KiB) Downloaded 389 times
paul@jobpow.com
Posts: 33
Joined: Thu Oct 01, 2009 8:29 pm

Re: multiple instances get lost, do not uninstall correctly

i reproduced this behavior with the attached test projects.

install two instances of one version, then isntall an instance of another version, the instance dialog will only show one of the previous instances, not both.
Attachments
test.zip
(786.35 KiB) Downloaded 917 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: multiple instances get lost, do not uninstall correctly

Hi Paul,

It seems there is small bug in our application, a fix will be released in a future version. When the user chooses to upgrade all the instances the list displayed contains all
the instances installed on the computer excepting the first installation.

To be more clear. You install the package for the first time. Then you install another two more instances of the package.
Now, when you would upgrade the package you should have been displayed with all three instances. But the dialog will display only the last two instances installed.
The first instance (the first installation) is not listed.

However, even if it is not displayed in the list, all instances (in my example, the three instances) are updated, the bug resides only in the display dialog.

Thank you for bringing this to our attention.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
paul@jobpow.com
Posts: 33
Joined: Thu Oct 01, 2009 8:29 pm

Re: multiple instances get lost, do not uninstall correctly

correct, is there an ETA for this fix? also can you reproduce the effect of not being able to uninstall a specific instance correctly? (i.e. it will remain in the programs control panel with a generic icon even after having said it uninstalled correctly)
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: multiple instances get lost, do not uninstall correctly

Hi,
is there an ETA for this fix?
The fix should be included in the 7.4 version of Advanced Installer (7.3 will be released in the near future and it's already in testing).
also can you reproduce the effect of not being able to uninstall a specific instance correctly? (i.e. it will remain in the programs control panel with a generic icon even after having said it uninstalled correctly)
Yes, we are able to reproduce it. This happens because you are using a custom name for "Add or Remove Programs". The custom name uses some registry entries organized under the "AI_CustomARPName" component in the "Organization" page. If the component is shared by all instances, the custom name is not removed until all instances are removed.

The solution is to add the component in the Components pane of the "Multiple Instances" tab in the "Media" page. This way the component will not be shared and each instance will manage its Control Panel entry separately.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”