Skip to content

Commit

Permalink
Release v2.0.3.0
Browse files Browse the repository at this point in the history
- Release WixSharp.VSIX v2.1.0
  - Made split on WiX3 vs WiX4 templates
  - Added Bootstrapper Custom BA templates
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).
- Issue #1392: Is it possible to inherit wxl files using managed UI?
- Added support for ManagedUI to foll back on the stock WXL if one was not supplied by the user for non-English languages
- Added handling new WiX constant `PFiles` (same as old `ProgramFilesFolder`)
- added `WixStandardBootstrapperApplication.AddPayload`
- #1387: Cannot update to latest Caliburn.Micro
- #1384: When the bootstrapper.Build API uses the same name as the project, then misleading compile warnings are issued
- #1379: A way (Or create an example) of how to create a standalone fragment and insert into Projects / chains / etc
- #1382: Package (all child elements of Chain) need to have the After field added
- #1383: Package (all child elements of Chain) need to have the SuppressSignatureVerification field added
- #1381: ExePackage needs to have the Protocol field implemented
- #1372: Creating a FileAssociation with Icon and Advertised = false does not work
- #1373: Need a clearer reason for the following Build exception: "System.NullReferenceException: Object reference not set to an instance of an object."
- Added ensuring `project.OutDir` exists.
- Updated WixToolset.Dtf.WindowsInstaller to the latest version
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).
  • Loading branch information
oleg-shilo committed Dec 6, 2023
1 parent e1936bc commit d9cb709
Show file tree
Hide file tree
Showing 11 changed files with 214 additions and 41 deletions.
31 changes: 26 additions & 5 deletions Source/NuGet/WixSharp/WixSharp.WPF.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>WixSharp.WPF</id>
<version>2.0.2.0</version>
<version>2.0.3.0</version>
<title>Wix# (WixSharp) - Binaries</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -16,14 +16,35 @@ The package contains Wix# binaries only.
In order to use this package you need have WiX Toolset installed.
The package is tested against WIX (Windows Installer Xml) Toolset v3.10 (v3.10.2103.0)</description>
<summary>Wix# (WixSharp) - Binaries</summary>
<releaseNotes>Release v2.0.2.0

- Added `Compiler.VerboseOutput`</releaseNotes>
<releaseNotes>Release v2.0.3.0
- Added `Compiler.VerboseOutput`
- Release WixSharp.VSIX v2.1.0
- Made split on WiX3 vs WiX4 templates
- Added Bootstrapper Custom BA templates
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).
- Issue #1392: Is it possible to inherit wxl files using managed UI?
- Added support for ManagedUI to foll back on the stock WXL if one was not supplied by the user for non-English languages
- Added handling new WiX constant `PFiles` (same as old `ProgramFilesFolder`)
- added `WixStandardBootstrapperApplication.AddPayload`
- #1387: Cannot update to latest Caliburn.Micro
- #1384: When the bootstrapper.Build API uses the same name as the project, then misleading compile warnings are issued
- #1379: A way (Or create an example) of how to create a standalone fragment and insert into Projects / chains / etc
- #1382: Package (all child elements of Chain) need to have the After field added (2)
- #1382: Package (all child elements of Chain) need to have the After field added
- #1383: Package (all child elements of Chain) need to have the SuppressSignatureVerification field added
- #1381: ExePackage needs to have the Protocol field implemented
- #1372: Creating a FileAssociation with Icon and Advertised = false does not work
- #1373: Need a clearer reason for the following Build exception: "System.NullReferenceException: Object reference not set to an instance of an object."
- Added ensuring `project.OutDir` exists.
- Updated WixToolset.Dtf.WindowsInstaller to the latest version
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).</releaseNotes>
<copyright>Copyright (C) 2008-2021 Oleg Shilo</copyright>
<language>en-AU</language>
<tags>C# scripting msi install setup wix</tags>
<dependencies>
<dependency id="WixSharp.bin" version="2.0.2.0" />
<dependency id="WixSharp.bin" version="2.0.3.0" />
<dependency id="Caliburn.Micro" version="3.2.0" />
</dependencies>
<references>
Expand Down
29 changes: 25 additions & 4 deletions Source/NuGet/WixSharp/WixSharp.bin.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>WixSharp.bin</id>
<version>2.0.2.0</version>
<version>2.0.3.0</version>
<title>Wix# (WixSharp) - Binaries</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -16,9 +16,30 @@ The package contains Wix# binaries only.
In order to use this package you need have WiX Toolset installed.
The package is tested against WIX (Windows Installer Xml) Toolset v3.10 (v3.10.2103.0)</description>
<summary>Wix# (WixSharp) - Binaries</summary>
<releaseNotes>Release v2.0.2.0

