


Get System Setting Processor Architecture into Processorĭefine File Bag : #PROJDIR#\\sqlncli_ia64.msi, get runtime location of files into variable SqlNativeClientLocation Get System Setting Windows in 64 bit Mode into Is64Bit You may be unable to use the Online folder features. MessageBox: $TITLE$ Setup, Microsoft SQL Server Native Client install failed. If Variable SQLNativeClientInstallResult not Equals SUCCESS You will have to run setup again at a later time to install $TITLE$. Setup will resume once your computer restarts.$NEWLINE$$NEWLINE$If you click CANCEL, setup will exit. MessageBox: $TITLE$ Setup, Your computer needs to be restarted before $TITLE$ Setup can continue.$NEWLINE$$NEWLINE$Please save your work in all running programs and click OK to restart your computer. If Variable SQLNativeClientInstallResult Equals REBOOT Install/Remove MSI Package $SqlNativeClientLocation$\\sqlncli.msi (get result into variable SQLNativeClientInstallResult)

Set Variable SQLNativeClientInstallResult toĭefine File Bag : #PROJDIR#\\sqlncli.msi, get runtime location of files into variable SqlNativeClientLocation Set Variable PROGRESSTEXT to Installing Microsoft SQL Server Native Client 9.0 If Variable SQLNativeClient9Exists Equals FALSE I am also using web media and would prefer if only the correct version is downloaded.Īs a side note to InstallAware it would great if this were a standard application prerequisite along side of MDAC.Ĭode: Select all Set Variable SQLNativeClientInstallResult to SUCCESS I just don't know how to make that check and switch. Microsoft provides three different MSI files that I need to switch between. Here are the links from the Microsoft website I was using to get started:ĭeploying Applications with SQL Native Client It seems to be my check script would be looking in the wrong directory for the dlls. The check function seems to work as the install does not try to install the native client if the user download the correct install from Microsoft's website and installs it first. I got this far by copying existing scripts, but I don't have one that seems to do what I need. What I have right now works for 32 bit machines but not 64 bit. I am trying to get a script working to install the SQL Native Client provide on both 32 and 64 bit machines.
