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!

Lamar6
Posts: 3
Joined: Tue Feb 05, 2013 10:28 pm

Re-installing a program

I have been working with the prof installer and I have not been able to find a check box to allow the overwriting of an existing program and a place where one can indicate that one should not overwrite specific files so as not to ruin a customers setup rules for the program being upgraded.

I have more questions and will ask again as time permits.

thanks

Lee Sorensen
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Re-installing a program

Hi Lee and welcome to Advanced Installer forum.

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can go in the Files and Folders page, right click on the folder that contains your resources, select "Properties" and go in the "Operations" tab. There you can choose to overwrite or not that folder during installation. You can do the same thing for a single file.

To be able to use the "Operations" tab options you must have at least a Professional license.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Lamar6
Posts: 3
Joined: Tue Feb 05, 2013 10:28 pm

Re: Re-installing a program

Eusibie
Thanks for the post. I checked and the operations states that the files in this folder are set to overwrite if they are newer.

I don't think this is the problem. The problem is that when you go to re-install it says that there is a program already installed and it has to be uninstalled prior to installing the newer version. If you select the "patch " method that does not seem to answer the problem either.

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

Re: Re-installing a program

Hi Lee,

A similar problem was discussed in the Recompile PackageCode are different thread.

Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Lamar6
Posts: 3
Joined: Tue Feb 05, 2013 10:28 pm

Re: Re-installing a program

Thanks for your response. After reading through the link you suggested it appears that one must go through too many gyrations to achieve a simple re-install. The suggested process is too messy and ripe with the possibility of errors. Considering the following:

1. The re-install does not have access to the internet.
2. The change is probably an update which includes a missed dll or a change in the exe file.
3. This change is being done on a production line which is running and has to be shut down momentarily to make the change.
4. The customer is not at all knowledgeable with all of the possibilities for error messages or failed connections listed in the suggested solution and would not be able to cope with the update. Hence, the line would now be down and production would be furious.

My software is used in a real time environment not for a desktop machine where one can make a call for help and the phone works.

Just a simple overwrite would be appreciated.

Lee Sorensen
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Re-installing a program

Hi Lee,
one must go through too many gyrations to achieve a simple re-install.
That is not true, you can simply launch the installer using the command "Run' in Advanced Installer. This automatically
removes the old version and will launch the install for the new one. This is for the cases when you test the package on your development machine.

The error you encounter, i.e. "Another version ...", will never be seen by your users because they must always receive a new version of the application.
For this you can go to Product Details and increase the product version number, then answer with "major upgrade" to the question received.

After this you add the new files in the package and build it.

The following article explains the exact set of steps you need to make when preparing a new version of your application for your users, under "Automatically upgrade older product versions" section.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”