Skip to content
Browse files

Beginnings of new BEurtle bootstrapping installer

  • Loading branch information...
1 parent c814444 commit b5d36a22f3ffb1c12cb1928ca197a51e2bbec087 Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) committed Jul 14, 2012
Showing with 107 additions and 1 deletion.
  1. +1 −1 BEurtleSetup/BEurtleSetup.wixproj
  2. +60 −0 Installer/Bundle.wxs
  3. +46 −0 Installer/Installer.wixproj
View
2 BEurtleSetup/BEurtleSetup.wixproj
@@ -6,7 +6,7 @@
<ProductVersion>3.6</ProductVersion>
<ProjectGuid>{8d524857-0171-4099-911f-f83752bfe034}</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
- <OutputName>BEurtle Plugin for TortoiseXXX v1.50 alpha 1</OutputName>
+ <OutputName>BEurtlePlugin</OutputName>
<OutputType>Package</OutputType>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
View
60 Installer/Bundle.wxs
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?ifndef Version?>
+<?define Version = "1.5.0.0" ?>
+<?endif ?>
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
+ <Bundle Name="BEurtle Plugin for TortoiseXXX" Version="$(var.Version)" Manufacturer="ned Productions Limited" UpgradeCode="9a4a032d-90c1-46a2-8f36-38fb1655cca9"
+ HelpUrl="http://www.nedprod.com/programs/Win32/BEurtle/"
+ Copyright="Copyright © 2011-2012 Niall Douglas"
+ AboutUrl="http://www.nedprod.com/programs/Win32/BEurtle/">
+ <!--IconSourceFile="Resource\Setup.ico"
+ SplashScreenSourceFile="Resource\SplashScreen.bmp"
+ Condition="((VersionNT >= v5.1) AND (ServicePackLevel >= 3)) OR ((VersionNT >= v5.2) AND (ServicePackLevel >= 2)) OR (VersionNT >= v6.0)"
+ -->
+
+ <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
+ <Payload SourceFile="..\Licence.txt" />
+ </BootstrapperApplicationRef>
+ <WixVariable Id="WixStdbaLicenseUrl" Value="Licence.txt" />
+ <!--<WixVariable Id="WixStdbaLogo" Value="Resource\logoSmall.png" />-->
+ <Variable Name="InstallFolder" Type="string" Value="[ProgramFilesFolder]ned Productions Limited\BEurtle" />
+
+ <Chain>
+ <PackageGroupRef Id="Netfx20" />
+
+ <RollbackBoundary />
+
+ <!-- TODO: Install 32 bit always, but only install 64 bit on 64 bit platforms -->
+ <MsiPackage
+ Id="Setup"
+ Compressed="yes"
+ SourceFile="$(var.Setup.TargetPath)"
+ Vital="yes">
+ <MsiProperty Name="INSTALLLOCATION" Value="[InstallFolder]" />
+ </MsiPackage>
+ </Chain>
+ </Bundle>
+
+ <Fragment>
+ <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v2.0.50727" Value="Version" Variable="Netfx20Version" />
+
+ <PackageGroup Id="Netfx20">
+ <ExePackage Id="Netfx20"
+ Cache="no"
+ Compressed="yes"
+ PerMachine="yes"
+ Permanent="yes"
+ Vital="yes"
+ Name="Redist\dotnetfx20.exe"
+ SourceFile="Redist\dotnetfx3setup.exe"
+ InstallCommand="/q /norestart /lang:ENU"
+ RepairCommand="/q /norestart /lang:ENU"
+ UninstallCommand="/q /norestart /lang:ENU"
+ InstallCondition="NOT Netfx20Version OR (Netfx20Version &lt; '2.0.50727.5420')"
+ DetectCondition="Netfx20Version AND (Netfx20Version &gt;= '2.0.50727.5420')">
+ <ExitCode Value ="3010" Behavior="forceReboot" />
+ </ExePackage>
+ </PackageGroup>
+ </Fragment>
+</Wix>
View
46 Installer/Installer.wixproj
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
+ <ProductVersion>3.6</ProductVersion>
+ <ProjectGuid>{e3d6765e-f632-45ee-9b54-191115e19f14}</ProjectGuid>
+ <SchemaVersion>2.0</SchemaVersion>
+ <OutputName>BEurtle Plugin for TortoiseXXX</OutputName>
+ <OutputType>Bundle</OutputType>
+ <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
+ <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+ <OutputPath>bin\$(Configuration)\</OutputPath>
+ <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
+ <DefineConstants>Debug</DefineConstants>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+ <OutputPath>bin\$(Configuration)\</OutputPath>
+ <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
+ <DefineConstants>Setup.TargetPath=..\BEurtleSetup\bin\Release\BEurtlePlugin.msi</DefineConstants>
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="Bundle.wxs" />
+ </ItemGroup>
+ <ItemGroup>
+ <WixExtension Include="WixUtilExtension">
+ <HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
+ <Name>WixUtilExtension</Name>
+ </WixExtension>
+ <WixExtension Include="WixBalExtension">
+ <HintPath>$(WixExtDir)\WixBalExtension.dll</HintPath>
+ <Name>WixBalExtension</Name>
+ </WixExtension>
+ </ItemGroup>
+ <Import Project="$(WixTargetsPath)" />
+ <!--
+ To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Wix.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>

0 comments on commit b5d36a2

Please sign in to comment.
Something went wrong with that request. Please try again.