|
#1
|
||||
|
||||
|
I am very impressed with the suite since purchasing three seats this past week.
However I am not sure the best way to integrate all the means available to keep it all up-to-date. I wrote a project in AMS that is a document launcher. Users have it on a USB thumb drive and when run it needs to be able to check/update any of the 200 or so .pdf and .doc files that it launches. This way the users (who *must* always have the most recent versions of the regulations on the thumb drive) will have a truly hands-off way to always have the most current docs. I use a freeware program called updateXpress to check AMS's "docs" folder and automatically update any file that is newer on the server. It's a slick way to update these individual files, but I would like to use TU and VP to do the same. Here's my dilemma: I like that VP makes it very simple to do updates, but since I might update a file here and there daily, it would require daily versions and subsequent backups of each day's version--since each version requires that day's build be maintained in a separate directory. TU seems good for this, however, it's more manually intensive and I need to pass off the maintenance of this program to luddites who need it to be VERY simple. I am interested in getting some ideas on how to leverage the $3000 we just spent on the suite and make the boss happy, and avoid the project crashing when I get promoted/move/etc. There will be 1500 users of this project and the accuracy of the product needs to be 100%, as it's aviation safety-of-flight related. Also, can I use VP to do updates of the actual AMS program, and TU to do updates of individual files? Lots of words, but thanks for your attention/help everyone! -John Van Huffel
__________________
_________________________ John Van Huffel john (at) vanhuffel (dot) com _________________________ |
|
#2
|
||||
|
||||
|
TU normally is used to check for a new version across various servers and download a patch file.
VP is the full-history patch that patches all changed files. AMS can do 'em all if you know how to code. |
|
#3
|
||||
|
||||
|
AMS Can do it all?
Do you mean that I could write script in AMS to check versions, and update each file?
I can generally figure out how to steal someone else's code, but I'm not so smart as to write much from scratch... I've been sitting here for a few hours just trying to figure out how to get started with TU, and I'm hitting my head on the proverbial wall. Wish there was some tutorials/examples of how to use it. It seems very code-oriented, and I was hoping it would be more drag-n-drop. Also, it seems, even with the wizards, that you need to check the version of the main application (or have it check each of the 200 files that I want to keep updated) and that seems like a lot of work. I just want it to look at my build folder on my machine and compare the files on it to the ones on the user's computer and then copy over the new/different ones. Other than writing a HUGE script that would require constant care/feeding, I don't see how TU will help in this case. And if I change files every day, how would VP keep a user up-to-date when it may be weeks before they can get to the LAN to update? There's got to be a way! Thanks, John
__________________
_________________________ John Van Huffel john (at) vanhuffel (dot) com _________________________ |
|
#4
|
||||
|
||||
|
AMS can't do differential patching at all, so it can't take the place of Visual Patch unless you're happy with redistributing patches that are as big as the original files. Although it's technically possible it requires a lot of advanced scripting to implement a reliable update system in AMS.
__________________
--[[ Indigo Rose Software Developer ]] |
|
#5
|
|||||
|
|||||
|
Quote:
It all boils down a few key decisions:
Quote:
Quote:
Quote:
Visual Patch builds the patches -- the executables that actually transform the files of one version into another one. TrueUpdate builds the automated delivery system -- the system that will take care of finding out that a new version exists, and then downloading the correct patch, and then running it. There is a bit of overlap in capabilities between TrueUpdate and Visual Patch (and if you wanted, you could use TrueUpdate without Visual Patch, and have it download and replace every file on its own, but as you pointed out, that can be immensely complex). One point of confusion for some is the version detection logic. Visual Patch and TrueUpdate both need to analyze the version situation on the user's system -- but for different reasons. TrueUpdate just needs to know if the user's out of date. ("Okay you have version 5.22, I actually have 5.23 right here, let me take care of that for you...") Visual Patch needs to know if the user has a version that it is able to patch. ("Is this a version I know how to patch?") Note that if you're using full-history patches, TrueUpdate doesn't need to care what specific version the user has, just that it's older than the current one it has available. So your TrueUpdate script shouldn't have to change (other than changing the current version number every time you upload a new patch). Quote:
__________________
--[[ Indigo Rose Software Developer ]] |
|
#6
|
||||
|
||||
|
Thanks, Lorne!
Great minds think alike. I thought I would create a text file that we could post revisions-- using date [2007.5.28 for instance] as a reference or "version number" Then when I update some of the 200 or so .pdfs I'll list the new files in the text file and use TU check modification date of the index file to see if it needs to update.
Would I have to keep completely separate versions of the entire (700MB) project every time I update one file and build a patch for it? Reading about VP it says that it's recommended that you keep a separate copy of the entire thing for each revision. I would want to only keep the most current version. Could this work? Will I end up with hundreds of tabs in VP, one for each time I change a file? Thanks! John
__________________
_________________________ John Van Huffel john (at) vanhuffel (dot) com _________________________ |
|
#7
|
||||
|
||||
|
Quote:
Quote:
However, if you aren't concerned with building full-history patches all the time, you could just get by with two versions: the current one, and the previous one. (See below.) Quote:
Alternatively, you could just set up the project with fewer tabs, and (once you have an easily manageable number of tabs) simply delete the tab for the oldest version whenever you add a new one. The simplest approach is of course to use two tabs: one for the current version, and one for the previous version. Instead of building full-history patches, you would build incremental binary patches. Which isn't a bad idea in any case, since they're smaller. The only caveat is that if a user is a few versions out of date, they will have to apply more than one patch. For example if a user has version 1.2 and your current release is 1.6, they would have to apply patch 1.2->1.3, then 1.3->1.4, then 1.4->1.5, then 1.5->1.6. Since you're using TrueUpdate, this isn't that big a deal for the users, since you can automate the process for them -- however you will need to script TrueUpdate so it knows which patch to download and run for each version. Another approach is to do a "limited history patch," which is basically just a patch for the most recent "x" versions, where x is whatever you think would be manageable. For example you could have three tabs (the previous version, and the one before that), or four, or however many tabs you like. It all depends what your particular needs are.
__________________
--[[ Indigo Rose Software Developer ]] |
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
||||
|
||||
|
Quote:
![]() You're right though, DeltaMAX + Autoplay would be a nice combination. It wouldn't be quite as easy on the developer in terms on managing versions and such, but you could definitely create some cool patch interfaces with it. (*A really nice exercise for anyone evaluating a patching tool is to try it out on a 1 GB file. Back when we were evaluating other tools, we were shocked by how many of them choked on anything larger than 80 MB.)
__________________
--[[ Indigo Rose Software Developer ]] |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Example: Integrating Google Maps into AMS | TJS | AutoPlay Media Studio 7.5 Examples | 9 | 1 Week Ago 01:36 PM |
| Problems integrating Flash | johndove1 | AutoPlay Media Studio 4.0 | 1 | 01-31-2003 01:30 PM |
| Video Tutorial - Integrating AMS & Flash Buttons | Corey | AutoPlay Media Studio 4.0 | 12 | 08-29-2002 12:20 PM |
All times are GMT -6. The time now is 11:07 PM.








Linear Mode

