Indigo Rose Software

Go Back   Indigo Rose Software Forums > Old Versions > TrueUpdate 1.0

 
 
Thread Tools Display Modes
  #1  
Old 10-08-2002
BSchkerke BSchkerke is offline
Indigo Rose Customer
 
Join Date: Apr 2002
Location: St. Louis, MO, USA
Posts: 8
Setting a global variable from ServerEditor.

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. [img]/ubbthreads/images/icons/smile.gif[/img]

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.
  #2  
Old 10-08-2002
BSchkerke BSchkerke is offline
Indigo Rose Customer
 
Join Date: Apr 2002
Location: St. Louis, MO, USA
Posts: 8
Re: Setting a global variable from ServerEditor.

No, the above idea doesn't work because version identification isn't fall through. Too many switch statements for me I guess. [img]/ubbthreads/images/icons/wink.gif[/img]

Is it possible to have a global variable added to the wish list if this isn't possible via another method? It'd be handy for other things I imagine like "ApplicationName", etc.

And before anyone asks I don't create a shortcut to my application, I create a shortcut to TrueUpdate, which then launches my application (OpenDocument) upon success of updating. TrueUpdate is set to run silently unless an update is found, in which case it -only- shows update progress. It allows for quiet, seamless updating in a corporate environment.

(I love TrueUpdate. I love TrueUpdate. Repeat ad nausem. TU has saved me SO many headaches.)

  #3  
Old 10-08-2002
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Re: Setting a global variable from ServerEditor.

You are right in that TrueUpdate does not support global constants at this point. That is ceratinly one of the many improvements that we will get into a future release. Thanks for the input, and thanks for lovin' our product!
  #4  
Old 10-09-2002
BSchkerke BSchkerke is offline
Indigo Rose Customer
 
Join Date: Apr 2002
Location: St. Louis, MO, USA
Posts: 8
Re: Setting a global variable from ServerEditor.

Thanks for the reply! I'd love to see it as I've come up with all kinds of ideas for how they'd be useful. [img]/ubbthreads/images/icons/laugh.gif[/img]

 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 07:18 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software