|
#1
|
|||
|
|||
|
Server location URL
Hi Members,
I need help to find about the list of server locations true updates using. At this point i am able to get the true update server name/ID from the table returns by action GetUpdateServerList(). But it gives only Servername not actual LocationURL. Any help will be appreciated. |
|
#2
|
||||
|
||||
|
Hi mcme,
Why do you need to know the URL associated with the each server? You do not need to know the URL of the server in order to download it, you can simply use TrueUpdate.GetServerFile() and pass it a server id. Currently there is no way to get more information about a specific server in TrueUpdate, however you could do this manually by creating your own table with this information, indexed by the server ID, in the Client Script. I have also added this as a suggestion.
__________________
MSI Factory The Next Generation Intelligent Setup Builder |
|
#3
|
|||
|
|||
|
If you are trying to make a Generic download script then knowing the Server URL is extremely important! Right now I grab the Server name and then hard code the location. What happens when the Server location changes though? I have to go back into my script and change all my download locations.
From Client Script: -- Loop through the list of TrueUpdate Servers for index, ServerName in tableTrueUpdateServers do -- Attempt to download the server configuration files GotServerFiles = TrueUpdate.GetServerFile(ServerName, false); -- If the download was successful, run the server script if(GotServerFiles) then -- Capture the location of the TrueUpdate Server where we found the files g_SourceServer = tableTrueUpdateServers[index]; TrueUpdate.RunScript("Server Script"); break; end end From Server Script: if (g_SourceServer == "Ethnic Print Media Server") then g_SourceURL = "http://www.epmg.com/Downloads/Setup.exe"; This would be much nicer if I knew the URL because then I would have it be generic. Quote:
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can the uif receive the active server? | kielty | TrueUpdate 1.0 | 0 | 07-09-2004 06:13 PM |
| Dynamic Server File Location | longe | TrueUpdate 1.0 | 3 | 04-26-2004 03:04 PM |
| Permissions Required On Web Server For Client Access | David Ferguson | TrueUpdate 1.0 | 5 | 12-19-2003 08:41 PM |
| HOW TO: Return a Web Browser Object to the Original URL after a Page Jump | Support | AutoPlay Media Studio 4.0 Examples | 0 | 02-03-2003 10:18 AM |
| New server location in runtime... | Drakkar | TrueUpdate 1.0 | 1 | 06-26-2002 10:47 AM |
All times are GMT -6. The time now is 01:10 AM.






Linear Mode

