We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

dms
Posts: 164
Joined: Tue Aug 28, 2007 7:11 am
Location: UK

Is there a sample and if not could you provide one

Hi

Having used AI for years now I have watched it mature into an extremely capable product, and its clear that it can do a great deal (certainly more than I necessarily realise that it can). I have been searching through the help files and all of the tutorials and how to articles for one particular sample but can't find it, so I'd thought that I'd ask if one exists or if not perhaps if you could build one.

Specifically I'd love to see a sample that installs SQL Server Express, and then goes on to install a database into that new instance of sql express. It would need to install sql express as quietly as possible (ie not prompting the end user to make decisions) and when the actual program installation occurs the database installation should again be as painless (or perhaps I should say as decision less as possible) to the end user.

If possible examples showing the installation of both sql express on its own, or the full sql express with all the tools (management studio express etc) would be very welcome.

Many thanks

Dom
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Is there a sample and if not could you provide one

Hello Dom,

Here are some resources that might help you in case you miss them:

You can add the “SQL Server Express” as a prerequisite from our predefined list of prerequisites. You can also take a look on the Add Prerequisite article which may help you.
If you want to have an unattended SQL Server prerequisite installation, please take a look on the SQL Prerequisite Install similar to ClickOnce thread which may help you.

Also you can take a look on the Using SQL Scripts tutorial which will guide you in configuring SQL scripts that will be executed during installation if the application you are installing depends on certain database content and configuration or the Configure most common SQL connections tutorial which will guide you in configuring the most used SQL connection types. Usually a connection to a SQL Server is needed in order to use scripts during your application install process or if it depends on certain database content and configuration.

Unfortunately we don't have a sample which implements your scenario. I added on our TODO list and it will be available soon. Thank you for your suggestion.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”