Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

Commit

Permalink
Added code signing to all three installers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) committed Jul 17, 2012
1 parent fa60a25 commit 600519d
Show file tree
Hide file tree
Showing 12 changed files with 58 additions and 20 deletions.
2 changes: 2 additions & 0 deletions !MakeSelfSignedCertForInstaller.bat
@@ -0,0 +1,2 @@
makecert -r -pe -n CN="Niall Douglas" -a sha1 -sr currentuser -ss my
certmgr.msc
Expand Up @@ -9,7 +9,7 @@ reporter: '"Niall Douglas \(s \[underscore\] sourceforge {at} nedprod \[dot\] co
severity: wishlist severity: wishlist




status: open status: fixed




summary: Add be gui to invoke BEurtle summary: Add be gui to invoke BEurtle
Expand Down
2 changes: 1 addition & 1 deletion BE
Submodule BE updated 1 files
+54 −0 libbe/command/gui.py
Expand Up @@ -10,7 +10,7 @@
<div class="header">Bugs Everywhere Bug List</div> <div class="header">Bugs Everywhere Bug List</div>
<div class="main"> <div class="main">


<p class="backlink"><a href="../../index.html">Back to Active Index</a></p> <p class="backlink"><a href="../../index_inactive.html">Back to Inactive Index</a></p>
<p class="backlink"><a href="../../index_by_target.html">Back to Target Index</a></p> <p class="backlink"><a href="../../index_by_target.html">Back to Target Index</a></p>
<h1>Bug: 701/e5e</h1> <h1>Bug: 701/e5e</h1>


Expand All @@ -21,7 +21,7 @@ <h1>Bug: 701/e5e</h1>
<tr><td class="bug_detail_label">Short name :</td> <tr><td class="bug_detail_label">Short name :</td>
<td class="bug_detail">701/e5e</td></tr> <td class="bug_detail">701/e5e</td></tr>
<tr><td class="bug_detail_label">Status :</td> <tr><td class="bug_detail_label">Status :</td>
<td class="bug_detail">open</td></tr> <td class="bug_detail">fixed</td></tr>
<tr><td class="bug_detail_label">Severity :</td> <tr><td class="bug_detail_label">Severity :</td>
<td class="bug_detail">wishlist</td></tr> <td class="bug_detail">wishlist</td></tr>
<tr><td class="bug_detail_label">Assigned :</td> <tr><td class="bug_detail_label">Assigned :</td>
Expand All @@ -42,7 +42,7 @@ <h1>Bug: 701/e5e</h1>


<p>No comments.</p> <p>No comments.</p>


<p class="backlink"><a href="../../index.html">Back to Active Index</a></p> <p class="backlink"><a href="../../index_inactive.html">Back to Inactive Index</a></p>
<p class="backlink"><a href="../../index_by_target.html">Back to Target Index</a></p> <p class="backlink"><a href="../../index_by_target.html">Back to Target Index</a></p>


</div> </div>
Expand Down
8 changes: 0 additions & 8 deletions BEBugsAsHTML/index.html
Expand Up @@ -33,14 +33,6 @@
</thead> </thead>
<tbody> <tbody>


<tr class="wishlist">
<td class="uuid"><a href="bugs/e5e76701-66bc-490e-83ab-d4f7b5cc2d82/index.html">701/e5e</a></td>
<td class="status"><a href="bugs/e5e76701-66bc-490e-83ab-d4f7b5cc2d82/index.html">open</a></td>
<td class="severity"><a href="bugs/e5e76701-66bc-490e-83ab-d4f7b5cc2d82/index.html">wishlist</a></td>
<td class="summary"><a href="bugs/e5e76701-66bc-490e-83ab-d4f7b5cc2d82/index.html">Add be gui to invoke BEurtle</a></td>
<td class="date"><a href="bugs/e5e76701-66bc-490e-83ab-d4f7b5cc2d82/index.html">Tue, 17 Jul 2012 15:53:35 +0000</a></td>
</tr>

