OpenEdge_install_dir\webinstall\webclient\web_image\webclient.htm
|
function scriptPlayer() {
// Catch player initialization error if ((!player) || (typeof(player.LastError) != "number")) { iHelp("player","init", ERR_CONTROL_LOAD); return; } else { if (player.LastError != 0) { iHelp("player","init", player.LastError); return; } } // URL from address bar var strSetupURL = getSetupURL(); // Open the installation ether = player.Open(strSetupURL); // Catch player open error if (!ether) { iHelp("player", "open", player.LastError); return; } // TODO: To run the WebClient Initializer after the WebClient install completes, you // must provide the location (including the file name) of your prowcapc file. To do this, // remove the "//" at the beginning of the last line of this comment (to uncomment it). // Then customize that line by replacing <URL...> with the location and name of your // prowcapc file as in this example: // // ProwcappURL = "http://server1/webclient/app_installer/yourapp.prowcapc"; // // ProwcappURL = "<URL to your .prowcapc file>"; // OR: If you are using a One-Click application install (implemented using InstallShield // V6 or later) you can run it directly after the WebClient install completes by // providing the location (directory only) of your installer image plus the location // (including the file name) of your prowcapc file. To do this, remove the "//" // at the beginning of the last 2 lines of this comment (to uncomment them). // Then customize those lines by replacing <URL...> with the directory // containing your application installer image and the location and name of your // prowcapc file as in this example: // // ApplicationURL = "http://server1/webclient/app_installer"; // ProwcappURL = "http://server1/webclient/app_installer/yourapp.prowcapc"; //By Default set the URL as below: // ProwcappURL = "none"; // ApplicationURL ="none"; //Set command line ApplicationURL ="none"; ProwcappURL = "none"; // DO NOT EDIT THE NEXT LINE!!! SetupPlayerID = "InstallShield.OCISetupPlayerOCX17"; var commandline = "/hide_usd" + " -psc_prowcappURL=" + ProwcappURL + "-psc_applicationURL=" + ApplicationURL + "-psc_setupPlayerID=" + SetupPlayerID; if (IS_NAV == true) commandline = commandline + "-psc_UsingNetscape" ether.SetProperty( "is::CmdLine", commandline ); // Ready to install writeText("txtMsg", "Click <a href='javascript:startInstall()'>Install</a> to <b>start</b> this installation now. You will be prompted when the InstallShield Wizard starts."); document.images["imgOCI"].src = "_Graphics/Install.gif"; } To run WebClient Initializer after the WebClient install, you might customize the startInstall() function to look like this: function scriptPlayer() { ProwcappURL ="http://server1/webclient/app_installer/yourapp.prowcapc"; |
function scriptPlayer() {
ProwcappURL ="http://server1/webclient/app_installer/yourapp.prowcapc"; |
function scriptPlayer() {
ApplicationURL ="http://server1/webclient/app_installer"; ProwcappURL ="http://server1/webclient/app_installer/yourapp.prowcapc"; |