Hello,
Please follow the exact steps (all steps are mandatory for a successful installation):
- upgrade Advanced Installer to version 7.3 or higher if you haven't already done so.
- add SQL Express as a prerequisite in the Prerequisites page
- starting with this version, Advanced Installer will automatically set
the prerequisites as feature-based
- this will be installed during the main package installation, not
before it
- this is the default option that you can see in the "Options" tab if
you double click the prerequisite
- don't change this setting, it's perfect as it is
- on the Properties tab, make sure you are using a proper command line for installing MySQL express. It might look something like:
Code: Select all
/TCPENABLED=1 /ACTION="INSTALL" /QS /SQLSVCSTARTUPTYPE="automatic" /SECURITYMODE="SQL" /SAPWD="pa$$20O9"
You might want to read the article on
installing sql server 2008 from the command line for proper command line parameters.
IMPORTANT: make sure the password is very very complicated, numbers, letters and other characters. Otherwise, the installer will fail without a proper error to inform you of what's wrong.
- one more setting is required for the installation to complete correctly
- this is done in the Media page, Bootstrapper tab
- here you should set the "Execution Level" combobox to "Require
Administrator"
- build and test the package
The installation of the prerequisite should now complete successfully.
Best regards,
Gabriel
FOLLOW US
Get the latest news in Application Packaging