Installer migration - Advanced Installer Community
prasanth.tech
Posts: 35
Joined: Wed Oct 28, 2015 5:53 am

Installer migration

Hi,

I am trying to migrate one installer from Installshield to AdvancedInstaller. I created one using AdvancedInstaller.

If there is a below scenario which customer may use, please let me know how I can address this at the best!

1. customer machine will have a previous version of installer created with Installshield.
2. Install installer created using AdvancedInstaller.

I am thinking of using same upgrade code (GUID) as in previous Installshield based installer and use a new version (new product code GUID also) in New Installer.

Please let me know whether this is a standard approach OR if there any other methods for this?

Thanks,
Prasanth
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer migration

Hi Prasanth,

Indeed, using the same Upgrade Code is the recommended approach. If you also want other products to be uninstalled by the one created with Advanced Installer you can simply go in the "Upgrades" page and add their Upgrade Codes in that page by using the "Upgrade" toolbar button.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prasanth.tech
Posts: 35
Joined: Wed Oct 28, 2015 5:53 am

Re: Installer migration

Hi Eusebiu,

Thanks for the comments!

Just a general observation: I have seen that some installers (created with Installshieldscript based)can be installed without uninstalling previous one(same version). During installation, it does not ask for Upgrade, Repair, or maintenance. May I know, whether AdvancedInstaller provide any such features like this?

Thanks,
Prasanth
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer migration

Hi Prasanth,

Yes, in order to achieve this you can go in the "Product Details" page and uncheck the "Register product with Windows Installer" option.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prasanth.tech
Posts: 35
Joined: Wed Oct 28, 2015 5:53 am

Re: Installer migration

Hi,

I tried that method of unchecking that mentioned option and I could see that, after installation, it is not listed in control panel>>program list.

I will describe what is my exact requirement:

1. Customer has already installed the installer created with Installshield script.
2. He want to install new version (migrated installer using AdvancedInstaller) on the the top of Installshield based installer without un-installing it. Also he want only one entry is to made in Control panel>>program list.


Thanks,
Prasanth
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer migration

Hi Prasanth,

In order to achieve this you can simply use a different Upgrade Code for the new version that you create with Advanced Installer, however this is not recommended and the new version will add a new entry in Control Panel. Can you please me why do you need to do this?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prasanth.tech
Posts: 35
Joined: Wed Oct 28, 2015 5:53 am

Re: Installer migration

Hi Eusebiu,

Ok, Thanks for the suggestion of using different upgrade code. I will try that.

Mean time, I tried an another method of using same product code and new version in new installer created using AI(AdvancedInstaller) and I found followings:

1. Second installation succeeded and it updated already existing entry in Control Panel>>program list. Also the version info updated correctly in the program list.
2. File in the installation directory (I am using a static location say, C:\MyAppInstallDir) are updated.

The above result seems like my requirement is feasible by using different product code(just a trial and error method). I haven't done any detailed testing to check whether all files, reg entries, drivers are updated correctly.

Please share your comments on the above method which I tried (as described above) by using same product code, different version and different upgrade code.

The reason why we are trying this is, our customer ask whether the installation new installer is possible, without un-installing old one created with InstallShield.

Thanks,
Prasanth
prasanth.tech
Posts: 35
Joined: Wed Oct 28, 2015 5:53 am

Re: Installer migration

Hi Eusebiu,

There is mistake in my previous post, I wrote below:

"The above result seems like my requirement is feasible by using different product code(just a trial and error method)."

INSTEAD OF

"The above result seems like my requirement is feasible by using SAME product code(just a trial and error method)".


I repeat, "The above result seems like my requirement is feasible by using SAME product code(just a trial and error method)".

Thanks,
Prasanth
prasanth.tech
Posts: 35
Joined: Wed Oct 28, 2015 5:53 am

Re: Installer migration

Hi,

I tried the method of using different Upgrade code (as per your suggestion) and different product code. With that, the installation is succeeded. But, Control Panel>Program list shows two entries. I am trying to achieve, program list should have only updated entry.

But with same product code, there is only entry in program list(as I mentioned in my previous post).

Please share your thoughts.

Thanks,
Prasanth
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer migration

Hi Prasanth,

As I mentioned in my first post, it is recommended to use the same Upgrade Code. However, using the same Product Code too, should not be possible, but throw an error.

I'm not sure why it worked in your scenario, maybe there is some configuration in the InstallShield package that permits this. You can test this method on multiple machines and if it works without problems you can use it for your new version.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prasanth.tech
Posts: 35
Joined: Wed Oct 28, 2015 5:53 am

Re: Installer migration

Thanks for your support. It is really helpful!.

Regards,
Prasanth
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer migration

You're welcome Prasanth. Glad to help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”