|
#1
|
||||
|
||||
|
I was trying to find out how can I set the TrueUpdate servers in TU2 client at the loading time. I've looked on the TU2 help, but wasn't able to find it. I'd like to set the location of my TrueUpdate servers by reading from the registry. for example, --GotServerFiles = TrueUpdate.GetServerFile(ServerName, false); GotServerFiles = TrueUpdate.GetServerFileEx("mydomain.com/trueupdate/myproduct/", false); I would appreciate your help. Thanks. |
|
#2
|
||||
|
||||
|
You can download the server file using HTTP.Download and then TrueUpdate.LoadServerFile to load and execute it. The downside to this is that it will miss out on the automatic exe/dat file updating. Although you could roll that youself too.
EDIT: Another idea would be to use a Session Variable in the TrueUpdate Server properties dialog. So, instead of using: www.yourserver.com/whatever/myproduct as the Folder URL field, you could use: %RegServerURL% Then use SessionVar.Set to set %RegServerURL% to a value that you read using Registry.GetValue. Last edited by Brett; 06-01-2005 at 12:55 PM. |
|
#3
|
||||
|
||||
|
|
|
#4
|
||||
|
||||
|
Quote:
Quote:
Thanks! |
|
#5
|
||||
|
||||
|
Another questions I have is: can you add servers to True Update during run time?
Is there a way to add an update server to True Update, so that it would be retrieved by the "GetUpdateServerList" action? Thanks! |
|
#6
|
||||
|
||||
|
Quote:
Once you've set that session variable, on your Client Script tab, use one action to pull a value from the registry, and a second to assign that value's contents to the session variable: Code:
sServerURL = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\Application", "UpdateServerURL", true);
SessionVar.Set("%RegServerURL%", sServerURL);
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before. WebHelp Guides: AMS | MSIFACT | SUF | TU | VP |
|
#7
|
||||
|
||||
|
Quote:
If you use the TrueUpdate.LoadServerFile action, you are only loading the server file (and won't be updating the client, etc). Quote:
Does that make sense? Can someone explain this solution in a bit more detail too please? After you have set the session variable, what do you need to do to load the server script? Thanks![/QUOTE]
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before. WebHelp Guides: AMS | MSIFACT | SUF | TU | VP |
|
#8
|
||||
|
||||
|
Quote:
![]() I am taking the route of downloading the files, and then running them (as opposed to the session variable solution.) As far as telling when the updater exe and dat files need to be updated, is that something that can be discovered by comparing their file sizes? Also, I am thinking it may not be necessary because I can just release a patch (with Visual Patch) that could update both of those files if need be, right? |
|
#9
|
||||
|
||||
|
Quote:
Quote:
![]() Good luck with the project!
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before. WebHelp Guides: AMS | MSIFACT | SUF | TU | VP |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TrueUpdate 2.0 FAQ | Colin | TrueUpdate 2.0 | 0 | 01-04-2005 01:25 PM |
| What's New in TrueUpdate 2.0? | Colin | TrueUpdate 2.0 | 0 | 01-04-2005 01:24 PM |
| Key Features of TrueUpdate 2.0 | Colin | TrueUpdate 2.0 | 0 | 01-04-2005 01:23 PM |
| TrueUpdate 1.0 Press Release | Ted | TrueUpdate 1.0 | 0 | 08-17-2001 03:34 PM |
| Press Release: TrueUpdate 1.0 | Ted | Announcements & News | 0 | 08-13-2001 02:34 PM |
All times are GMT -6. The time now is 01:18 AM.







Linear Mode

