Hi,
My recommendation is to use prerequisites. You can read more about how to use prerequisites in AI here:
http://www.advancedinstaller.com/user-g ... tware.html
Here is how to add SQLExpress as prerequisite: Switch to "Prerequisites->Software" page, choose "New..." and select the SQLExpress setup file (SQLEXPR32.EXE). Use following options for this prerequisite:
Command Line: -q /norebootchk /qn reboot=ReallySuppress addlocal=all instancename=INSTANCE_NAME SECURITYMODE=SQL SAPWD=Password SQLAUTOSTART=1
As "Install Conditions" specify:
1. Criteria: Registry value exist
Registry Value: HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL\INSTANCE_NAME
2. Criteria: Registry key exist
Registry Key: HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\INSTANCE_NAME
Also you can specify all SQLExpress install options in a template.ini file and use following command line: -q /norebootchk /qn /settings template.ini (add template.ini file in the "Files" tab of the "Edit Prerequisite" dialog).
Hope this helps.
Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
FOLLOW US
Get the latest news in Application Packaging