Salesforce

How to setup a WebClient install across a LAN With No Web Server

Information

 
TitleHow to setup a WebClient install across a LAN With No Web Server
URL Name21169
Article Number000136088
EnvironmentProduct: Progress
Version: 9.1E
Product: OpenEdge
Version: 10.x, 11.x
OS: All supported platforms
Other: WebClient
Question/Problem Description
How to Use Progress 9.1x WebClient Across a LAN with No Web Server
How to use WebClient with No Web Server
How to setup Webclient using a File Server
How to setup Webclient using an Intranet
How to setup WebClient to run from a local drive
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
To change an existing Webclient Application to deploy across a LAN:
  1. Generate a new version of the Webclient with File references 
  2. Modify the Appservtt.d file ( If using and AppServer).
  3. Obtain the web_image folder from the Progress Installation media. 
  4. Modify the bootstrap.htm file 
  5. Modify the webclient.htm file
1. Generate a new version of the Webclient with File references

URL references need to be replaced with File References.

In this Article's examples H: is the mapped drive that the clients will access. 

Edit the WebClient project file (.wcp file) in the WebClient Application Assembler:
 
a. Under the General tab change the Configuration File URL: to point to the directory location of the prowcapc file on the File Server. Do not include the filename. 
 
Configuration File URL: file://H:\Deploy\
b. Under the Component tab change the Codebase URL: to the directory location of the .cab files on the File Server. 
 
Codebase URL: file://H:\Deploy\
c. Under the WebClient tab change the WebClient Install URL:
 
WebClient Install URL: H:\Deploy\
d. Generate a New Version of the WebClient Application to update the *.prowcapc file.

The PATHs specified in each of the text boxes above must be accessible from the end-user machine.

2. Modify the Appservtt.d file( If using an AppServer)

Edit the appsrvtt.d created in the Output directory of the Generated application.  
 
Change: "http://yourservername/aia/Aia?AppService=sports2000partition"  to ""
 
3. Obtain the web_image folder from the Progress Installation media. 

The Progress installation media provides WebClient image files for an Intranet deployment under WebInstall\WebClient\web_image. This is the image that is used to perform Intranet installations

Copy all the files contained in the web_image folder to the file server that will host the installation. The drive where the files reside must be a mapped drive or UNC path. The URL will reference the mapped drive (FILE://M/directory path)
 
4. Modify the bootstrap.htm file 

Modify the bootstrap.htm file on the File Server to point the URL location to the *.prowcapc and Webclient.htm file using directory pathing. 
  • document.location.href tag is directed to the *.prowcapc file located on the File server.  
  • window.location tag points to the webclient.htm file located on the file server:
//. Reference a prowcapp file to invoke prowcini.exe
// NOTE: MODIFY THIS URL TO POINT TO THE .prowcapc FILE.
  document.location.href = "H:/Deploy/sportspro.prowcapc";
 }
 else
 {
  // Start install process for Web Client
  // NOTE: MODIFY THIS URL TO POINT TO THE WebClient Install page
  window.location = "H:/Deploy/webclient.htm"; 
5. Modify the webclient.htm file

Edit the webclient.htm located on the File Server to ensure that the install is done as a File Server install.
 
a. On versions prior to OE 11.x - Under the function StartInstall (), uncomment the following line:
ether.SetProperty("ProwcappURL", "<URL to your .prowcapc file>")
 
b. Change the ProwcappURL to point to the *.prowcapc file located on the file server.  
 
ProwcappURL = "H:/Deploy/sportspro.prowcapc";
 
c. Comment out the OBJECTID line that is used for an InterNET install by adding backslashes "//" to the beginning of the line
<!-- Installs and Invokes the Setup Player -->
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->

// <object id="playerIE" align="baseline" height="1" width="1" classid="CLSID:5FE8CD14-98DF-454A-8DDB-60554C20F327" codebase="setup.ocx#Version=22,0,0,330" VIEWASTEXT></object>
 
Workaround
PowerShell Script:
Start-Process -FilePath 'C:\Program Files\Common Files\Progress Software\WebClient\prowcini.exe' -ArgumentList H:\MyApp.prowcapc

$wshell = New-Object -ComObject wscript.shell;
$wshell.AppActivate('Myapp')
Sleep 1
$wshell.SendKeys('~')
Notes
Keyword Phrase
Last Modified Date11/23/2021 9:35 PM

Powered by