# Running the Installer

Run the setup program for the appStrategy product you have purchased or that you are evaluating to install the software. appStrategy’s product installers follow the same format. The example below shows the appRules Portal installer - appRulesPortalSetup.exe.

Run the program “As Administrator” and follow the instructions of the installer wizard.

![](/files/-MFuKbzChrDVURbPK4Fb)

You can change the installation directory (Default is C:\Program Files\\), a folder called appStrategy will be created in this directory (containing the web application appRulesPortal). Another folder called appStrategy will be created in the current windows ProgramData folder (folder shared by all computer users). Agree to the License terms and conditions and click the INSTALL button.

Optionally a window displays the list of mandatory prerequisites to install (this window is not displayed if the prerequisites are already present on the current computer).

![](/files/-MFuKbzDfsjS0vsDSN7p)

Configure the appRules Host Service (appRules Web Server)  by specifying a URL and port (the installer will check if this port is opened and available)

The windows service will be installed and started automatically.

You will be able to stop and or remove it or change the port after installation if you prefer to run on IIS (see related section in the following pages of the current document)&#x20;

![](/files/-MFuKbzEdP-aURFjh14V)

Configure the appRules Web Api URL by specifying a URL and port (the installer will check if this port is opened and available) The windows service will be installed and started automatically.

You will be able to stop and or remove it or change the port after installation (see related section in the following pages of the current document) &#x20;

![](/files/-MFuKbzFNZY3TjI9xwza)

Click the Install Button to confirm the Installation.

After Installation, see [Web Site Installation on IIS](/apprules-r-documentation/platform/self-hosting/software-installation/iis-setting.md) or [Using HostService](/apprules-r-documentation/platform/self-hosting/software-installation/hostservice.md) to start using appRules Portal. &#x20;

### Authenticate the license

Open your browser and navigate to the address provided for the host service (default is localhost:8080).

From the AppRules login page, you will be asked to authenticate your license.

<figure><img src="/files/7MV1PgieZyTJubhgYegP" alt=""><figcaption></figcaption></figure>

Click the "Activate License" button.

<figure><img src="/files/pCX8yLQyzWTz3a8yrDos" alt=""><figcaption></figcaption></figure>

Enter your activation key, then click the "Activate" button.

<figure><img src="/files/7nO7oymkTXKbJkeL93H1" alt=""><figcaption></figcaption></figure>

Click "OK," and you will be redirected to the login page.

<figure><img src="/files/7wMARw6jrnOfDYEGkGkv" alt=""><figcaption></figcaption></figure>

If the "Activate License" button continues to display, check the properties of the "ProgramData/appstrategy" folder under the Security tab to ensure that Users have Read/Write permissions.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appstrategy.com/apprules-r-documentation/platform/self-hosting/software-installation/running_installer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
