How To Put Update and Patch Together? - Advanced Installer Community

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!

rkulp
Posts: 48
Joined: Mon Feb 26, 2007 10:50 pm

How To Put Update and Patch Together?

I would like to be able to put an update and a patch together so the user can choose to do a simple patch or choose to download the entire install program and install again. Is this possible? I have tried but the patch does not appear when checking for updates. If it is possible, is it smart? The updates.txt file is shown below:

Code: Select all

;aiu;

[TSEPWin 5.3.4 Patch]
Name=TSEPWin 5.3.4 Patch
URL=http://www.kulpandassoc.com/downloads/Updates/TSEPWin5Patch.msp
Size=10240
MD5=4f9d4a9a264b7a159a65b90ff05ca400
ServerFileName=TSEPWin5Patch.msp
FilePath=[APPDIR]TSEPWin5.exe

[TSEPWin 5.3.4 Full]
Name=TSEPWin 5.3.4 Full Install
URL=http://www.kulpandassoc.com/downloads/Updates/TSEPWin5_3_4_Beta_Setup.msi
Size=19495936
MD5=5365196875b351807a0e127aade47176
ServerFileName=TSEPWin5_3_4_Beta_Setup.msi
FilePath=[APPDIR]TSEPWin5.exe
Version=5.3.4.0
Description=Full install of TSEPWin 5.3.4

[TSEPWin 5.3.2]
Name=TSEPWin 5.3.2
URL=http://www.kulpandassoc.com/downloads/updates/TSEPWin5_3_2_Beta_Setup.msi
Size=19495936
MD5=3188332e4c61c453ab7bb7a0ec7f1186
ServerFileName=TSEPWin5_3_2_Beta_Setup.msi
FilePath=[APPDIR]TSEPWin5.exe
Version=5.3.2.0
Description=Another Build Increment for Testing	
Feature=Fake Feature 1
Feature1=Fake Feature 2
Enhancement=Much Better Program

[TSEPWin 5.3.1]
Name=TSEPWin5.3.1
URL=http://www.kulpandassoc.com/downloads/Updates/TSEPWin5_3_1_Beta_Setup.msi
Size=19495936
MD5=7330f3407bac81fd3eb31a9b31626eca
ServerFileName=TSEPWin5_3_1_Beta_Setup.msi
FilePath=[APPDIR]TSEPWin5.exe
Version=5.3.1.0

GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: How To Put Update and Patch Together?

Hello,

We do not officially support this behavior. I suppose you could try having two updates.txt files on your server and two updater.ini files on the client computer.
You'd then give (through your application's interface) the user the possibility to select the update mode.
Depending on the type of update the user selects, you would switch the updater.ini files to instruct the updater to use one of the two updates.txt files on the server. Each updates.txt would either have a line of patch upgrades or a line of full upgrades.

Nonetheless, I am not sure if this will work or not. My suggestion is you test this as much as possible, especially with use cases when the client often switches between patch and full upgrade modes. You're the first who actually requests this behavior so I can't really tell if this a viable solution for you.

Do let us know how this worked for you.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
rkulp
Posts: 48
Joined: Mon Feb 26, 2007 10:50 pm

Re: How To Put Update and Patch Together?

Thank you. It is not a pressing need so I'll play with it as time permits.

Return to “Common Problems”