I use something like this for SQL2008: <component command=""#APPPATH\SQLExpress2008\SQLEXPR32_x86_ENU.EXE" /SkipRules=RebootRequiredCheck /Q /CONFIGURATIONFILE="#CABPATH\SQLSERVER2008.INI" /HIDECONSOLE" command_silent="" command_basic="" uninstall_command="" uninstall_command_silent="" uninstall_command_basic="" returncodes_success="" returncodes_reboot="3010,-2227047362" disable_wow64_fs_redirection="False" id="SQL Server Express 2008 R2 x86" display_name="SQL Server Express 2008 R2" uninstall_display_name="" os_filter=" " os_filter_min="" os_filter_max="" os_filter_lcid="" type="cmd" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="True" failed_exec_command_continue="" allow_continue_on_error="False" default_continue_on_error="False" required_install="True" required_uninstall="True" selected_install="True" selected_uninstall="True" note="" processor_architecture_filter="x86" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="False" show_progress_dialog="True" show_cab_dialog="True"> <installedcheck path="SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL" fieldname="YourInstanceName" fieldvalue="" defaultvalue="False" fieldtype="REG_SZ" comparison="value_exists" rootkey="HKEY_LOCAL_MACHINE" wowoption="WOW64_32" type="check_registry_value" description="Check for YourInstanceName Instance" /> <embedfile sourcefilepath="SQLExpress2008\SQLSERVER2008.ini" targetfilepath="SQLSERVER2008.ini" /> </component>
The file SQLSERVER2008.ini contains your setup (see SQL docs for details. Note: this only installs the 32 bit version. Neil -----Original Message----- From: kim [mailto:contactme...@gmail.com] Sent: 09 February 2011 18:06 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] CustomAction fails with error code 1603?? Thanks for th reply Neil. If possible can you please provide an example of the configuration file used with dotNEtInstaller that checks if SQL Server is installed or not and if not available installs it? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CustomActi on-fails-with-error-code-1603-tp6000977p6008847.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users