- Added `Compiler.VerboseOutput`</releaseNotes>
<releaseNotes>Release v2.0.3.0
- Added `Compiler.VerboseOutput`
- Release WixSharp.VSIX v2.1.0
- Made split on WiX3 vs WiX4 templates
- Added Bootstrapper Custom BA templates
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).
- Issue #1392: Is it possible to inherit wxl files using managed UI?
- Added support for ManagedUI to foll back on the stock WXL if one was not supplied by the user for non-English languages
- Added handling new WiX constant `PFiles` (same as old `ProgramFilesFolder`)
- added `WixStandardBootstrapperApplication.AddPayload`
- #1387: Cannot update to latest Caliburn.Micro
- #1384: When the bootstrapper.Build API uses the same name as the project, then misleading compile warnings are issued
- #1379: A way (Or create an example) of how to create a standalone fragment and insert into Projects / chains / etc
- #1382: Package (all child elements of Chain) need to have the After field added (2)
- #1382: Package (all child elements of Chain) need to have the After field added
- #1383: Package (all child elements of Chain) need to have the SuppressSignatureVerification field added
- #1381: ExePackage needs to have the Protocol field implemented
- #1372: Creating a FileAssociation with Icon and Advertised = false does not work
- #1373: Need a clearer reason for the following Build exception: "System.NullReferenceException: Object reference not set to an instance of an object."
- Added ensuring `project.OutDir` exists.
- Updated WixToolset.Dtf.WindowsInstaller to the latest version
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).</releaseNotes>
<copyright>Copyright (C) 2008-2022 Oleg Shilo</copyright>
<language>en-AU</language>
<tags>C# scripting msi install setup wix</tags>
Expand Down
31 changes: 26 additions & 5 deletions Source/NuGet/WixSharp/WixSharp.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>WixSharp</id>
<version>2.0.2.0</version>
<version>2.0.3.0</version>
<title>Wix# (WixSharp) - managed interface for WiX</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -18,14 +18,35 @@ If you need only Wix# binaries you may want to use WixSharp.bin package instead.
In order to use this package you need have WiX Toolset installed.
The package is tested against WIX (Windows Installer Xml) Toolset v3.10 (v3.10.2103.0)</description>
<summary>Wix# (WixSharp) - Binaries</summary>
<releaseNotes>Release v2.0.2.0

