You are here

Auto Update

2 posts / 0 new
Last post
dannyoneill
Offline
Last seen: 15 years 10 months ago
Joined: 2006-12-28 12:23
Auto Update

Ive been working on an Auto Update installer.

It works by first adding a new Sub Menu item onto the PA Menu to check for updates. This then closes the PAM and launches the Auto Update util.

The util works by contacting a web server and downloading an update.ini which it reads. The update.ini lists things like what the udpate name is, where to get it what to do with it etc etc.

It then downlods, applys the update, checks the version and finsishs, it also can handle errors and if the versio is the same.

I know this wont be of use to many, I made it as we have deployed PAM to our users and being the technophobes they are for us to tell them how to update was a nighmare, so we made this to make it easy for them.

All you need to use it and deploy udpates is a web server which can hold the update (SFX 7zip file) and the ini file. Due to the design it can also change its own settings should you change the URL of your web server.

Its just a simple wizard, they get the welcome box where they click update, it checks and prompts them to update if one is found. You can set a FORCE option in the ini to force them to update regardless of the version installed or what the user says.

Anyone intrested? If so I will clean it up and post it, if not ill keep it for myself Wink

dannyoneill
Offline
Last seen: 15 years 10 months ago
Joined: 2006-12-28 12:23
Uploaded

Uploaded anyway. Includes a full readme. Please note I am not an NSIS pro, this is amature work.

http://www.megaupload.com/?d=7CV2DNP9

Please note, the included EXE is to show it in action only, it will fail as the URL it downloads from is www.yourupdateserver.com which obviously isnt real.

The readme tells you how to use the update, all you need is a web server and on that server you have 1 ini file and 1 self extracting EXE.

Extract the zip to your PortableApps folder and it will appear on the menu.

What I did for my users was modify the menu source so that the Help button was then a Popup menu with a link to our support site, FAQ's, about box and 'Check for updates...'. This then closes the menu and launches the udpate util. click Update and it does the rest.

In short it downloads a self extracting 7z file and then runs it against the root of your device. Potentially this can then update any file on the USB drive with the exception of itself as its running. So you can deploy updates to the autorun.inf, documents, menu, backup and anything else.

Topic locked