<tr class="wishlist"> <tr class="wishlist">
<td class="uuid"><a href="bugs/54e8afed-829f-44ad-8f0f-4c00d1f29a4b/index.html">701/54e</a></td> <td class="uuid"><a href="bugs/54e8afed-829f-44ad-8f0f-4c00d1f29a4b/index.html">701/54e</a></td>
<td class="status"><a href="bugs/54e8afed-829f-44ad-8f0f-4c00d1f29a4b/index.html">open</a></td> <td class="status"><a href="bugs/54e8afed-829f-44ad-8f0f-4c00d1f29a4b/index.html">open</a></td>
Expand Down
8 changes: 8 additions & 0 deletions BEBugsAsHTML/index_inactive.html
Expand Up @@ -161,6 +161,14 @@
<td class="date"><a href="bugs/3cbc1df0-8f78-4273-a8ea-7b50e9cbabd0/index.html">Tue, 02 Aug 2011 16:27:33 +0000</a></td> <td class="date"><a href="bugs/3cbc1df0-8f78-4273-a8ea-7b50e9cbabd0/index.html">Tue, 02 Aug 2011 16:27:33 +0000</a></td>
</tr> </tr>


<tr class="wishlist">
<td class="uuid"><a href="bugs/e5e76701-66bc-490e-83ab-d4f7b5cc2d82/index.html">701/e5e</a></td>
<td class="status"><a href="bugs/e5e76701-66bc-490e-83ab-d4f7b5cc2d82/index.html">fixed</a></td>
<td class="severity"><a href="bugs/e5e76701-66bc-490e-83ab-d4f7b5cc2d82/index.html">wishlist</a></td>
<td class="summary"><a href="bugs/e5e76701-66bc-490e-83ab-d4f7b5cc2d82/index.html">Add be gui to invoke BEurtle</a></td>
<td class="date"><a href="bugs/e5e76701-66bc-490e-83ab-d4f7b5cc2d82/index.html">Tue, 17 Jul 2012 15:53:35 +0000</a></td>
</tr>

