Consultor Eletrônico



Kbase P101637: How to change the WebClient hosting destination for a currently installed application
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/1/2005
Status: Unverified

GOAL:

How to change the WebClient hosting destination for a currently installed application

GOAL:

How to change the destination for WebClient updates

GOAL:

How to change the location of the prowcapc file

FIX:

There are a few techniques that can be used:
1. You can have the prowcapc location changed immediately after a WebClient installation. This can be useful where you have a large initial installation from CD, but want future updates to come from a webserver elsewhere.

To do this, when using the WebClient Application Assembler to build the WebClient application, change the "Configuration File URL:" to point to the location for future updates. This will update the location but will not use it until AFTER the installation of this application package. Be aware that when you are installing the application, you are running the current prowcapc file that doesn't have the new URL. This in turn means that after the installation of this application package it will automatically run the current application and will NOT check the new URL for updates. It will only use the new URL once you exit and restart the application.


2. You can update the following registry key manually to point to the new location:

HKEY_LOCAL_MACHINE\SOFTWARE\<YourVendorName>\<YourApplicationName>\ProwcappLocator\URL


3. You can use the ini2reg utility to update the location:

a) Create an ini file with the following contents, I will call it prowcapc.ini in this example. NOTE: You need to substitute the items in <> brackets with appropriate items:

[PROWCAPPLOCATOR]
URL=http://hostname/<YourVendorName>/<YourApplicationName>

b) Run the following command to silently update the registry key using that ini file:

ini2reg -i prowcapc.ini -b HKEY_LOCAL_MACHINE -s SOFTWARE\<YourVendorName>\<YourApplicationName>\ -ao