Benutzer mit den meisten Antworten
SQL Native Client 10.0 Bootstrapper-Files für VS2010

Frage
Antworten
-
Hallo MyKey0815,
Schau Dir mal folgende Links an. Vielleicht können sie Dir weiterhelfen.
Howto prerequisite for SQL Client?
Add your own (Custom) prerequisite to "ClickOnce" application
Bootstrapper Manifest Generator
Creating Bootstrapper Packages
Application Deployment Prerequisites
Für Microsoft.Sql.Client.9.0 habe ich folgende Dateien gefunden:
[Product.xml]
<?xml version="1.0" encoding="utf-8" ?> <Product xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" ProductCode="Microsoft.Sql.Client.9.0"> <PackageFiles> <PackageFile Name="sqlncli.msi"/> </PackageFiles> <RelatedProducts> <DependsOnProduct Code="Microsoft.Windows.Installer.3.1" /> </RelatedProducts> <InstallChecks> <RegistryCheck Property="SQLCliInstalled" Key="HKLM\SOFTWARE\Microsoft\Microsoft SQL Native Client\CurrentVersion" Value="Version" /> </InstallChecks> <Commands Reboot="Defer"> <Command PackageFile="sqlncli.msi" Arguments=' /q:a /c:"install /q /l"' EstimatedInstalledBytes="4200000" EstimatedInstallSeconds="60"> <InstallConditions> <BypassIf Property="SQLCliInstalled" Compare="ValueEqualTo" Value="9.00.1399.06"/> <FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired"/> </InstallConditions> <ExitCodes> <ExitCode Value="0" Result="Success"/> <ExitCode Value="1641" Result="SuccessReboot"/> <ExitCode Value="3010" Result="SuccessReboot"/> <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> </ExitCodes> </Command> </Commands> </Product>
[Package.xml]
<?xml version="1.0" encoding="utf-8" ?> <Package xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" Name="DisplayName" Culture="Culture" LicenseAgreement="eula.txt"> <PackageFiles> <PackageFile Name="eula.txt"/> </PackageFiles> <Strings> <String Name="DisplayName">SQL Native Client</String> <String Name="Culture">en</String> <String Name="AdminRequired">Administrator permissions are required to install the SQL Native Client 9.0. Contact your administrator.</String> <String Name="GeneralFailure">A general error has occurred while installing this package.</String> </Strings> </Package>
Grüße,
Robert
Robert Breitenhofer, MICROSOFT
Bitte haben Sie Verständnis dafür, dass im Rahmen dieses Forums, welches auf dem Community-Prinzip „Entwickler helfen Entwickler“ beruht, kein technischer Support geleistet werden kann oder sonst welche garantierten Maßnahmen seitens Microsoft zugesichert werden können.- Als Antwort markiert MyKey0815 Mittwoch, 20. Juni 2012 13:27
Alle Antworten
-
Hallo MyKey0815,
Schau Dir mal folgende Links an. Vielleicht können sie Dir weiterhelfen.
Howto prerequisite for SQL Client?
Add your own (Custom) prerequisite to "ClickOnce" application
Bootstrapper Manifest Generator
Creating Bootstrapper Packages
Application Deployment Prerequisites
Für Microsoft.Sql.Client.9.0 habe ich folgende Dateien gefunden:
[Product.xml]
<?xml version="1.0" encoding="utf-8" ?> <Product xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" ProductCode="Microsoft.Sql.Client.9.0"> <PackageFiles> <PackageFile Name="sqlncli.msi"/> </PackageFiles> <RelatedProducts> <DependsOnProduct Code="Microsoft.Windows.Installer.3.1" /> </RelatedProducts> <InstallChecks> <RegistryCheck Property="SQLCliInstalled" Key="HKLM\SOFTWARE\Microsoft\Microsoft SQL Native Client\CurrentVersion" Value="Version" /> </InstallChecks> <Commands Reboot="Defer"> <Command PackageFile="sqlncli.msi" Arguments=' /q:a /c:"install /q /l"' EstimatedInstalledBytes="4200000" EstimatedInstallSeconds="60"> <InstallConditions> <BypassIf Property="SQLCliInstalled" Compare="ValueEqualTo" Value="9.00.1399.06"/> <FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired"/> </InstallConditions> <ExitCodes> <ExitCode Value="0" Result="Success"/> <ExitCode Value="1641" Result="SuccessReboot"/> <ExitCode Value="3010" Result="SuccessReboot"/> <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> </ExitCodes> </Command> </Commands> </Product>
[Package.xml]
<?xml version="1.0" encoding="utf-8" ?> <Package xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" Name="DisplayName" Culture="Culture" LicenseAgreement="eula.txt"> <PackageFiles> <PackageFile Name="eula.txt"/> </PackageFiles> <Strings> <String Name="DisplayName">SQL Native Client</String> <String Name="Culture">en</String> <String Name="AdminRequired">Administrator permissions are required to install the SQL Native Client 9.0. Contact your administrator.</String> <String Name="GeneralFailure">A general error has occurred while installing this package.</String> </Strings> </Package>
Grüße,
Robert
Robert Breitenhofer, MICROSOFT
Bitte haben Sie Verständnis dafür, dass im Rahmen dieses Forums, welches auf dem Community-Prinzip „Entwickler helfen Entwickler“ beruht, kein technischer Support geleistet werden kann oder sonst welche garantierten Maßnahmen seitens Microsoft zugesichert werden können.- Als Antwort markiert MyKey0815 Mittwoch, 20. Juni 2012 13:27
-
Vielen Dank für deine Antwort. Hätte nicht gedacht, dass sich da noch jemand meldet.
Hab meine Packages noch ein wenig abgeändert, so dass jetzt 32- und 64-Bit unterschieden werden kann.
lg
Michael
PS: Schade das MS da kaum Support anbietet (da es sich ja beim SQL-Server ja auch um ein Produkt aus dem Hause handelt) bzw. ein Forum für solche Bootstrapper unterhält- Bearbeitet MyKey0815 Mittwoch, 20. Juni 2012 13:30
-
Hab meine Packages noch ein wenig abgeändert, so dass jetzt 32- und 64-Bit unterschieden werden kann.
Hallo MyKey0815,
Freut mich dass Du es lösen könntest.
Es wäre schön, wenn Du posten würdest wie es funktioniert hat, denn dann profitieren unter Umständen andere mit dem gleichen Problem davon
Danke und Grüße,
Robert
Robert Breitenhofer, MICROSOFT
Bitte haben Sie Verständnis dafür, dass im Rahmen dieses Forums, welches auf dem Community-Prinzip „Entwickler helfen Entwickler“ beruht, kein technischer Support geleistet werden kann oder sonst welche garantierten Maßnahmen seitens Microsoft zugesichert werden können.