Hello,
We've investigated further this issue, and in order fulfill your scenario you can use a custom action (added in Finish Dialogs Stage) which will launch, based on a feature selection condition, the SQL Server prerequisite setup after the main installation finishes.
Here are the steps to proceed:
- Go to "Custom Actions" page and add a
"Launch attached file" with sequence, scheduled in Finish Dialogs Stage, which will launch the prerequisite package.
- From "Custom Action Properties" right pane uncheck the "Wait for custom action to finish before proceeding" and "Wait for return code at the end of the sequence" options.
- Build and run your project.
Also, if you want to install in
silent mode the SQL Server prerequisite package you can use (in the "Command" field of the above custom action) a command line like this (tested on a Windows 7 SP1):
Code: Select all
/q /ACTION=Install /IACCEPTSQLSERVERLICENSETERMS /INSTANCENAME=SQLSERVER /ROLE=AllFeatures_WithDefaults /ADDCURRENTUSERASSQLADMIN=TRUE /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /FEATURES=SQL
Here's attached a sample, created using version 9.9 of Advanced Installer, which implements a similar scenario.
Let us know if this helped.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging