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!

seanmc
Posts: 3
Joined: Thu Apr 12, 2007 10:12 pm

Side by side install no longer working?

Hi,

I've recently upgraded to V4.9.1.

I have an install package for V3.2.2 of my product (created with an older version of AI, probably V4.8 or V4.7).

I have just created an install package for V3.3.0 of my product.

On the Upgrade screen, I have selected "Allow side by side installs..."

When I changed the version from V3.2.2 to V3.3.0 it prompted me to changed the Product Code. I said "Yes".

However, when I install V3.3.0 of my product, it uninstalls V3.2.2.

I do not want this to happen.

What am I doing wrong, please?

Thanks - Sean
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Sean,

I cannot reproduce this behavior on my computer. Have you changed the location (installation dir) of the new version of your product?

Also take a look in the Add/Remove Control panel applet to see it both version are listed.

If the problem persist please send a small test project reproducing this issue to support at advancedinstaller dot com so we can take a look.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
seanmc
Posts: 3
Joined: Thu Apr 12, 2007 10:12 pm

Both versions are not listed in Add/Remove programs (the older version has been uninstalled).

I have not changed the location (installation dir) of the new version.

Looking in the help now, it seems like AI will automatically uninstall an older version if the installation dir of the new version is the same as the old one (even if side-by-side installation is selected).

I don't believe that it used to work this way, otherwise I would have run into this problem before.

For our purposes, the application APPDIR defaults to [drive]:\[company]\[product]

During the installation process, when the user is asked to select the APPDIR, we have modified that dialog to offer a checkbox that says "Create a version specific sub-folder for the application executable".

If checked, we then create a sub-folder under APPDIR (i.e. V330) and place the executable, release notes, and help file in that directory.

Beneath the APPDIR, there are also several sub-folders created on installation. These sub-folders would be common to all side-by-side installations of different versions.

So, for instance, we'd like to end up with a directory structure like this:

[drive]:\[company]\[product]\[V322]
[drive]:\[company]\[product]\[V330]
[drive]:\[company]\[product]\[V331]
[drive]:\[company]\[product]\[V332]
[drive]:\[company]\[product]\[common sub-folder 1]
[drive]:\[company]\[product]\[common sub-folder 2]
[drive]:\[company]\[product]\[common sub-folder 3]

My problem is that when I install V330, V322 gets uninstalled, even though it is in a separate directory, I think AI believes they are in the same directory because APPDIR does not include the V3xx sub-folder.

I can work around this (I suppose) by Duplicating the project (to create a new Upgrade Code, so that new versions do not recognize each other as being from the same family, but then I would be worried about what would happen to common sub-folders (and registry settings) during uninstall.

I can send you my .AIP file that has the Custom Action used to create the version-specific sub-folder (but this is a technique that was given to me by your Tech Support group almost a year ago).

Thanks - Sean
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

In order to investigate the problem please send the AIP file (if not contain any confidential informations) or a small similar test case reproducing this issue to support at advancedinstaller dot com.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
seanmc
Posts: 3
Joined: Thu Apr 12, 2007 10:12 pm

Hi,

I have just emailed a ZIP file containing a test project that illustrates my problem, along with a description of how to generate the problem. The file is called AITest.ZIP.

Thanks very much for your assistance!

- Sean

Return to “Common Problems”