Hello,
The requirement is to build a single click installer for a system that consists of a .asp web application, windows service, an app to configure the service
You can add your service and configure it in the
Services page. You can take a look on the
Creating a Java Service Installation tutorial with related information for hints and guidance.
sql server express
You can add the desired version of the
SQL Server from our predefined list of
prerequisites. You can also take a look on the
Add Prerequisite article which contains useful information.
The asp web app is to be hosted in IIS, and requires .net framework 4.5.
You can add your asp web app in the
IIS page. Since your application require the
.Net Framework 4.5, you can add it as a prerequisite too in the
Prerequisites page.
I'm new to installers, but I think that I should be able to install all above components using a single installer.
Yes, following the above steps will produce a single installation package.
The basic requirement is for no user interaction, so the sql server and windows service installations need to be non interactive but if a more sophisticated user would like to take more control, interactive setup is optional.
You can try to following approach for this.
In the
Install Parameters page
define a
property, something like that:
- Name: INSTALLER_LEVEL
- Value: /qb
Then, you can go in the
Configuration tab from the
Media page and add a reference to the related property in the
MSI Command Line: field which is of
PseudoFormatted Type (e.g.
[|INSTALLER_LEVEL] ). So, when you will run the installer if will be launched with
basic user interface (simple progress bar and error handling).
For advanced users, you reset the value of the INSTALLER_LEVEL property through the command line. In order to achieve that, you can use a command line statement like this:
Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.
Best regards,
Dan