Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Redid the Windows installer for BEurtle to be much, much, much simple…

…r now we embed BE and Python as a standalone.
  • Loading branch information...
commit c814444fb0b2daf5083fffa4e78d788283be1ee1 1 parent e039a8c
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) authored
View
40 BEurtle.sln
@@ -15,6 +15,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "BEXML", "BEXML\BEXML.pyproj", "{ACAEFC7D-2E27-4E17-8184-89468D9EDFB1}"
EndProject
+Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "BEurtleSetup", "BEurtleSetup\BEurtleSetup.wixproj", "{8D524857-0171-4099-911F-F83752BFE034}"
+EndProject
+Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Installer", "Installer\Installer.wixproj", "{E3D6765E-F632-45EE-9B54-191115E19F14}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -81,6 +85,42 @@ Global
{ACAEFC7D-2E27-4E17-8184-89468D9EDFB1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{ACAEFC7D-2E27-4E17-8184-89468D9EDFB1}.Release|x64.ActiveCfg = Release|Any CPU
{ACAEFC7D-2E27-4E17-8184-89468D9EDFB1}.Release|x86.ActiveCfg = Release|Any CPU
+ {8D524857-0171-4099-911F-F83752BFE034}.Debug|Any CPU.ActiveCfg = Debug|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Debug|Mixed Platforms.Build.0 = Debug|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Debug|x64.ActiveCfg = Debug|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Debug|x86.ActiveCfg = Debug|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Debug|x86.Build.0 = Debug|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Installer|Any CPU.ActiveCfg = Release|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Installer|Mixed Platforms.ActiveCfg = Release|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Installer|Mixed Platforms.Build.0 = Release|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Installer|x64.ActiveCfg = Release|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Installer|x86.ActiveCfg = Release|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Installer|x86.Build.0 = Release|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Release|Any CPU.ActiveCfg = Release|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Release|Mixed Platforms.Build.0 = Release|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Release|x64.ActiveCfg = Release|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Release|x86.ActiveCfg = Release|x86
+ {8D524857-0171-4099-911F-F83752BFE034}.Release|x86.Build.0 = Release|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Debug|Any CPU.ActiveCfg = Debug|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Debug|Mixed Platforms.Build.0 = Debug|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Debug|x64.ActiveCfg = Debug|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Debug|x86.ActiveCfg = Debug|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Debug|x86.Build.0 = Debug|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Installer|Any CPU.ActiveCfg = Release|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Installer|Mixed Platforms.ActiveCfg = Release|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Installer|Mixed Platforms.Build.0 = Release|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Installer|x64.ActiveCfg = Release|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Installer|x86.ActiveCfg = Release|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Installer|x86.Build.0 = Release|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Release|Any CPU.ActiveCfg = Release|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Release|Mixed Platforms.Build.0 = Release|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Release|x64.ActiveCfg = Release|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Release|x86.ActiveCfg = Release|x86
+ {E3D6765E-F632-45EE-9B54-191115E19F14}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
View
53 BEurtleSetup/BEurtleSetup.wixproj
@@ -0,0 +1,53 @@
+<?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>{8d524857-0171-4099-911f-f83752bfe034}</ProjectGuid>
+ <SchemaVersion>2.0</SchemaVersion>
+ <OutputName>BEurtle Plugin for TortoiseXXX v1.50 alpha 1</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>
+ </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>BE_srcdir=..\..\..\BE\dist;BEurtle_bindir=..\..\..\BEurtle\bin\Release</DefineConstants>
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="BE.wxs" />
+ <Compile Include="BEurtle.dll.wxs" />
+ <Compile Include="Product.wxs" />
+ </ItemGroup>
+ <ItemGroup>
+ <WixExtension Include="WixUIExtension">
+ <HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
+ <Name>WixUIExtension</Name>
+ </WixExtension>
+ <WixExtension Include="WixNetFxExtension">
+ <HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
+ <Name>WixNetFxExtension</Name>
+ </WixExtension>
+ </ItemGroup>
+ <Import Project="$(WixTargetsPath)" />
+ <PropertyGroup>
+ <PreBuildEvent>set PATH=C:\Program Files (x86)\WiX Toolset v3.6\bin%3b%25PATH%25
+heat dir ..\..\..\BE\dist -sreg -ag -cg BE -dr INSTALLDIR -var var.BE_srcdir -out ..\..\BE.wxs
+heat file ..\..\..\BEurtle\bin\Release\BEurtle.dll -ag -srd -cg BEurtle.dll -dr INSTALLDIR -var var.BEurtle_bindir -out ..\..\BEurtle.dll.wxs</PreBuildEvent>
+ </PropertyGroup>
+ <!--
+ 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>
View
105 BEurtleSetup/Product.wxs
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?ifndef Version?>
+<?define Version = "1.5.0.0" ?>
+<?endif ?>
+<?if $(var.Platform) = x64 ?>
+<?define Win64="yes" ?>
+<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
+<?else ?>
+<?define Win64="no" ?>
+<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
+<?endif ?>
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
+ <Product Id="*" Name="BEurtle Plugin for TortoiseXXX" Language="1033" Version="$(var.Version)" Manufacturer="ned Productions Limited" UpgradeCode="c279e66c-171d-45a8-af23-637b0b77d191">
+ <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
+ <PropertyRef Id="NETFRAMEWORK20"/>
+ <Condition Message="This application requires .NET Framework 2.0. Please install the .NET Framework then run this installer again.">
+ <![CDATA[Installed OR NETFRAMEWORK20]]>
+ </Condition>
+ <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
+ <MajorUpgrade DowngradeErrorMessage="A newer version of BEurtle is already installed." />
+
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="$(var.PlatformProgramFilesFolder)">
+ <Directory Id="CompanyFolder" Name="ned Productions Limited">
+ <Directory Id="INSTALLDIR" Name="BEurtle">
+ <Component Id="Plugin" Guid="d57ebcd3-e50f-4c2d-86b9-4256eec8f925">
+ <!--<File Id="BEurtle.dll" Source="..\BEurtle\bin\Release\BEurtle.dll" KeyPath="yes" Checksum="yes" />-->
+ <File Id="BEurtle.pdb" Source="..\BEurtle\bin\Release\BEurtle.pdb" Checksum="yes" />
+ <RegistryValue Root="HKCR" Key="CLSID\{233C8C6B-00AC-4E21-89FD-A66A9C10CEDB}\Implemented Categories\{3494FA92-B139-4730-9591-01135D5E7831}" Value="" Type="string" Action="write" />
+ </Component>
+ <Component Id="Readme" Guid="63a13d89-29f9-4aad-af8d-f4f80d63c0aa">
+ <File Id="Readme.txt" Source="..\Readme.txt" KeyPath="yes" Checksum="yes" />
+ </Component>
+ </Directory>
+ </Directory>
+ </Directory>
+ </Directory>
+
+ <Feature Id="FeaturePlugin" Title="BEurtle Plugin for TortoiseXXX" Description="A TortoiseXXX plugin for the Bugs Everywhere distributed issue tracker"
+ Display="expand" Level="1" ConfigurableDirectory='INSTALLDIR' AllowAdvertise='no'>
+ <ComponentGroupRef Id="BEurtle.dll"/>
+ <ComponentRef Id="Plugin" />
+ <ComponentRef Id="Readme" />
+ <ComponentGroupRef Id="BE" />
+ </Feature>
+
+ <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
+ <UIRef Id="WixUI_InstallDir2" />
+ </Product>
+
+ <Fragment>
+ <UI Id="WixUI_InstallDir2">
+ <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
+ <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
+ <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
+
+ <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
+ <Property Id="WixUI_Mode" Value="InstallDir" />
+
+ <DialogRef Id="BrowseDlg" />
+ <DialogRef Id="DiskCostDlg" />
+ <DialogRef Id="ErrorDlg" />
+ <DialogRef Id="FatalError" />
+ <DialogRef Id="FilesInUse" />
+ <DialogRef Id="MsiRMFilesInUse" />
+ <DialogRef Id="PrepareDlg" />
+ <DialogRef Id="ProgressDlg" />
+ <DialogRef Id="ResumeDlg" />
+ <DialogRef Id="UserExit" />
+
+ <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish>
+ <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
+
+ <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
+
+ <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">NOT Installed</Publish>
+ <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">Installed AND PATCH</Publish>
+
+ <!--<Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
+ <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">LicenseAccepted = "1"</Publish>-->
+
+ <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
+ <Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
+ <Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish>
+ <Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
+ <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish>
+ <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
+ <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
+
+ <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="1">NOT Installed</Publish>
+ <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed AND NOT PATCH</Publish>
+ <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2">Installed AND PATCH</Publish>
+
+ <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
+
+ <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
+ <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
+ <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
+
+ <Property Id="ARPNOMODIFY" Value="1" />
+ </UI>
+
+ <UIRef Id="WixUI_Common" />
+ </Fragment>
+</Wix>
View
1  Licence.txt
@@ -0,0 +1 @@
+foo
Please sign in to comment.
Something went wrong with that request. Please try again.