- Added `Compiler.VerboseOutput`</releaseNotes>
<releaseNotes>Release v2.0.3.0
- Added `Compiler.VerboseOutput`
- Release WixSharp.VSIX v2.1.0
- Made split on WiX3 vs WiX4 templates
- Added Bootstrapper Custom BA templates
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).
- Issue #1392: Is it possible to inherit wxl files using managed UI?
- Added support for ManagedUI to foll back on the stock WXL if one was not supplied by the user for non-English languages
- Added handling new WiX constant `PFiles` (same as old `ProgramFilesFolder`)
- added `WixStandardBootstrapperApplication.AddPayload`
- #1387: Cannot update to latest Caliburn.Micro
- #1384: When the bootstrapper.Build API uses the same name as the project, then misleading compile warnings are issued
- #1379: A way (Or create an example) of how to create a standalone fragment and insert into Projects / chains / etc
- #1382: Package (all child elements of Chain) need to have the After field added (2)
- #1382: Package (all child elements of Chain) need to have the After field added
- #1383: Package (all child elements of Chain) need to have the SuppressSignatureVerification field added
- #1381: ExePackage needs to have the Protocol field implemented
- #1372: Creating a FileAssociation with Icon and Advertised = false does not work
- #1373: Need a clearer reason for the following Build exception: "System.NullReferenceException: Object reference not set to an instance of an object."
- Added ensuring `project.OutDir` exists.
- Updated WixToolset.Dtf.WindowsInstaller to the latest version
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).</releaseNotes>
<copyright>Copyright (C) 2008-2022 Oleg Shilo</copyright>
<language>en-AU</language>
<tags>C# scripting msi install setup wix</tags>
<dependencies>
<dependency id="WixSharp.bin" version="2.0.2.0" />
<dependency id="WixSharp.bin" version="2.0.3.0" />
</dependencies>
</metadata>
<files>
Expand Down
31 changes: 26 additions & 5 deletions Source/NuGet/WixSharp/WixSharp_wix4.WPF.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>WixSharp-wix4.WPF</id>
<version>2.0.2.0</version>
<version>2.0.3.0</version>
<title>Wix# (WixSharp) - Binaries</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -16,14 +16,35 @@ The package contains Wix# binaries only.
In order to use this package you need have WiX Toolset installed: `dotnet tool install --global wix`
The package is tested against WIX (Windows Installer Xml) Toolset v4.0.1.0</description>
<summary>Wix# (WixSharp) - Binaries</summary>
<releaseNotes>Release v2.0.2.0

- Added `Compiler.VerboseOutput`</releaseNotes>
<releaseNotes>Release v2.0.3.0
- Added `Compiler.VerboseOutput`
- Release WixSharp.VSIX v2.1.0
- Made split on WiX3 vs WiX4 templates
- Added Bootstrapper Custom BA templates
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).
- Issue #1392: Is it possible to inherit wxl files using managed UI?
- Added support for ManagedUI to foll back on the stock WXL if one was not supplied by the user for non-English languages
- Added handling new WiX constant `PFiles` (same as old `ProgramFilesFolder`)
- added `WixStandardBootstrapperApplication.AddPayload`
- #1387: Cannot update to latest Caliburn.Micro
- #1384: When the bootstrapper.Build API uses the same name as the project, then misleading compile warnings are issued
- #1379: A way (Or create an example) of how to create a standalone fragment and insert into Projects / chains / etc
- #1382: Package (all child elements of Chain) need to have the After field added (2)
- #1382: Package (all child elements of Chain) need to have the After field added
- #1383: Package (all child elements of Chain) need to have the SuppressSignatureVerification field added
- #1381: ExePackage needs to have the Protocol field implemented
- #1372: Creating a FileAssociation with Icon and Advertised = false does not work
- #1373: Need a clearer reason for the following Build exception: "System.NullReferenceException: Object reference not set to an instance of an object."
- Added ensuring `project.OutDir` exists.
- Updated WixToolset.Dtf.WindowsInstaller to the latest version
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).</releaseNotes>
<copyright>Copyright (C) 2008-2023 Oleg Shilo</copyright>
<language>en-AU</language>
<tags>C# scripting msi install setup wix</tags>
<dependencies>
<dependency id="WixSharp_wix4.bin" version="2.0.2.0" />
<dependency id="WixSharp_wix4.bin" version="2.0.3.0" />
<dependency id="Caliburn.Micro" version="3.2.0" />
</dependencies>
<references>
Expand Down
29 changes: 25 additions & 4 deletions Source/NuGet/WixSharp/WixSharp_wix4.bin.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>WixSharp_wix4.bin</id>
<version>2.0.2.0</version>
<version>2.0.3.0</version>
<title>Wix# (WixSharp) - Binaries</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -16,9 +16,30 @@ The package contains Wix# binaries only.
In order to use this package you need have WiX Toolset installed: `dotnet tool install --global wix`
The package is tested against WIX (Windows Installer Xml) Toolset v4.0.1.0</description>
<summary>Wix# (WixSharp) - Binaries</summary>
<releaseNotes>Release v2.0.2.0

