|
#1
|
||||
|
||||
|
Port of TrueUpdate servers
I was trying to find out how can I set the Port of TrueUpdate servers in TU2 client at the loading time.
I'd like to use a Session Variable in the TrueUpdate Server properties dialog. So, as the Port field, I want use: for example, strURL = Registry.GetValue(HKEY_CURRENT_USER,SessionVar.Exp and("Software\\%CompanyName%\\%ProductName%"),"Log OnServer",false); strPort = Registry.GetValue(HKEY_CURRENT_USER,SessionVar.Exp and("Software\\%CompanyName%\\%ProductName%"),"iFi leSvcPort",false); SessionVar.Set("%RegServerURL%", strURL); SessionVar.Set("%RegServerPORT%", strPort); GotServerFiles = TrueUpdate.GetServerFile(ServerName, false); I would appreciate your help. Thanks. |
|
#2
|
||||
|
||||
|
You should be able to accomplish this by going to Project -> True Update Servers and adding custom variables for the address and port fields. Then at the very start of the client script set those variables using SessionVar.Set()
Adam Kapilik |
«
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 02:08 PM.






Linear Mode

