1 vote
registry check for sqlexpress is not working for me

Description

 
hi created my own bootstrapper for sqlexpress 2005 sp3 ,i am checking registry for sql express installed and my custom instance is installed or not but it is not working for me i am getting error sqlbootstrapper failed

pls check the above code and tell me were i made a mistake .i also attached setup log file for your reference


<?xml version="1.0" encoding="utf-8"?>
<Package Name="DisplayName" LicenseAgreement="eula.txt" Culture="Culture" xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper">
<PackageFiles CopyAllPackageFiles="false">
<PackageFile Name="eula.txt" />
<PackageFile Name="sqlexpr32.exe" HomeSite="SqlExprExe" PublicKey="3082010A0282010100A2DB0A8DCFC2C1499BCDAA3A34AD23596BDB6CBE2122B794C8EAAEBFC6D526C232118BBCDA5D2CFB36561E152BAE8F0DDD14A36E284C7F163F41AC8D40B146880DD98194AD9706D05744765CEAF1FC0EE27F74A333CB74E5EFE361A17E03B745FFD53E12D5B0CA5E0DD07BF2B7130DFC606A2885758CB7ADBC85E817B490BEF516B6625DED11DF3AEE215B8BAF8073C345E3958977609BE7AD77C1378D33142F13DB62C9AE1AA94F9867ADD420393071E08D6746E2C61CF40D5074412FE805246A216B49B092C4B239C742A56D5C184AAB8FD78E833E780A47D8A4B28423C3E2F27B66B14A74BD26414B9C6114604E30C882F3D00B707CEE554D77D2085576810203010001" />
</PackageFiles>
<InstallChecks>
<RegistryCheck Property="SQLEXPRESSINSTALLED" Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90" Value="sqlexpressinstalled" />
<RegistryCheck Property="SQLINSTANCEINSTALLED" Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\INDUSTRYMANAGER" Value="sqlinstanceinstalled" />