- Added `Compiler.VerboseOutput`</releaseNotes>
<releaseNotes>Release v2.0.3.0
- Added `Compiler.VerboseOutput`
- Release WixSharp.VSIX v2.1.0
- Made split on WiX3 vs WiX4 templates
- Added Bootstrapper Custom BA templates
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).
- Issue #1392: Is it possible to inherit wxl files using managed UI?
- Added support for ManagedUI to foll back on the stock WXL if one was not supplied by the user for non-English languages
- Added handling new WiX constant `PFiles` (same as old `ProgramFilesFolder`)
- added `WixStandardBootstrapperApplication.AddPayload`
- #1387: Cannot update to latest Caliburn.Micro
- #1384: When the bootstrapper.Build API uses the same name as the project, then misleading compile warnings are issued
- #1379: A way (Or create an example) of how to create a standalone fragment and insert into Projects / chains / etc
- #1382: Package (all child elements of Chain) need to have the After field added (2)
- #1382: Package (all child elements of Chain) need to have the After field added
- #1383: Package (all child elements of Chain) need to have the SuppressSignatureVerification field added
- #1381: ExePackage needs to have the Protocol field implemented
- #1372: Creating a FileAssociation with Icon and Advertised = false does not work
- #1373: Need a clearer reason for the following Build exception: "System.NullReferenceException: Object reference not set to an instance of an object."
- Added ensuring `project.OutDir` exists.
- Updated WixToolset.Dtf.WindowsInstaller to the latest version
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).</releaseNotes>
<copyright>Copyright (C) 2008-2023 Oleg Shilo</copyright>
<language>en-AU</language>
<tags>C# scripting msi install setup wix</tags>
Expand Down
31 changes: 26 additions & 5 deletions Source/NuGet/WixSharp/WixSharp_wix4.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>WixSharp_wix4</id>
<version>2.0.2.0</version>
<version>2.0.3.0</version>
<title>Wix# (WixSharp) - managed interface for WiX</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -18,14 +18,35 @@ If you need only Wix# binaries you may want to use WixSharp.bin package instead.
In order to use this package you need have WiX Toolset installed: `dotnet tool install --global wix`
The package is tested against WIX (Windows Installer Xml) Toolset v4.0.1.0</description>
<summary>Wix# (WixSharp) - Binaries</summary>
<releaseNotes>Release v2.0.2.0

