PDA

View Full Version : newby question - updating multiple files based on version



rdobson
06-07-2004, 09:28 AM
Evaluating the TU program right now and a definite newby so....

Our application consists of over 100 exe's
Historically, this has made for easy updates of 5 or 6 exe's weekly via self-extracting Winzip exes.

How could I implement checking the version of each exe (or of a specified list of exe's) and performing a specific action or sequence for each exe I determine to be in need of updating? ie, does the program support multiple exe version checks in 1 UIF? or does it, as it seems, support only one version check to return true?

What I need not to happen is for 100 exes to be downloaded due to 1 version check.

any help would be appreciated

Adam
06-07-2004, 10:16 AM
rdobson,

In True Update you can get the version of any file using the Variables -> Read file information action. So you could have blocks of code such as:

Read File Info (%Version1% ........)
IF (%Version1% = 4.0.0.2)
Download File
Run
END IF

This should give you the functionality that you desire. In this case just put all of your actions in one version block and leave the version Identifier blank.

Please get back to me if you have any further questions.

Adam Kapilik