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!

BCh
Posts: 63
Joined: Wed Jan 17, 2007 6:32 am
Location: Australia

SQL Silent Install Prerequisite

Been on this a few days even after seeing some forum topics on the same topic.

Have Advanced Installer 11.9 trying to install SQL Server 2008 R2 in silent mode.

Have defined the install as a Pre-Install with the install commands as "/qs /ConfigurationFile="[SourceDir]\Data\ConfigurationFileConcept.ini"

Am getting an error in the SQL log - see below.



Have also include the Advanced Installer Log as an attachement.



How do I get the ConfigurationFileConcept.ini to be picked up by the SQL Installation?

Can get the installation OK if do not use any command lines but then have to enter all the SQL Installation Options (which I do not want the user to have to do).


Thanks,

Brian

------------------------------------------------------------------------------------------------------------------------------------
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2068578304
Exit facility code: 1204
Exit error code: 0
Exit message: The configuration file 'c:\166d7d011c8572a705bf1a7b42d135\[SourceDir]\Data\ConfigurationFileConcept.ini' does not exist. Specify a valid configuration file.
Start time: 2015-03-30 23:38:16
End time: 2015-03-30 23:38:52
Requested action: LandingPage

Machine Properties:
Machine name: RBCVM-WIN764
Machine processor count: 2
OS version: Windows 7
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No

Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL Server 2008 R2
Type: RTM
Version: 10
SPLevel: 0
Installation location: c:\166d7d011c8572a705bf1a7b42d135\x64\setup\
Installation edition: EXPRESS_ADVANCED

User Input Settings:
ACTION: LandingPage
CONFIGURATIONFILE: c:\166d7d011c8572a705bf1a7b42d135\[SourceDir]\Data\ConfigurationFileConcept.ini
ENU: True
FARMACCOUNT: <empty>
FARMADMINPORT: 0
FARMPASSWORD: *****
HELP: False
IACCEPTSQLSERVERLICENSETERMS: False
INDICATEPROGRESS: False
PASSPHRASE: *****
QUIET: False
QUIETSIMPLE: True
UIMODE: AutoAdvance
X86: False

Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150330_233550\ConfigurationFile.ini

Detailed results:

Rules with failures:

Global rules:

There are no scenario-specific rules.

Rules report file: The rule result report file is not available.

Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented

Exception type: Microsoft.SqlServer.Chainer.Infrastructure.InputSettingValidationException
Message:
The configuration file 'c:\166d7d011c8572a705bf1a7b42d135\[SourceDir]\Data\ConfigurationFileConcept.ini' does not exist. Specify a valid configuration file.
Data:
SQL.Setup.FailureCategory = InputSettingValidationFailure
DisableWatson = true
Stack:
at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.LogAllValidationErrorsAndThrowFirstOne(ValidationState vs)
at Microsoft.SqlServer.Configuration.BootstrapExtension.ValidateChainerSettingAction.ExecuteAction(String actionId)
at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
Inner exception type: Microsoft.SqlServer.Chainer.Infrastructure.InputSettingValidationException
Message:
The configuration file 'c:\166d7d011c8572a705bf1a7b42d135\[SourceDir]\Data\ConfigurationFileConcept.ini' does not exist. Specify a valid configuration file.
Data:
SQL.Setup.FailureCategory = InputSettingValidationFailure

---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Attachments
NoMixSpectro.log
(228.56 KiB) Downloaded 314 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: SQL Silent Install Prerequisite

Hello,

This happens because you are trying to use a formatted reference (i.e. [SourceDir]) in the "Install Command Lines" fields of your pre-install prerequisite. You cannot use formatted references in the "Install Command Lines" fields of a pre-install prerequisite.

To achieve what you want you can add your prerequisite as a file from disk and, then add the "ConfigurationFileConcept.ini" file in the "Additional files" section of your prerequisite. Next you can use a command line like this:

Code: Select all

/qs /ConfigurationFile=ConfigurationFileConcept.ini
Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BCh
Posts: 63
Joined: Wed Jan 17, 2007 6:32 am
Location: Australia

Re: SQL Silent Install Prerequisite

Did actually manage to work it out - mainly trial and error. Lost many hours for something that should have been a 10minute set-up.

Will try and post what I found - after a bit more testing- to maybe help others not waste a weeks effort.

Believe there are some things not said in documentation that make a big difference.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: SQL Silent Install Prerequisite

Hello,

I'm glad you got this working. Feel free to post any feedback you think it may be useful for future users facing with the same scenario.

Also, if you have any suggestion about how we can improve our user guide don't hesitate to share your thoughts with us.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”