SQl Express Command after installation. - Advanced Installer Community

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!

gcrobson
Posts: 3
Joined: Tue Apr 05, 2011 11:26 am

SQl Express Command after installation.

Hi,

I've got an installation that installs SQL Express 2005 and it's working great. But after the installation of SQL Express I need to run a command to make changes to the SQL Express installation. My question is where do I put my command line so that it fires once the SQL Express installation is complete.

Thanks in advance,
Gary
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: SQl Express Command after installation.

Hi Gary and welcome to the Advanced Installer Forums,

How are you installing SQL Express 2005? If you included it as a prerequisite can you please specify the general settings from the "Options" tab of the prerequisite?

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gcrobson
Posts: 3
Joined: Tue Apr 05, 2011 11:26 am

Re: SQl Express Command after installation.

Hi,

In the Prerequisite options panel I have 'feature-based prerequisite installs during main MSI install' selected. No other options are selected. I also have a command line in the Properties panel to do a silent install. What I'm trying to do is run an SAC command to enable remote access to SQL Server Express once it's installed.

Cheers,

Gary
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: SQl Express Command after installation.

Hi Gary,

Please note that feature based prerequisites are NOT installed when the installation is performed with basic or no user interface, thus you should set the prerequisite as global if you wish to perform a silent install.
In this case you can schedule a "Launch file or Open URL" predefined custom action anywhere in the install sequence from the Custom Actions Page because the prerequisite will be installed before the main installation. For more information here is an article that can guide you.

You may also find this article helpful.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gcrobson
Posts: 3
Joined: Tue Apr 05, 2011 11:26 am

Re: SQl Express Command after installation.

Thanks for your help. It's so obvious when you tell it like that lol.

Cheers,
Gary
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: SQl Express Command after installation.

You are welcome, glad to assist.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”