Installing an application

You can copy the generated package to any computer running Windows and install the application to any number of PowerServer and Web servers. Installing an application using the generated package is the same as deploying an application using the PowerServer Application Deployment Wizard.

Step 1: Start the target PowerServer(s) and Web server(s) where you want to install the application.

Step 2: Run the Setup.exe file in the generated package.

The PowerServer Application Deployment Wizard is displayed. Click Next to proceed.

Welcome page

Step 3: Select the deploy-config file (config.xml) to ease your configuration of the installation wizard. The installation wizard will use the settings in the config.xml file.

If you do not want to use the deploy-config file, simply skip this option and click Next to configure the settings step by step.

Select the configuration file

Step 4: Input the Application Profile Name and the Application URL for the application and click Next.

The Application Profile Name is used as the application name to identify an application. If you want to install multiple instances of the same application on the same server, you can run the setup package repeatedly and specify different Application Profile Name here. For example, input appeon_code_examples_test as the Application Profile Name in the first installation, and input appeon_code_examples_production as the Application Profile Name in the second installation. The Application Profile Name will be used as the application name to distinguish the multiple application instances on the same server, so they can be run independently from each other.

Specify Application Profile Name and Application URL

Step 5: Configure and select profiles for the PowerServer(s) and the Web server(s) where the application will be installed.

To install the application to a PowerServer cluster, please create a PowerServer profile for each PowerServer in the cluster. For detailed instructions on how to create the PowerServer profile and Web server profile, refer to the section called “Managing server profiles” in PowerServer Toolkit User Guide.

Specify server settings

Step 6: Select whether to install AEM settings and data sources for the current application and click Next.

Deploy AEM settings

Step 7: Specify the destination folder for the undeployment tool and the log file and click Next.

Specify location for the PowerServer Undeployment Tool

Step 8: Specify the destination file and source file that you want to replace for the PowerServer application package, and click Next.

Files (also called "destination file") under the "wcode" folder of PowerServer application package can be replaced by files of the same type (also called "source file"), so that the source file will be installed instead of the destination file. When you click the Add button, the File Replacement dialog box is opened. To select the destination file, click Browse to display the Open file dialog which will automatically open the "wcode" folder of PowerServer application package, so you can conveniently select a file from the "wcode" folder or from its subfolder. To select the source file, click Browse to navigate to the folder where the source file is stored.

Specify files to replace for the application package

Step 9: Wait while the wizard is installing files and settings.

Deploying the application

Step 10: Once the operation is complete, click Finish to exit the installation wizard.

To run the application immediately, select the Run Application Now option and click Finish. Or you can run the application later from the Windows Start | Programs | Appeon Web Application | ApplicationName.

To view the log information generated during the installation process, select the View Log box and then click Finish. The log file will be displayed.

Deployment complete