Salesforce

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

« Go Back

Information

 
TitleHow to change the WebClient hosting destination for a currently installed application
URL NameP101637
Article Number000192431
Environment
Question/Problem Description
How to change the WebClient hosting destination for a currently installed application
How to change the destination for WebClient updates
How to change the location of the prowcapc file
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution

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

Workaround
Notes
Keyword Phrase
Last Modified Date9/13/2015 5:29 PM

Powered by