Skip to content

Commit 4fe8b17

Browse files
committed
Release Release v1.9.0
* Issue #458: Deferred session Variables. * Issue #377: How to register a new MIME type with custom document icon * Issue #416: WPF Bootstrap application fails to run after upgrading from Wixharp v1.7 to v1.8 * Issue #409: NullReferenceException in XmlFile * Issue #452: Component Id generation for RegValue does not take RegValue.Id into account * Added repairing MSI package with `project.EnableResilientPackage()` (see #457 for details). Added generation of globally unique `Component` Id. * Issue #453: There is no way to set virtual HKMU registry hive supported by WiX for RegValue `Microsoft.Win32.RegistryHive` replaced with `WixSharp.RegistryHive` * Added generating cmd bat with exit code and handling compiler and linker exit codes * Improved the algorithm for discovery wix_bin_package in the VS Project * Added an argument utilities to parse arguments easier * Fixed/reviewed all falsely failed samples * Added `Version.ClearRevision` extension method. * `FileSearch` class extended to match the current WiX `FileSearch` element. * Pre-work for WiX4 integration
1 parent c1e6ade commit 4fe8b17

14 files changed

Lines changed: 69 additions & 40 deletions

File tree

Source/NuGet/WixSharp/WixSharp.bin.nuspec

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
33
<metadata>
44
<id>WixSharp.bin</id>
5-
<version>1.8.0.0</version>
5+
<version>1.9.0.0</version>
66
<title>Wix# (WixSharp) - Binaries</title>
77
<authors>Oleg Shilo</authors>
88
<owners>Oleg Shilo</owners>
@@ -16,17 +16,24 @@ The package contains Wix# binaries only.
1616
In order to use this package you need have WiX Toolset installed.
1717
The package is tested against WIX (Windows Installer Xml) Toolset v3.10 (v3.10.2103.0)</description>
1818
<summary>Wix# (WixSharp) - Binaries</summary>
19-
<releaseNotes>Release Release v1.8.0
20-
* Nsis improvements
21-
- Restructured the resulting nsis source code. The native bootstrapper should startup faster.
22-
- NsiSourceGenerated event is added
23-
- PrerequisiteFileArguments and PrimaryFileArguments properties are added
24-
- SplashScreen is added
25-
* Added `File.OverwriteOnInstall`
26-
* Added extension method `string Attr(this XElement obj, XName name)` for immediate access to an `XElement` attribute value.
27-
* Added extension method `Project.FindFirstFile`
28-
* Issue #398: Registry keys for both 32 and 64 bit machines
29-
* Issue #389: Custom WPF UI - Show dotNet Licence Prompt as BootStrapp Window
19+
<releaseNotes>Release Release v1.9.0
20+
21+
* Issue #458: Deferred session Variables.
22+
* Issue #377: How to register a new MIME type with custom document icon
23+
* Issue #416: WPF Bootstrap application fails to run after upgrading from Wixharp v1.7 to v1.8
24+
* Issue #409: NullReferenceException in XmlFile
25+
* Issue #452: Component Id generation for RegValue does not take RegValue.Id into account
26+
* Added repairing MSI package with `project.EnableResilientPackage()` (see https://github.com/oleg-shilo/wixsharp/pull/457 for details).
27+
Added generation of globally unique `Component` Id.
28+
* Issue #453: There is no way to set virtual HKMU registry hive supported by WiX for RegValue
29+
`Microsoft.Win32.RegistryHive` replaced with `WixSharp.RegistryHive`
30+
* Added generating cmd bat with exit code and handling compiler and linker exit codes
31+
* Improved the algorithm for discovery wix_bin_package in the VS Project
32+
* Added an argument utilities to parse arguments easier
33+
* Fixed/reviewed all falsely failed samples
34+
* Added `Version.ClearRevision` extension method.
35+
* `FileSearch` class extended to match the current WiX `FileSearch` element.
36+
* Pre-work for WiX4 integration
3037
</releaseNotes>
3138
<copyright>Copyright (C) 2004-2018 Oleg Shilo</copyright>
3239
<language>en-AU</language>

Source/NuGet/WixSharp/WixSharp.lab.nuspec

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
33
<metadata>
44
<id>WixSharp.Lab</id>
5-
<version>1.8.0.0</version>
5+
<version>1.9.0.0</version>
66
<title>Wix# (WixSharp) - Experimantal features</title>
77
<authors>Oleg Shilo</authors>
88
<owners>Oleg Shilo</owners>
@@ -14,17 +14,24 @@
1414
The package contains the sample code for building a simple MSI with the CLR WinForm dialog inserted into UI sequence between InsallDirDlg and VerifyReadyDlg native MSI dialogs. In order to use this package you need have WiX Toolset installed.
1515
The package is tested against WIX (Windows Installer Xml) Toolset v3.10 (v3.10.2103.0)</description>
1616
<summary>Wix# binaries containing experimental features (e.g. native WiX UI support).</summary>
17-
<releaseNotes>Release Release v1.8.0
18-
* Nsis improvements
19-
- Restructured the resulting nsis source code. The native bootstrapper should startup faster.
20-
- NsiSourceGenerated event is added
21-
- PrerequisiteFileArguments and PrimaryFileArguments properties are added
22-
- SplashScreen is added
23-
* Added `File.OverwriteOnInstall`
24-
* Added extension method `string Attr(this XElement obj, XName name)` for immediate access to an `XElement` attribute value.
25-
* Added extension method `Project.FindFirstFile`
26-
* Issue #398: Registry keys for both 32 and 64 bit machines
27-
* Issue #389: Custom WPF UI - Show dotNet Licence Prompt as BootStrapp Window
17+
<releaseNotes>Release Release v1.9.0
18+
19+
* Issue #458: Deferred session Variables.
20+
* Issue #377: How to register a new MIME type with custom document icon
21+
* Issue #416: WPF Bootstrap application fails to run after upgrading from Wixharp v1.7 to v1.8
22+
* Issue #409: NullReferenceException in XmlFile
23+
* Issue #452: Component Id generation for RegValue does not take RegValue.Id into account
24+
* Added repairing MSI package with `project.EnableResilientPackage()` (see https://github.com/oleg-shilo/wixsharp/pull/457 for details).
25+
Added generation of globally unique `Component` Id.
26+
* Issue #453: There is no way to set virtual HKMU registry hive supported by WiX for RegValue
27+
`Microsoft.Win32.RegistryHive` replaced with `WixSharp.RegistryHive`
28+
* Added generating cmd bat with exit code and handling compiler and linker exit codes
29+
* Improved the algorithm for discovery wix_bin_package in the VS Project
30+
* Added an argument utilities to parse arguments easier
31+
* Fixed/reviewed all falsely failed samples
32+
* Added `Version.ClearRevision` extension method.
33+
* `FileSearch` class extended to match the current WiX `FileSearch` element.
34+
* Pre-work for WiX4 integration
2835
</releaseNotes>
2936
<copyright>Copyright (C) 2004-2018 Oleg Shilo</copyright>
3037
<language>en-AU</language>
@@ -34,7 +41,7 @@ The package is tested against WIX (Windows Installer Xml) Toolset v3.10 (v3.10.2
3441
<frameworkAssembly assemblyName="System.Drawing" targetFramework="" />
3542
</frameworkAssemblies>
3643
<dependencies>
37-
<dependency id="WixSharp.bin" version="1.8.0.0" />
44+
<dependency id="WixSharp.bin" version="1.9.0.0" />
3845
</dependencies>
3946
</metadata>
4047
<files>

Source/NuGet/WixSharp/WixSharp.nuspec

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
33
<metadata>
44
<id>WixSharp</id>
5-
<version>1.8.0.0</version>
5+
<version>1.9.0.0</version>
66
<title>Wix# (WixSharp) - managed interface for WiX</title>
77
<authors>Oleg Shilo</authors>
88
<owners>Oleg Shilo</owners>
@@ -18,24 +18,30 @@ If you need only Wix# binaries you may want to use WixSharp.bin package instead.
1818
In order to use this package you need have WiX Toolset installed.
1919
The package is tested against WIX (Windows Installer Xml) Toolset v3.10 (v3.10.2103.0)</description>
2020
<summary>Wix# (WixSharp) - Binaries</summary>
21-
<releaseNotes>Release Release v1.8.0
21+
<releaseNotes>Release Release v1.9.0
2222

23-
* Nsis improvements
24-
- Restructured the resulting nsis source code. The native bootstrapper should startup faster.
25-
- NsiSourceGenerated event is added
26-
- PrerequisiteFileArguments and PrimaryFileArguments properties are added
27-
- SplashScreen is added
28-
* Added `File.OverwriteOnInstall`
29-
* Added extension method `string Attr(this XElement obj, XName name)` for immediate access to an `XElement` attribute value.
30-
* Added extension method `Project.FindFirstFile`
31-
* Issue #398: Registry keys for both 32 and 64 bit machines
32-
* Issue #389: Custom WPF UI - Show dotNet Licence Prompt as BootStrapp Window
23+
* Issue #458: Deferred session Variables.
24+
* Issue #377: How to register a new MIME type with custom document icon
25+
* Issue #416: WPF Bootstrap application fails to run after upgrading from Wixharp v1.7 to v1.8
26+
* Issue #409: NullReferenceException in XmlFile
27+
* Issue #452: Component Id generation for RegValue does not take RegValue.Id into account
28+
* Added repairing MSI package with `project.EnableResilientPackage()` (see https://github.com/oleg-shilo/wixsharp/pull/457 for details).
29+
Added generation of globally unique `Component` Id.
30+
* Issue #453: There is no way to set virtual HKMU registry hive supported by WiX for RegValue
31+
`Microsoft.Win32.RegistryHive` replaced with `WixSharp.RegistryHive`
32+
* Added generating cmd bat with exit code and handling compiler and linker exit codes
33+
* Improved the algorithm for discovery wix_bin_package in the VS Project
34+
* Added an argument utilities to parse arguments easier
35+
* Fixed/reviewed all falsely failed samples
36+
* Added `Version.ClearRevision` extension method.
37+
* `FileSearch` class extended to match the current WiX `FileSearch` element.
38+
* Pre-work for WiX4 integration
3339
</releaseNotes>
3440
<copyright>Copyright (C) 2004-2018 Oleg Shilo</copyright>
3541
<language>en-AU</language>
3642
<tags>C# scripting msi install setup wix</tags>
3743
<dependencies>
38-
<dependency id="WixSharp.bin" version="1.8.0.0" />
44+
<dependency id="WixSharp.bin" version="1.9.0.0" />
3945
</dependencies>
4046
</metadata>
4147
<files>
Binary file not shown.
Binary file not shown.

Source/src/WixSharp.Samples/Wix# Samples/Managed Setup/CustomUIDialog/setup.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ static void Project_AfterInstall(SetupEventArgs e)
8484
//Debug.Assert(false);
8585
MessageBox.Show(e.Data["test"], "Project_AfterInstall");
8686
if (e.IsInstalling)
87+
{
88+
System.IO.Directory.CreateDirectory(@"C:\Program Files\ttt");
8789
MessageBox.Show($"User '{Defaults.UserName}' with password '{e.Session.Property("PASSWORD")}' has been created");
90+
}
8891
}
8992

9093
static void msi_BeforeInstall(SetupEventArgs e)
0 Bytes
Binary file not shown.
-2 KB
Binary file not shown.

0 commit comments

Comments
 (0)