aboutsummaryrefslogtreecommitdiff
path: root/Bootstrapper
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-02-20 20:33:05 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-02-20 20:33:05 -0500
commit767cdc1f6f6a63ce997fc9476911e2c361f9d402 (patch)
tree49add55976f895441167c66cfa95e5c7688d18ce /Bootstrapper
parent845554722efaed872948a9e0f7202e3ef52f1b6e (diff)
Pushing missing changes
Diffstat (limited to 'Bootstrapper')
-rw-r--r--Bootstrapper/readme.txt3
-rw-r--r--Bootstrapper/vcredist10_x86/en/package.xml20
-rw-r--r--Bootstrapper/vcredist10_x86/product.xml45
3 files changed, 68 insertions, 0 deletions
diff --git a/Bootstrapper/readme.txt b/Bootstrapper/readme.txt
new file mode 100644
index 000000000..0fdcf2aa5
--- /dev/null
+++ b/Bootstrapper/readme.txt
@@ -0,0 +1,3 @@
+If Publishing, the folders in here must be copied to:
+
+C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\Bootstrapper\Packages \ No newline at end of file
diff --git a/Bootstrapper/vcredist10_x86/en/package.xml b/Bootstrapper/vcredist10_x86/en/package.xml
new file mode 100644
index 000000000..613fc0b84
--- /dev/null
+++ b/Bootstrapper/vcredist10_x86/en/package.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<Package
+ xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
+ Name="DisplayName"
+ Culture="Culture"
+>
+
+ <!-- Defines a localizable string table for error messages-->
+ <Strings>
+ <String Name="DisplayName">Visual C++ 2010 Runtime Libraries (x86)</String>
+ <String Name="Culture">en</String>
+ <String Name="AdminRequired">You do not have the permissions required to install Visual C++ 2010 Runtime Libraries (x86). Please contact your administrator.</String>
+ <String Name="InvalidPlatformWin9x">Installation of Visual C++ 2010 Runtime Libraries (x86) is not supported on Windows 95. Contact your application vendor.</String>
+ <String Name="InvalidPlatformWinNT">Installation of Visual C++ 2010 Runtime Libraries (x86) is not supported on Windows NT 4.0. Contact your application vendor.</String>
+ <String Name="GeneralFailure">A failure occurred attempting to install Visual C++ 2010 Runtime Libraries (x86).</String>
+ <String Name="VCRedistExe">http://go.microsoft.com/fwlink/?LinkID=210621</String>
+ </Strings>
+
+</Package>
diff --git a/Bootstrapper/vcredist10_x86/product.xml b/Bootstrapper/vcredist10_x86/product.xml
new file mode 100644
index 000000000..76edde618
--- /dev/null
+++ b/Bootstrapper/vcredist10_x86/product.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<Product
+ xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
+ ProductCode="Microsoft.Visual.C++.10.0.x86"
+>
+
+ <!-- Defines list of files to be copied on build -->
+ <PackageFiles>
+ <PackageFile Name="vcredist_x86.exe" HomeSite="VCRedistExe"/>
+ </PackageFiles>
+<InstallChecks>
+ <MsiProductCheck Property="VCRedistInstalled" Product="{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}"/>
+</InstallChecks>
+
+ <!-- Defines how to invoke the setup for the Visual C++ 10.0 redist -->
+ <!-- TODO: Needs EstrimatedTempSpace, LogFile, and an update of EstimatedDiskSpace -->
+ <Commands Reboot="Defer">
+ <Command PackageFile="vcredist_x86.exe"
+ Arguments=' /q:a '
+ >
+
+ <!-- These checks determine whether the package is to be installed -->
+ <InstallConditions>
+ <BypassIf Property="VCRedistInstalled" Compare="ValueGreaterThanOrEqualTo" Value="3"/>
+ <!-- Block install if user does not have admin privileges -->
+ <FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired"/>
+
+ <!-- Block install on Win95 -->
+ <FailIf Property="Version9X" Compare="VersionLessThan" Value="4.10" String="InvalidPlatformWin9x"/>
+
+ <!-- Block install on NT 4 or less -->
+ <FailIf Property="VersionNT" Compare="VersionLessThan" Value="5.00" String="InvalidPlatformWinNT"/>
+
+ </InstallConditions>
+
+ <ExitCodes>
+ <ExitCode Value="0" Result="Success"/>
+ <ExitCode Value="3010" Result="SuccessReboot"/>
+ <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" />
+ </ExitCodes>
+
+ </Command>
+ </Commands>
+</Product>