</InstallChecks>
<Commands Reboot="Defer">
<Command PackageFile="sqlexpr32.exe" Arguments="'-q /norebootchk /qn reboot=ReallySuppress addlocal=all instancename=IndustryManager SQLAUTOSTART=1 ADDUSERASADMIN=1'" EstimatedInstalledBytes="225000000" EstimatedInstallSeconds="225000000" EstimatedTempBytes="420">
<InstallConditions>
<BypassIf Property="SQLEXPRESSINSTALLED" Compare="ValueEqualTo" Value="sqlexpressinstalled" />
<BypassIf Property="SQLINSTANCEINSTALLED" Compare="ValueEqualTo" Value="sqlinstanceinstalled" />
<FailIf Property="VersionNT" Compare="VersionGreaterThanOrEqualTo" Value="5.1"/>
<FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired" />
<FailIf Property="Version9x" Compare="ValueExists" Value="N/A for ValueExists and ValueNotExists" String="InvalidPlatform" />
<FailIf Property="VersionNT" Compare="VersionLessThan" Value="5.0.4" String="InvalidPlatform2K" />
<FailIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel" String="InvalidPlatformArchitechture" />
</InstallConditions>
<ExitCodes>
<ExitCode Value="sqlexpressinstalled" Result="Success" />
<ExitCode Value="sqlinstanceinstalled" Result="Success" />
<ExitCode Value="1641" Result="SuccessReboot" />
<ExitCode Value="3010" Result="SuccessReboot" />
<ExitCode Value="50037" Result="Fail" String="MissingMsXml" />
<ExitCode Value="50251" Result="Fail" String="MissingMsXml" />
<ExitCode Value="50198" Result="Fail" String="InsufficientHardware" />
<ExitCode Value="50236" Result="Fail" String="InsufficientHardware" />
<ExitCode Value="50222" Result="Fail" String="InvalidPlatformOSService" />
<ExitCode Value="70003" Result="Fail" String="InvalidPlatformOSService" />
<ExitCode Value="50247" Result="Fail" String="InvalidPlatformIE" />
<ExitCode Value="50248" Result="Fail" String="InvalidPlatformIE" />
<ExitCode Value="70004" Result="Fail" String="AnotherInstanceRunning" />
<ExitCode Value="70032" Result="Fail" String="BetaComponentFailure" />
<ExitCode Value="70033" Result="Fail" String="BetaComponentsFailure" />
<DefaultExitCode Result="Fail" String="GeneralFailure." FormatMessageFromSystem="true" />
</ExitCodes>
</Command>
<Command PackageFile="sqlexpr32.exe" Arguments="'-q /norebootchk /qn reboot=ReallySuppress addlocal=all instancename=IndustryManager SQLAUTOSTART=1 ADDUSERASADMIN=1'" EstimatedInstalledBytes="225000000" EstimatedInstallSeconds="225000000" EstimatedTempBytes="420">
<InstallConditions>
<BypassIf Property="SQLEXPRESSINSTALLED" Compare="ValueEqualTo" Value="sqlexpressinstalled" />
<BypassIf Property="SQLINSTANCEINSTALLED" Compare="ValueEqualTo" Value="sqlinstanceinstalled" />
<FailIf Property="VersionNT" Compare="VersionGreaterThanOrEqualTo" Value="5.1"/>
<FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired" />
<FailIf Property="Version9x" Compare="ValueExists" String="InvalidPlatformXP" />
<FailIf Property="VersionNT" Compare="VersionLessThan" Value="5.1.2" String="InvalidPlatformXP" />
<FailIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel" String="InvalidPlatformArchitect" />
</InstallConditions>
<ExitCodes>
<ExitCode Value="sqlexpressinstalled" Result="Success" />
<ExitCode Value="sqlinstanceinstalled" Result="Success" />
<ExitCode Value="1641" Result="SuccessReboot" />
<ExitCode Value="3010" Result="SuccessReboot" />
<ExitCode Value="50037" Result="Fail" String="MissingMsXml" />
<ExitCode Value="50251" Result="Fail" String="MissingMsXml" />
<ExitCode Value="50198" Result="Fail" String="InsufficientHardware" />
<ExitCode Value="50236" Result="Fail" String="InsufficientHardware" />
<ExitCode Value="50222" Result="Fail" String="InvalidPlatformOSService" />
<ExitCode Value="70003" Result="Fail" String="InvalidPlatformOSService" />
<ExitCode Value="50247" Result="Fail" String="InvalidPlatformIE" />
<ExitCode Value="50248" Result="Fail" String="InvalidPlatformIE" />
<ExitCode Value="70004" Result="Fail" String="AnotherInstanceRunning" />
<ExitCode Value="70032" Result="Fail" String="BetaComponentFailure" />
<ExitCode Value="70033" Result="Fail" String="BetaComponentsFailure" />
<DefaultExitCode Result="Fail" String="Anunexpectedexitcodewasr" FormatMessageFromSystem="true" />
</ExitCodes>
</Command>
<Command PackageFile="sqlexpr32.exe" Arguments="'-q /norebootchk /qn reboot=ReallySuppress addlocal=all instancename=IndustryManager SQLAUTOSTART=1 ADDUSERASADMIN=1'" EstimatedInstalledBytes="225000000" EstimatedInstallSeconds="225000000" EstimatedTempBytes="420">
<InstallConditions>
<BypassIf Property="SQLEXPRESSINSTALLED" Compare="ValueEqualTo" Value="sqlexpressinstalled" />
<BypassIf Property="SQLINSTANCEINSTALLED" Compare="ValueEqualTo" Value="sqlinstanceinstalled" />
<FailIf Property="VersionNT" Compare="VersionGreaterThanOrEqualTo" Value="5.2"/>
<FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired" />
<FailIf Property="Version9x" Compare="ValueExists" String="InvalidPlatform" />
<FailIf Property="VersionNT" Compare="VersionLessThan" Value="5.2.1" String="InvalidPlatform2K3" />
<FailIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel" String="InvalidPlatformArchitechture" />
</InstallConditions>
<ExitCodes>
<ExitCode Value="sqlexpressinstalled" Result="Success" />
<ExitCode Value="sqlinstanceinstalled" Result="Success" />
<ExitCode Value="1641" Result="SuccessReboot" />
<ExitCode Value="3010" Result="SuccessReboot" />
<ExitCode Value="50037" Result="Fail" String="MissingMsXml" />
<ExitCode Value="50251" Result="Fail" String="MissingMsXml" />
<ExitCode Value="50198" Result="Fail" String="InsufficientHardware" />
<ExitCode Value="50236" Result="Fail" String="InsufficientHardware" />
<ExitCode Value="50222" Result="Fail" String="InvalidPlatformOSService" />
<ExitCode Value="70003" Result="Fail" String="InvalidPlatformOSService" />
<ExitCode Value="50247" Result="Fail" String="InvalidPlatformIE" />
<ExitCode Value="50248" Result="Fail" String="InvalidPlatformIE" />
<ExitCode Value="70004" Result="Fail" String="AnotherInstanceRunning" />
<ExitCode Value="70032" Result="Fail" String="BetaComponentFailure" />
<ExitCode Value="70033" Result="Fail" String="BetaComponentsFailure" />
<DefaultExitCode Result="Fail" String="Anunexpectedexitcodewasr" FormatMessageFromSystem="true" />
</ExitCodes>
</Command>
</Commands>
<Strings>
<String Name="Culture">en</String>
<String Name="DisplayName">SQL Server 2005 Express Edition SP3</String>
<String Name="Anunexpectederroroccurre">An unexpected error occurred. The product was unable to install.</String>
<String Name="AdminRequired">AdminRequired</String>
<String Name="InvalidPlatform">InvalidPlatform</String>
<String Name="InvalidPlatform2K">InvalidPlatform2K</String>
<String Name="MissingMsXml">MissingMsXml</String>
<String Name="InsufficientHardware">InsufficientHardware</String>
<String Name="InvalidPlatformOSService">InvalidPlatformOSServicePacks</String>
<String Name="InvalidPlatformIE">InvalidPlatformIE</String>
<String Name="AnotherInstanceRunning">AnotherInstanceRunning</String>
<String Name="BetaComponentFailure">BetaComponentFailure</String>
<String Name="BetaComponentsFailure">BetaComponentsFailure</String>
<String Name="GeneralFailure.">General Failure.</String>
<String Name="DisplayName_1">SQL Server 2005 Express Edition SP3</String>
<String Name="InvalidPlatformXP">InvalidPlatformXP</String>
<String Name="InvalidPlatformArchitect">InvalidPlatformArchitecture</String>
<String Name="Anunexpectedexitcodewasr">An unexpected exit code was returned from the installer. The installation failed.</String>
<String Name="DisplayName_2">SQL Server 2005 Express Edition SP3</String>
<String Name="InvalidPlatform2K3">InvalidPlatform2K3</String>
</Strings>
</Package>

File Attachments


No files are attached


Comments

most recent at top (show oldest at top)


Updating...
Page view tracker