Indigo Rose Software
  #1  
Old 10-19-2005
mcme mcme is offline
Forum Member
 
Join Date: Oct 2005
Posts: 7
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  
Old 10-21-2005
Mark's Avatar
Mark Mark is offline
Indigo Rose Staff Member
 
Join Date: Jun 2000
Location: Indigo Rose Software
Posts: 1,773
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  
Old 10-22-2005
rkligman rkligman is offline
Forum Member
 
Join Date: Sep 2005
Posts: 17
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:
Originally Posted by Mark
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.
 

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


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.


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