I downloaded Sql server 2005 express SP2 and attempted to modify the
Bootstrapper package files as I did with SP1
When i try to install SQL server as part of my VS 2005 deployment app I get
an error at the end of the SQL server install phase 'Invalid endpoint'.
(Note SQL server express gets installed OK)
If I run SQL server express SP2 setup directly it I don't get the error
There must be something wrong in the .xml bootstrapper files
Any ideas?
Steve
Product.xml
............... ............... ............... ............... .......
<?xml version="1.0" encoding="utf-8"?>
<Product xmlns="http://schemas.microso ft.com/developer/2004/01/bootstrapper"
ProductCode="Mi crosoft.Sql.Ser ver.Express.SP2 ">
<RelatedProduct s>
<DependsOnProdu ct Code="Microsoft .Net.Framework. 2.0" />
<DependsOnProdu ct Code="Microsoft .Windows.Instal ler.3.1" />
</RelatedProducts >
<PackageFiles >
<PackageFile Name="SqlExpres sSP2Chk.exe" />
</PackageFiles>
<InstallCheck s>
<ExternalChec k Property="SQLEx pressSP2Install ed"
PackageFile="Sq lExpressSP2Chk. exe" />
</InstallChecks>
</Product>
Package.xml.... ............... .............
<?xml version="1.0" encoding="utf-8" ?>
<Package
xmlns="http://schemas.microso ft.com/developer/2004/01/bootstrapper"
Name="DisplayNa me"
Culture="Cultur e"
LicenseAgreemen t="eula.txt"
><PackageFiles CopyAllPackageF iles="false">
<PackageFile Name="sqlexpr32 .exe" HomeSite="SqlEx prExe32"
<PackageFile Name="eula.txt"/>
</PackageFiles>
<InstallCheck s>
<RegistryChec k Key="HKLM\Softw are\Osmonttemp" Value="installs qlserver"
Property="Insta llsqlserver" />
</InstallChecks>
<Commands Reboot="Defer">
<Command PackageFile="sq lexpr32.exe"
Arguments='-q /norebootchk /qn reboot=ReallySu ppress
ADDLOCAL=ALL SQLBROWSERAUTOS TART=1 SQLAUTOSTART=1 INSTANCENAME=Os montTech
SECURITYMODE=SQ L SAPWD=nissan DISABLENETWORKP ROTOCOLS=0'
EstimatedInstal ledBytes="20849 4592"
EstimatedTempBy tes="208494592"
EstimatedInstal lSeconds="1050" >
<InstallConditi ons>
<BypassIf Property="SQLEx pressInstalled"
Compare="ValueE qualTo" Value="0"/>
<BypassIf Property="Insta llsqlserver" Compare="ValueE qualTo"
Value="False"/>
<BypassIf Property="Versi onNT"
Compare="Versio nGreaterThanOrE qualTo" Value="5.1"/>
<FailIf Property="Admin User" Compare="ValueE qualTo"
Value="false" String="AdminRe quired"/>
<FailIf Property="Versi on9x" Compare="ValueE xists"
String="Invalid Platform"/>
<FailIf Property="Versi onNT" Compare="Versio nLessThan"
Value="5.0.4" String="Invalid Platform2K"/>
<FailIf Property="Proce ssorArchitectur e"
Compare="ValueN otEqualTo" Value="Intel"
String="Invalid PlatformArchite cture"/>
</InstallConditio ns>
<ExitCodes>
<ExitCode Value="0" Result="Success "/>
<ExitCode Value="1641" Result="Success Reboot"/>
<ExitCode Value="3010" Result="Success Reboot"/>
<ExitCode Value="50037" Result="Fail"
String="Missing MSXml"/>
<ExitCode Value="50251" Result="Fail"
String="Missing MSXml"/>
<ExitCode Value="50198" Result="Fail"
String="Insuffi cientHardware"/>
<ExitCode Value="50236" Result="Fail"
String="Insuffi cientHardware"/>
<ExitCode Value="50222" Result="Fail"
String="Invalid PlatformOSServi cePacks"/>
<ExitCode Value="70003" Result="Fail"
String="Invalid PlatformOSServi cePacks"/>
<ExitCode Value="50247" Result="Fail"
String="Invalid PaltformIE"/>
<ExitCode Value="50248" Result="Fail"
String="Invalid PaltformIE"/>
<ExitCode Value="70004" Result="Fail"
String="Another InstanceRunning "/>
<ExitCode Value="70032" Result="Fail"
String="BetaCom ponentsFailure"/>
<ExitCode Value="70033" Result="Fail"
String="Invalid PlatformArchite cture"/>
<DefaultExitCod e Result="Fail"
FormatMessageFr omSystem="true" String="General Failure" />
</ExitCodes>
</Command>
<Command PackageFile="sq lexpr32.exe"
Arguments='-q /norebootchk /qn reboot=ReallySu ppress
ADDLOCAL=ALL SQLBROWSERAUTOS TART=1 SQLAUTOSTART=1 INSTANCENAME=Os montTech
SECURITYMODE=SQ L SAPWD=nissan DISABLENETWORKP ROTOCOLS=0'
EstimatedInstal ledBytes="22500 0000"
EstimatedInstal lSeconds="420">
<InstallConditi ons>
<BypassIf Property="SQLEx pressInstalled"
Compare="ValueE qualTo" Value="0"/>
<BypassIf Property="Insta llsqlserver" Compare="ValueE qualTo"
Value="False"/>
<BypassIf Property="Versi onNT" Compare="Versio nLessThan"
Value="5.1"/>
<FailIf Property="Admin User" Compare="ValueE qualTo"
Value="false" String="AdminRe quired"/>
<FailIf Property="Versi on9x" Compare="ValueE xists"
String="Invalid PlatformXP"/>
<FailIf Property="Versi onNT" Compare="Versio nLessThan"
Value="5.1.2" String="Invalid PlatformXP"/>
<FailIf Property="Proce ssorArchitectur e"
Compare="ValueN otEqualTo" Value="Intel"
String="Invalid PlatformArchite cture"/>
</InstallConditio ns>
<ExitCodes>
<ExitCode Value="0" Result="Success "/>
<ExitCode Value="1641" Result="Success Reboot"/>
<ExitCode Value="3010" Result="Success Reboot"/>
<ExitCode Value="50037" Result="Fail"
String="Missing MSXml"/>
<ExitCode Value="50251" Result="Fail"
String="Missing MSXml"/>
<ExitCode Value="50198" Result="Fail"
String="Insuffi cientHardware"/>
<ExitCode Value="50236" Result="Fail"
String="Insuffi cientHardware"/>
<ExitCode Value="50222" Result="Fail"
String="Invalid PlatformOSServi cePacks"/>
<ExitCode Value="70003" Result="Fail"
String="Invalid PlatformOSServi cePacks"/>
<ExitCode Value="50247" Result="Fail"
String="Invalid PaltformIE"/>
<ExitCode Value="50248" Result="Fail"
String="Invalid PaltformIE"/>
<ExitCode Value="70004" Result="Fail"
String="Another InstanceRunning "/>
<ExitCode Value="70032" Result="Fail"
String="BetaCom ponentsFailure"/>
<ExitCode Value="70033" Result="Fail"
String="Invalid PlatformArchite cture"/>
<DefaultExitCod e Result="Fail"
FormatMessageFr omSystem="true" String="General Failure" />
</ExitCodes>
</Command>
</Commands>
<Strings>
<String Name="DisplayNa me">SQL Server 2005 Express Edition
SP2</String>
<String Name="Culture"> en</String>
<String Name="AdminRequ ired">You do not have the permissions
required to install SQL Server 2005 Express Edition. Please contact your
administrator.</String>
<String Name="GeneralFa ilure">An error occurred attempting to
install SQL Server 2005 Express Edition.</String>
<String Name="InvalidPl atform">Windows 2000 or later is required to
install SQL Server 2005 Express Edition.</String>
<String Name="InvalidPl atform2K">Windo ws 2000 Service Pack 4 or
later is required to install SQL Server 2005 Express Edition.</String>
<String Name="InvalidPl atformXP">Windo ws XP Service Pack 2 or later
is required to install SQL Server 2005 Express Edition.</String>
<String Name="MissingMS Xml">SQL Server 2005 Express Edition requires
MSXML. Please ensure MSXML is installed properly.</String>
<String Name="Insuffici entHardward">Th e current system does not meet
the minimum hardware requirements for SQL Server 2005 Express Edition.
Contact your application vendor.</String>
<String Name="InvalidPl atformOSService Packs">The current operating
system does not meet Service Pack level requirements for SQL Server 2005
Express Edition. Install the most recent Service Pack from the Microsoft
download center at http://www.microsoft.com/downloads before continuing
setup.</String>
<String Name="InvalidPa ltformIE">This version of SQL Server 2005
Express Edition requires Internet Explorer version 6.0 with SP1 or later. To
proceed, install or upgrade to a required version of Internet Explorer and
then run setup again.</String>
<String Name="AnotherIn stanceRunning"> Another instance of setup is
already running. The running instance must complete before this setup can
proceed.</String>
<String Name="BetaCompo nentsFailure">A beta version of the .NET
Framework 2.0 or SQL Server was detected on the computer. Uninstall any
previous beta versions of SQL Server Yukon components, SQL Server Support
Files, or .NET Framework 2.0 before continuing.</String>
<String Name="InvalidPl atformArchitect ure">This version of SQL
Server 2005 Express Edition is not supported for the current processor
architecture.</String>
<String Name="ErrorDisk Full">There is not enough space on the
destination disk for SQL Server 2005 Express Edition.</String>
<String Name="MissingND P">The required version of the .NET Framework
is not installed. Contact your application vendor.</String>
<String
Name="SqlExpr32 Exe">http://go.microsoft.co m/fwlink/?LinkId=65212&a mp;clcid=0x409</String>
</Strings>
</Package>