Update procedure?

Got a problem you cannot solve? Try here.
QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Update procedure?

Postby QooScho » Mon May 21, 2012 7:31 am

Hello,
I have created an installer setup with InstallAware 11. The setup installs an Apache webserver, installs my program files (dlls and exe) and installs a mysql database.
All works fine. This is for example Version 1.0 of our product.
Now we have some bug fixes or improvements. Our new version is 1.1.
What we need is to update only some Exe files, some Dll and XML files.
How can I do this with InstallAware? If I make a complete new build (web build) and I execute the "Setup.exe" on an existing installation the Maintenance dialog appears
and the complete setup will proceed. As I understand the Maintenance will remove all and install the new files again.
But this is not what I want. The apache webserver and the MySQL database files should be untouched and not be copied.
It is just neccessary to copy some new exe, xml and dll files to the program directory.

How can I do this with InstallAware?
Thanks a lot for any help or ideas
regards
Hans

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Update procedure?

Postby FrancescoT » Mon May 21, 2012 11:26 am

Dear Hans,

this could be done using patch build.
Have you tried it?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Re: Update procedure?

Postby QooScho » Tue May 22, 2012 12:28 am

Hello Francesco,

what is patch build?
can you please give me a little bit more informations?
Is there a documentation about patch build?

regards
Hans

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Update procedure?

Postby FrancescoT » Tue May 22, 2012 8:00 am

Dear Hans,

with a patch build you can create a procedure that update an existing installation.

This can be used only for minimal changes and using it, your existing installation it is not removed (a complete setup is not executed).

I suggest to you to have a look at the following link and from it read the document "Using InstallAware to Patch Software Products".
http://www.installaware.com/publications-whitepapers.htm

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Re: Update procedure?

Postby QooScho » Tue May 22, 2012 8:39 am

Hello Francesco,
I habe seen this white paper.

But this document is about 5 years old. Is this still up to date?

And; how can I avoid that MySQL and Apache service is not installed again?
regards
Hans

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Update procedure?

Postby FrancescoT » Tue May 22, 2012 9:02 am

Dear Hans,

the document it is not changed because patch continues to work in that way.

I suggested it because I understood that you never used patch.

If you replace just the exe file with a patch, only this will be replaced and nothing else reinstalled over again.

have you tried to follow it?
have you found any issue doing it?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Re: Update procedure?

Postby QooScho » Thu May 24, 2012 6:16 am

Hello Francesco
thank you for your help.
I made the Patch project step by step how it is described in the white paper. I have now "Version one" Installer Setup and "Version two" Setup. And a folder "Patch" with "my setup"
As I understand it right, the patch setup is a separate setup only for updating an existing installation?
The Patch setup.exe is not the complete installer. If I need to install the new version complete from scratch, then I cannot do this with the "Patchsetup.exe". I need to install with the "version 2" setup.
Is that right?

regards
Hansjoerg

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Update procedure?

Postby FrancescoT » Thu May 24, 2012 7:06 am

Dear Hans,

Exactly, the patch build contains only the binary differences and not the setup itself.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Re: Update procedure?

Postby QooScho » Thu May 24, 2012 8:07 am

Dear Francesco,

last question:
I made installer versions 1.0, 1.1, 1.2, 1.3. Next version will be 1.4.
When I now begin to build an patch, do I need to add all the old Setups to the new Patch build?
And is it then also possible to update for example from version 1.0 to the newest version 1.4?

What happens if a version 1.0 was manually updated to version 1.3 by copying the EXE and DLL files to program directory?
Does a patch setup can also make an update to 1.4?

regards
Hans

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Update procedure?

Postby FrancescoT » Thu May 24, 2012 8:55 am

Dear Hans,

each patch build must contains, to work properly, references to every previous version.
Then for example:
- version 1.2 should have references to full build of versions; 1.0 & 1.1
- version 1.4 should have references to full build of versions; 1.0, 1.1, 1.2 & 1.3

What happens if a version 1.0 was manually updated to version 1.3 by copying the EXE and DLL files to program directory?
Does a patch setup can also make an update to 1.4?

Yes, it shuold. Note, Test it before distributing to your user.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 176 guests