Skip to content

Commit

Permalink
modified .wixproj and .wxs files to transfer .net assembly version in…
Browse files Browse the repository at this point in the history
…to .msi file
  • Loading branch information
rstms committed Jul 10, 2015
1 parent e3f3557 commit 06d8b33
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 22 deletions.
30 changes: 15 additions & 15 deletions PDFEncrypt/AboutBox.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions PDFEncrypt/AboutBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ public AboutBox()
+ "see http://qpdf.sourceforge.net for details.";

this.textLicense.Text = "The MIT License (MIT)\r\n"
+ "\r\n"
+ "Copyright (c) 2015 Reliance Systems, Inc. <mkrueger@rstms.net>\r\n"
+ "\r\n"
+ "Permission is hereby granted, free of charge, to any person obtaining a copy\r\n"
+ "of this software and associated documentation files (the \"Software\"), to deal\r\n"
+ "in the Software without restriction, including without limitation the rights\r\n"
Expand Down
13 changes: 7 additions & 6 deletions Setup_PDFEncrypt/PDFEncryptSetup.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,14 @@
<CreateItem Include="@(WSXFileList)" Condition="Exists('%(WSXFileList.Identity)')">
<Output TaskParameter="Include" ItemName="Compile" />
</CreateItem>
</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.
<Target Name="BeforeBuild">
<GetAssemblyIdentity AssemblyFiles="..\PDFEncrypt\bin\$(Configuration)\PDFEncrypt.exe">
<Output TaskParameter="Assemblies" ItemName="AsmInfo" />
</GetAssemblyIdentity>
<!-- Store the assembly version number in ProductVersion preprocessor variable -->
<CreateProperty Value="$(DefineConstants);ProductVersion=%(AsmInfo.Version)">
<Output TaskParameter="Value" PropertyName="DefineConstants" />
</CreateProperty>
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
2 changes: 1 addition & 1 deletion Setup_PDFEncrypt/Product.wxs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="Setup_PDFEncrypt" Language="1033" Version="1.0.0.0" Manufacturer="Reliance Systems, Inc." UpgradeCode="0bb3de49-cd73-4d22-a691-f57fad945d11">
<Product Id="*" Name="Setup_PDFEncrypt" Language="1033" Version="$(var.ProductVersion)" Manufacturer="Reliance Systems, Inc." UpgradeCode="0bb3de49-cd73-4d22-a691-f57fad945d11">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate EmbedCab="yes" />
Expand Down
Binary file modified Setup_PDFEncrypt/bin/Release/PDFEncrypt_Setup.msi
Binary file not shown.

0 comments on commit 06d8b33

Please sign in to comment.