This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Connect
- :
- FlexNet Connect Forum
- :
- Re: Server info not written to <GUID>.ini file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2003
07:51 AM
Server info not written to <GUID>.ini file
I'm evaluating the self hosted ISUS 2.1 and found that the sample app works as expected. However when adding my own application and attempting to check for updates, it fails with an Error 13001 - Product not registered...
I found that the server= line is not being written to the following ini file:
C:\Program Files\InstallShield Installation Information\UpdateService\Database\{my product GUID}.ini
I'm using the following code in a .vbs file to check for updates:
Set pAgent = CreateObject( "DWUpdateService.Agent" )
szProductGUID = ""
'check for updates
if pAgent.IsConnectedEx(szProductGUID) then
pAgent.AppUpdate szProductGUID, AppMenu
end if
I found that the server= line is not being written to the following ini file:
C:\Program Files\InstallShield Installation Information\UpdateService\Database\{my product GUID}.ini
I'm using the following code in a .vbs file to check for updates:
Set pAgent = CreateObject( "DWUpdateService.Agent" )
szProductGUID = "
'check for updates
if pAgent.IsConnectedEx(szProductGUID) then
pAgent.AppUpdate szProductGUID, AppMenu
end if
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2003
10:00 AM
Hi Tylee,
Did you alter your install to set the server value? I put the steps below for Professional. For other authoring tools (Express/ Developer), see the Update Service online help topic: "Direct the Runtime to My On-Site Notification Server"
-----------------
Version 7 Service Pack 1 and Later
In your setup script, call the UpdateServiceSetHost function. For details, see the InstallShield Professional Help Library.
Version 7 (No Service Pack)
In your setup script, use code like the following after file transfer:
LaunchAppAndWait( COMMONFILES ^ "InstallShield\\UpdateService\\Agent.exe", "-sh -s", LAAW_OPTION_WAIT );
Version 6.x
Set the Update Service object's Host property to the URL of your local Notification Server. An example of the Host property is shown below:
begin
set oObject = GetObject( "New InstallShield Update Service 1" );
oObject.ProductCode = PRODUCT_GUID;
oObject.ProductVersion = "1.2";
oObject.ScheduleInterval = 30;
oObject.Host = "http://updates.yourcompany.com/"
end;
Did you alter your install to set the server value? I put the steps below for Professional. For other authoring tools (Express/ Developer), see the Update Service online help topic: "Direct the Runtime to My On-Site Notification Server"
-----------------
Version 7 Service Pack 1 and Later
In your setup script, call the UpdateServiceSetHost function. For details, see the InstallShield Professional Help Library.
Version 7 (No Service Pack)
In your setup script, use code like the following after file transfer:
LaunchAppAndWait( COMMONFILES ^ "InstallShield\\UpdateService\\Agent.exe", "-sh
Version 6.x
Set the Update Service object's Host property to the URL of your local Notification Server. An example of the Host property is shown below:
begin
set oObject = GetObject( "New InstallShield Update Service 1" );
oObject.ProductCode = PRODUCT_GUID;
oObject.ProductVersion = "1.2";
oObject.ScheduleInterval = 30;
oObject.Host = "http://updates.yourcompany.com/"
end;
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2003
10:21 AM
Are you saying that each setup package must contain the server url info in it?
The problem here for me is that my customers will be hosting their own servers, but I will be providing them a common setup package. So I can't include the server url in the code.
Can I include the server information in the .vbs file that checks for updates?
The problem here for me is that my customers will be hosting their own servers, but I will be providing them a common setup package. So I can't include the server url in the code.
Can I include the server information in the .vbs file that checks for updates?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2003
11:15 AM
There are two ways you can solve that problem.
1. During the installation you can prompt for the server URL. That is what we do with the sample program.
2. You can use SetHost() API to set the server from your application or from a VBScript.
SetHost () takes ProductCode and host as parameter. Query for IAgentEx to see SetHost().
1. During the installation you can prompt for the server URL. That is what we do with the sample program.
2. You can use SetHost() API to set the server from your application or from a VBScript.
SetHost () takes ProductCode and host as parameter. Query for IAgentEx to see SetHost().
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2003
11:16 AM
fyi... you won't find SetHost() in the Update Service online help. That was just an omission on our part. It will be corrected in the next release.