aegiscommerce
Posts: 1
Joined: Wed Dec 01, 2021 12:34 pm

Sample Web Application Installer

Wed Dec 01, 2021 12:44 pm

Hi,
Is there a sample project for installing an ASP.NET web application ( running on IIS ) , along with a SQL database.
Here are the steps :
1. Copy Application Folder(s).
2. Map folder(s) in IIS.
3. Select SQL Server . ( Install Express if not available).
4. Restore Database backup to SQL Folder.
5. Update Config files with SQL Server name and credentials.

Would be great if there is a sample project with as many matching steps from above.

This is a very standard requirement , so hoping that there would be a sample for this kind of project.

Thanks

Catalin
Posts: 4614
Joined: Wed Jun 13, 2018 7:49 am

Re: Sample Web Application Installer

Fri Dec 03, 2021 3:15 pm

Hello and welcome to our forums,

Unfortunately, we do not have a sample project for this exact scenario.

However, our help covers pretty much every point you need.
  • 1. Copy Application Folder(s).
This can be done by simply adding your files in the "Files and Folders" page
  • 2. Map folder(s) in IIS.
This can be done through our IIS page

How do I enable IIS during installation?

  • 3. Select SQL Server . ( Install Express if not available).


The easiest way to do this is through our predefined "SQLServerConnectionDlg" dialog (which does everything automatically for you).

The manual way: Configure MS-SQL Server Connection

Install SQL Server 2017 Silently/with BasicUI

In the above how-to, I am showcasing how to install SQL Server as a prerequisite, silently. You may find it useful.

  • 4. Restore Database backup to SQL Folder.


How to restore a database during installation

  • 5. Update Config files with SQL Server name and credentials.


You can try to achieve this through a "File update" operation.

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”