<tr class="wishlist"> <tr class="wishlist">
<td class="uuid"><a href="bugs/c13cd061-46a2-4259-96be-aaf20dff578e/index.html">701/c13</a></td> <td class="uuid"><a href="bugs/c13cd061-46a2-4259-96be-aaf20dff578e/index.html">701/c13</a></td>
<td class="status"><a href="bugs/c13cd061-46a2-4259-96be-aaf20dff578e/index.html">fixed</a></td> <td class="status"><a href="bugs/c13cd061-46a2-4259-96be-aaf20dff578e/index.html">fixed</a></td>
Expand Down
2 changes: 1 addition & 1 deletion BEgui/Program.cs
Expand Up @@ -10,7 +10,7 @@ class Program
[STAThread] [STAThread]
static void Main(string[] args) static void Main(string[] args)
{ {
var dir = args.Length>0 ? args[0] : Directory.GetCurrentDirectory(); var dir = args.Length>0 ? Path.GetFullPath(args[0]) : Directory.GetCurrentDirectory();
var plugin = new BEurtle.BEurtlePlugin(); var plugin = new BEurtle.BEurtlePlugin();
var result = plugin.GetCommitMessage((IntPtr)null, "", dir, null, ""); var result = plugin.GetCommitMessage((IntPtr)null, "", dir, null, "");
} }
Expand Down
12 changes: 11 additions & 1 deletion BEurtleSetup32/BEurtleSetup32.wixproj
Expand Up @@ -20,9 +20,11 @@
<OutputPath>bin\$(Configuration)\</OutputPath> <OutputPath>bin\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<DefineConstants>BE_srcdir=..\..\..\BE\dist;BEurtle_bindir=..\..\..\BEurtle\bin\Release</DefineConstants> <DefineConstants>BE_srcdir=..\..\..\BE\dist;BEurtle_bindir=..\..\..\BEurtle\bin\Release</DefineConstants>
<SignOutput>true</SignOutput>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="BE.wxs" /> <Compile Include="BE.wxs" />
<Compile Include="BEgui.exe.wxs" />
<Compile Include="BEurtle.dll.wxs" /> <Compile Include="BEurtle.dll.wxs" />
<Compile Include="Product.wxs" /> <Compile Include="Product.wxs" />
</ItemGroup> </ItemGroup>
Expand All @@ -39,9 +41,17 @@
<Import Project="$(WixTargetsPath)" /> <Import Project="$(WixTargetsPath)" />
<PropertyGroup> <PropertyGroup>
<PreBuildEvent>set PATH=C:\Program Files (x86)\WiX Toolset v3.6\bin%3b%25PATH%25 <PreBuildEvent>set PATH=C:\Program Files (x86)\WiX Toolset v3.6\bin%3b%25PATH%25
echo %PATH%
heat dir ..\..\..\BE\dist -sreg -ag -cg BE -dr INSTALLDIR -var var.BE_srcdir -out ..\..\BE.wxs 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> heat file ..\..\..\BEurtle\bin\Release\BEurtle.dll -ag -srd -cg BEurtle.dll -dr INSTALLDIR -var var.BEurtle_bindir -out ..\..\BEurtle.dll.wxs
heat file ..\..\..\BEgui\bin\Release\BEgui.exe -ag -srd -cg BEgui.exe -dr INSTALLDIR -var var.BEurtle_bindir -out ..\..\BEgui.exe.wxs</PreBuildEvent>
</PropertyGroup> </PropertyGroup>
<Target Name="SignCabs">
<Exec Command="&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\Signtool.exe&quot; sign /a &quot;%(SignCabs.FullPath)&quot;" />
</Target>
<Target Name="SignMsi">
<Exec Command="&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\Signtool.exe&quot; sign /a &quot;%(SignMsi.FullPath)&quot;" />
</Target>
<!-- <!--
To modify your build process, add your task inside one of the targets below and uncomment it. 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. Other similar extension points exist, see Wix.targets.
Expand Down
8 changes: 6 additions & 2 deletions BEurtleSetup32/Product.wxs
Expand Up @@ -13,12 +13,16 @@
<?endif ?> <?endif ?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
<Product Id="*" Name="BEurtle Plugin for TortoiseXXX ($(var.Platform))" Language="1033" Version="$(var.Version)" Manufacturer="ned Productions Limited" UpgradeCode="$(var.UpgradeCode)"> <Product Id="*" Name="BEurtle Plugin for TortoiseXXX ($(var.Platform))" Language="1033" Version="$(var.Version)" Manufacturer="ned Productions Limited" UpgradeCode="$(var.UpgradeCode)">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
<Icon Id="icon.ico" SourceFile="..\BEurtle\Resources\MainIcon.ico" />
<Property Id="ARPPRODUCTICON" Value="icon.ico" />
<WixVariable Id="WixUILicenseRtf" Value="..\Licence.rtf" />

<PropertyRef Id="NETFRAMEWORK20"/> <PropertyRef Id="NETFRAMEWORK20"/>
<Condition Message="This application requires .NET Framework 2.0. Please install the .NET Framework then run this installer again."> <Condition Message="This application requires .NET Framework 2.0. Please install the .NET Framework then run this installer again.">
<![CDATA[Installed OR NETFRAMEWORK20]]> <![CDATA[Installed OR NETFRAMEWORK20]]>
</Condition> </Condition>
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
<MajorUpgrade DowngradeErrorMessage="A newer version of BEurtle is already installed." /> <MajorUpgrade DowngradeErrorMessage="A newer version of BEurtle is already installed." />


<Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="TARGETDIR" Name="SourceDir">
Expand Down
10 changes: 10 additions & 0 deletions BEurtleSetup64/BEurtleSetup64.wixproj
Expand Up @@ -20,6 +20,7 @@
<OutputPath>bin\$(Configuration)\</OutputPath> <OutputPath>bin\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<DefineConstants>BE_srcdir=..\..\..\..\BE\dist;BEurtle_bindir=..\..\..\..\BEurtle\bin\Release</DefineConstants> <DefineConstants>BE_srcdir=..\..\..\..\BE\dist;BEurtle_bindir=..\..\..\..\BEurtle\bin\Release</DefineConstants>
<SignOutput>true</SignOutput>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<WixExtension Include="WixUIExtension"> <WixExtension Include="WixUIExtension">
Expand All @@ -35,6 +36,9 @@
<Compile Include="..\BEurtleSetup32\BE.wxs"> <Compile Include="..\BEurtleSetup32\BE.wxs">
<Link>BE.wxs</Link> <Link>BE.wxs</Link>
</Compile> </Compile>
<Compile Include="..\BEurtleSetup32\BEgui.exe.wxs">
<Link>BEgui.exe.wxs</Link>
</Compile>
<Compile Include="..\BEurtleSetup32\BEurtle.dll.wxs"> <Compile Include="..\BEurtleSetup32\BEurtle.dll.wxs">
<Link>BEurtle.dll.wxs</Link> <Link>BEurtle.dll.wxs</Link>
</Compile> </Compile>
Expand All @@ -43,6 +47,12 @@
</Compile> </Compile>
</ItemGroup> </ItemGroup>
<Import Project="$(WixTargetsPath)" /> <Import Project="$(WixTargetsPath)" />
<Target Name="SignCabs">
<Exec Command="&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\Signtool.exe&quot; sign /a &quot;%(SignCabs.FullPath)&quot;" />
</Target>
<Target Name="SignMsi">
<Exec Command="&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\Signtool.exe&quot; sign /a &quot;%(SignMsi.FullPath)&quot;" />
</Target>
<!-- <!--
To modify your build process, add your task inside one of the targets below and uncomment it. 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. Other similar extension points exist, see Wix.targets.
Expand Down
5 changes: 2 additions & 3 deletions Installer/Bundle.wxs
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<?ifndef Version?> <?ifndef Version?>
<?define Version = "1.5.0.0" ?> <?define Version = "1.5.0.1" ?>
<?endif ?> <?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"> <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">
Expand All @@ -10,8 +10,7 @@
AboutUrl="http://www.nedprod.com/programs/Win32/BEurtle/" AboutUrl="http://www.nedprod.com/programs/Win32/BEurtle/"
SplashScreenSourceFile="..\BEurtle\Resources\bugseverywheresplash.bmp" SplashScreenSourceFile="..\BEurtle\Resources\bugseverywheresplash.bmp"
Condition="((VersionNT >= v5.1) AND (ServicePackLevel >= 3)) OR ((VersionNT >= v5.2) AND (ServicePackLevel >= 2)) OR (VersionNT >= v6.0)" Condition="((VersionNT >= v5.1) AND (ServicePackLevel >= 3)) OR ((VersionNT >= v5.2) AND (ServicePackLevel >= 2)) OR (VersionNT >= v6.0)"
> IconSourceFile="..\BEurtle\Resources\MainIcon.ico">
<!--IconSourceFile="..\BEurtle\Resources\MainIcon.ico">-->


<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense"> <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
<bal:WixStandardBootstrapperApplication LicenseFile="..\Licence.rtf" LogoFile="bugseverywhere.png"/> <bal:WixStandardBootstrapperApplication LicenseFile="..\Licence.rtf" LogoFile="bugseverywhere.png"/>
Expand Down
13 changes: 13 additions & 0 deletions Installer/Installer.wixproj
Expand Up @@ -21,6 +21,7 @@
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<DefineConstants> <DefineConstants>
</DefineConstants> </DefineConstants>
<SignOutput>true</SignOutput>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Bundle.wxs" /> <Compile Include="Bundle.wxs" />
Expand All @@ -36,6 +37,18 @@
</WixExtension> </WixExtension>
</ItemGroup> </ItemGroup>
<Import Project="$(WixTargetsPath)" /> <Import Project="$(WixTargetsPath)" />
<Target Name="SignCabs">
<Exec Command="&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\Signtool.exe&quot; sign /a &quot;%(SignCabs.FullPath)&quot;" />
</Target>
<Target Name="SignMsi">
<Exec Command="&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\Signtool.exe&quot; sign /a &quot;%(SignMsi.FullPath)&quot;" />
</Target>
<Target Name="SignBundleEngine">
<Exec Command="&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\Signtool.exe&quot; sign /a &quot;@(SignBundleEngine)&quot;" />
</Target>
<Target Name="SignBundle">
<Exec Command="&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\Signtool.exe&quot; sign /a &quot;@(SignBundle)&quot;" />
</Target>
<!-- <!--
To modify your build process, add your task inside one of the targets below and uncomment it. 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. Other similar extension points exist, see Wix.targets.
Expand Down

0 comments on commit 600519d

Please sign in to comment.