spyromus
Posts: 5
Joined: Fri Sep 16, 2005 5:41 pm

Hi!

In order to upgrade/install the application we offer our users full package. We would like to completely replace the application if it already exists and give no questions to user -- like if it was smooth upgrade. Is there any way to tell the installer to perform automatic uninstallation if it finds another installation of the same application?

Thanks in advance!
Aleks
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi Aleks,

In order to do that, when you make the changes in your package for the new version:

- in the "Product Details" page, change the version to the new value. Click <Yes> when asked whether to generate a new product code.

- in the "Install Parameters" page be sure to have the "Automatically upgrade older versions of the product" option checked.

For more information please visit:
http://www.advancedinstaller.com/user-g ... tails.html

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
spyromus
Posts: 5
Joined: Fri Sep 16, 2005 5:41 pm

Mike wrote: In order to do that, when you make the changes in your package for the new version:

- in the "Product Details" page, change the version to the new value. Click <Yes> when asked whether to generate a new product code.

- in the "Install Parameters" page be sure to have the "Automatically upgrade older versions of the product" option checked.

For more information please visit:
http://www.advancedinstaller.com/user-g ... tails.html
Mike, thanks a lot! Two more questions:

1. Is there any way to do the same by chaning the XML directly?
1a. Can you tell me what the algorithm is used to generate product codes so, I could do that from the batch script.

Thing is that our builds are automated and I guess, that's why, despite the fact that we update the version numbers in XML before next build generation, we still have no update/reinstall functionality in our builds (there product code still remains the same). I understood what the necessary steps are from your description, but it is going to be a pain for us to build releases from GUI all the time.

Any suggestions?

Thanks!
Aleks
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

There is no need for that, as Advanced Installer will do this for you. You can use the "/version" command line switch that enables you to change the version and the product code.

For more information please go to:
http://www.advancedinstaller.com/user-g ... iting.html

Best,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
spyromus
Posts: 5
Joined: Fri Sep 16, 2005 5:41 pm

Mike wrote:There is no need for that, as Advanced Installer will do this for you. You can use the "/version" command line switch that enables you to change the version and the product code.

For more information please go to:
http://www.advancedinstaller.com/user-g ... iting.html
That's exciting! You guys are the best. Perhaps, I will come back to you with further questions later, but for now I'm all set.

Thanks a lot for quick support!
Aleks

Return to “Feature Requests”