- Added `Compiler.VerboseOutput`</releaseNotes>
<releaseNotes>Release v2.0.3.0
- Added `Compiler.VerboseOutput`
- Release WixSharp.VSIX v2.1.0
- Made split on WiX3 vs WiX4 templates
- Added Bootstrapper Custom BA templates
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).
- Issue #1392: Is it possible to inherit wxl files using managed UI?
- Added support for ManagedUI to foll back on the stock WXL if one was not supplied by the user for non-English languages
- Added handling new WiX constant `PFiles` (same as old `ProgramFilesFolder`)
- added `WixStandardBootstrapperApplication.AddPayload`
- #1387: Cannot update to latest Caliburn.Micro
- #1384: When the bootstrapper.Build API uses the same name as the project, then misleading compile warnings are issued
- #1379: A way (Or create an example) of how to create a standalone fragment and insert into Projects / chains / etc
- #1382: Package (all child elements of Chain) need to have the After field added (2)
- #1382: Package (all child elements of Chain) need to have the After field added
- #1383: Package (all child elements of Chain) need to have the SuppressSignatureVerification field added
- #1381: ExePackage needs to have the Protocol field implemented
- #1372: Creating a FileAssociation with Icon and Advertised = false does not work
- #1373: Need a clearer reason for the following Build exception: "System.NullReferenceException: Object reference not set to an instance of an object."
- Added ensuring `project.OutDir` exists.
- Updated WixToolset.Dtf.WindowsInstaller to the latest version
- `WarnOnOutputPathCollision` changed from Warning to Error (continuation of #1384).
- Extended cascading `Project.Platform` to `RegistrySearch` (triggered by #1390 discussion).</releaseNotes>
<copyright>Copyright (C) 2008-2023 Oleg Shilo</copyright>
<language>en-AU</language>
<tags>C# scripting msi install setup wix</tags>
<dependencies>
<dependency id="WixSharp_wix4.bin" version="2.0.2.0" />
<dependency id="WixSharp_wix4.bin" version="2.0.3.0" />
</dependencies>
</metadata>
<files>
Expand Down
33 changes: 31 additions & 2 deletions Source/bin/package.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//css_args
using System.Threading.Tasks;
using System.Threading;
using System;
using System.Diagnostics;

Expand All @@ -13,6 +15,30 @@ class app
static void Main()
{
string version = Assembly.LoadFrom(@"WixSharp\WixSharp.dll").GetName().Version.ToString();
Console.WriteLine($"Current Release: {version}");

var releaseNotes = $"ReleaseNotes.{version}.txt";

if (!File.Exists(releaseNotes))
{
var lastRelease = Directory
.GetFiles(@".\", "ReleaseNotes.*.txt")
.Select(x => Path.GetFileNameWithoutExtension(x).Replace("ReleaseNotes.", ""))
.Where(x => x != version)
.Select(x => { try { return new Version(x); } catch { return new Version(); } })
.Order()
.Select(x => x.ToString())
.LastOrDefault();

Console.WriteLine($"Last Release: {lastRelease}");

File.AppendAllLines(releaseNotes, new[] { $"Release v{version}" });
run("git", $"log --pretty=format:'%s' v{lastRelease}..HEAD", line => File.AppendAllLines(releaseNotes, new[] { line }));
Task.Run(() => run("notepad", releaseNotes));
Thread.Sleep(1000);
}

Console.WriteLine("---");

var exclusions = "echo.exe;registrator.exe;registrator.exe;myapp.exe;some.exe;cscs.exe".Split(';');
bool deleted = false;
Expand Down Expand Up @@ -42,7 +68,7 @@ static void Main()
run(app, args);
}

static void run(string app, string args)
static void run(string app, string args = "", Action<string> onLine = null)
{
var p = new Process();
p.StartInfo.FileName = app;
Expand All @@ -55,7 +81,10 @@ static void run(string app, string args)
string line = null;

while (null != (line = p.StandardOutput.ReadLine()))
Console.WriteLine(line);
if (onLine == null)
Console.WriteLine(line);
else
onLine(line);

p.WaitForExit();
}
Expand Down
2 changes: 1 addition & 1 deletion Source/src/1.build.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
echo off

set msbuild=C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe
set msbuild=C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe

"%msbuild%" /nologo /verbosity:minimal /t:Clean,Build /p:Configuration=Release /p:Platform="Any CPU" /p:BuildInParallel=true WixSharp.Suite.sln
rem "%msbuild%" /nologo /verbosity:minimal /t:Clean,Build /p:Configuration=Release /p:Platform="Any CPU" WixSharp.Suite.Lab.sln
Expand Down
2 changes: 1 addition & 1 deletion Source/src/2.aggregate.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ copy /Y "WixSharp.Samples\WixSharp*.xml" "..\bin\WixSharp\"

.\WixSharp.Samples\cscs.exe -l .\..\bin\clean_bins.cs

set msbuild=C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe
set msbuild=C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe

"%msbuild%" /nologo /verbosity:minimal /t:Clean,Build /p:Configuration=Release /p:Platform="Any CPU" "Docs\WixSharp.Docs.sln"

Expand Down
Loading

0 comments on commit d9cb709

Please sign in to comment.