BSchkerke
10-08-2002, 10:01 AM
I have two versions in my server file.
Older Version, which looks like the following:
Version Identifier:
INI FILE (%SrcDir%\Settings.ini: [Version]: Version < 2565)
Actions:
Assign Value (%Version% = 2625)
Assign Value (%FileName% = wtw-v%Version%.zip)
HTTP Download (http://wintitleworx/wtw/patches/%FileName% -> %SrcDir%\Patches)
Unzip Files (%SrcDir%\Patches\%FileName% -> %SrcDir%)
Modify INI File (Set Value: %SrcDir%\Settings.ini [Version]: Version = %Version%)
Open Document (open %SrcDir%\WinTitleWorx.adp)
Latest Version:
Version Identifier:
INI File (%SrcDir%\Settings.ini: [Version]: Version=2625)
Actions:
Open Document (open %SrcDir%\WinTitleWorx.adp)
What I'd like to do is replace the 2625 in both versions with a global variable of some sort so I only have to set it in one place. Is this possible somehow? I'm afraid to tinker too much with this system since it's already been deployed. /ubbthreads/images/icons/smile.gif
Hm, just had an idea to insert a version with no identifying information in it and settings a variable in it's actions to %CurrentVersion%, then using that in the Version Identifiers section of the following two and mark them as expressions..
Gah, I'll go try it.
Older Version, which looks like the following:
Version Identifier:
INI FILE (%SrcDir%\Settings.ini: [Version]: Version < 2565)
Actions:
Assign Value (%Version% = 2625)
Assign Value (%FileName% = wtw-v%Version%.zip)
HTTP Download (http://wintitleworx/wtw/patches/%FileName% -> %SrcDir%\Patches)
Unzip Files (%SrcDir%\Patches\%FileName% -> %SrcDir%)
Modify INI File (Set Value: %SrcDir%\Settings.ini [Version]: Version = %Version%)
Open Document (open %SrcDir%\WinTitleWorx.adp)
Latest Version:
Version Identifier:
INI File (%SrcDir%\Settings.ini: [Version]: Version=2625)
Actions:
Open Document (open %SrcDir%\WinTitleWorx.adp)
What I'd like to do is replace the 2625 in both versions with a global variable of some sort so I only have to set it in one place. Is this possible somehow? I'm afraid to tinker too much with this system since it's already been deployed. /ubbthreads/images/icons/smile.gif
Hm, just had an idea to insert a version with no identifying information in it and settings a variable in it's actions to %CurrentVersion%, then using that in the Version Identifiers section of the following two and mark them as expressions..
Gah, I'll go try it.