Permalink
Browse files

Added code signing to all three installers.

  • Loading branch information...
1 parent fa60a25 commit 600519dfdf916a755e1eb7d82e791e3cf41daf39 Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) committed Jul 17, 2012
@@ -0,0 +1,2 @@
+makecert -r -pe -n CN="Niall Douglas" -a sha1 -sr currentuser -ss my
+certmgr.msc
@@ -9,7 +9,7 @@ reporter: '"Niall Douglas \(s \[underscore\] sourceforge {at} nedprod \[dot\] co
severity: wishlist
-status: open
+status: fixed
summary: Add be gui to invoke BEurtle
2 BE
Submodule BE updated 1 files
+54 −0 libbe/command/gui.py
@@ -10,7 +10,7 @@
<div class="header">Bugs Everywhere Bug List</div>
<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>
<h1>Bug: 701/e5e</h1>
@@ -21,7 +21,7 @@ <h1>Bug: 701/e5e</h1>
<tr><td class="bug_detail_label">Short name :</td>
<td class="bug_detail">701/e5e</td></tr>
<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>
<td class="bug_detail">wishlist</td></tr>
<tr><td class="bug_detail_label">Assigned :</td>
@@ -42,7 +42,7 @@ <h1>Bug: 701/e5e</h1>
<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>
</div>
View
@@ -33,14 +33,6 @@
</thead>
<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">
<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>
@@ -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>
</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">
<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>
View
@@ -10,7 +10,7 @@ class Program
[STAThread]
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 result = plugin.GetCommitMessage((IntPtr)null, "", dir, null, "");
}
@@ -20,9 +20,11 @@
<OutputPath>bin\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<DefineConstants>BE_srcdir=..\..\..\BE\dist;BEurtle_bindir=..\..\..\BEurtle\bin\Release</DefineConstants>
+ <SignOutput>true</SignOutput>
</PropertyGroup>
<ItemGroup>
<Compile Include="BE.wxs" />
+ <Compile Include="BEgui.exe.wxs" />
<Compile Include="BEurtle.dll.wxs" />
<Compile Include="Product.wxs" />
</ItemGroup>
@@ -39,9 +41,17 @@
<Import Project="$(WixTargetsPath)" />
<PropertyGroup>
<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 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>
+ <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.
Other similar extension points exist, see Wix.targets.
@@ -13,12 +13,16 @@
<?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 ($(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"/>
<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">
@@ -20,6 +20,7 @@
<OutputPath>bin\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<DefineConstants>BE_srcdir=..\..\..\..\BE\dist;BEurtle_bindir=..\..\..\..\BEurtle\bin\Release</DefineConstants>
+ <SignOutput>true</SignOutput>
</PropertyGroup>
<ItemGroup>
<WixExtension Include="WixUIExtension">
@@ -35,6 +36,9 @@
<Compile Include="..\BEurtleSetup32\BE.wxs">
<Link>BE.wxs</Link>
</Compile>
+ <Compile Include="..\BEurtleSetup32\BEgui.exe.wxs">
+ <Link>BEgui.exe.wxs</Link>
+ </Compile>
<Compile Include="..\BEurtleSetup32\BEurtle.dll.wxs">
<Link>BEurtle.dll.wxs</Link>
</Compile>
@@ -43,6 +47,12 @@
</Compile>
</ItemGroup>
<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.
Other similar extension points exist, see Wix.targets.
View
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?ifndef Version?>
-<?define Version = "1.5.0.0" ?>
+<?define Version = "1.5.0.1" ?>
<?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">
@@ -10,8 +10,7 @@
AboutUrl="http://www.nedprod.com/programs/Win32/BEurtle/"
SplashScreenSourceFile="..\BEurtle\Resources\bugseverywheresplash.bmp"
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">
<bal:WixStandardBootstrapperApplication LicenseFile="..\Licence.rtf" LogoFile="bugseverywhere.png"/>
@@ -21,6 +21,7 @@
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<DefineConstants>
</DefineConstants>
+ <SignOutput>true</SignOutput>
</PropertyGroup>
<ItemGroup>
<Compile Include="Bundle.wxs" />
@@ -36,6 +37,18 @@
</WixExtension>
</ItemGroup>
<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.
Other similar extension points exist, see Wix.targets.

0 comments on commit 600519d

Please sign in to comment.