Skip to content

Commit

Permalink
Release v2.0.1.0
Browse files Browse the repository at this point in the history
- Issue #1329: the sample of Install on x64 generate a msi which installs components to Program Files (x86)
- Ported some method extensions from the WiX3 codebase.
- Added `project.UnelevateAfterInstallEvent()` API
- WixSharp binaries re-targeted for target runtime v4.7.2
- Added `Session.PersistData` for securely persisting data between sessions; Triggered by Issue #1029.
  • Loading branch information
oleg-shilo committed Aug 22, 2023
1 parent f1a6fe7 commit ce7ceb0
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 94 deletions.
5 changes: 4 additions & 1 deletion Source/NuGet/WixSharp/UpdatePackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ static public void Main()
UpdateReleaseNotesAndVersion(root + @"\NuGet\WixSharp\WixSharp.nuspec", releaseNotes, version.ToString());
UpdateReleaseNotesAndVersion(root + @"\NuGet\WixSharp\WixSharp.WPF.nuspec", releaseNotes, version.ToString());
UpdateReleaseNotesAndVersion(root + @"\NuGet\WixSharp\WixSharp.bin.nuspec", releaseNotes, version.ToString());
//UpdateReleaseNotesAndVersion(@"E:\Galos\Projects\WixSharp\NuGet\WixSharp\WixSharp.ClrDialog.nuspec", releaseNotes, version.ToString());

UpdateReleaseNotesAndVersion(root + @"\NuGet\WixSharp\WixSharp_wix4.nuspec", releaseNotes, version.ToString());
UpdateReleaseNotesAndVersion(root + @"\NuGet\WixSharp\WixSharp_wix4.WPF.nuspec", releaseNotes, version.ToString());
UpdateReleaseNotesAndVersion(root + @"\NuGet\WixSharp\WixSharp_wix4.bin.nuspec", releaseNotes, version.ToString());

CopyFiles(root + @"\bin\WixSharp", "nbsbuilder.exe", "lib");
CopyFiles(root + @"\bin\WixSharp", "WixSharp.dll", "lib");
Expand Down
27 changes: 8 additions & 19 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.0.0</version>
<version>2.0.1.0</version>
<title>Wix# (WixSharp) - Binaries</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -16,30 +16,19 @@ 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.0.0

## WixSharp release for WiX4.

### System Requirements:
- .NET runtime v7.0 or higher must be installed.
- WiX4 toolset: `dotnet tool install --global wix`

Limitations:

WixSharp just drops these features because they have no direct support in WiX4:
- Package.InstallPrivileges
- Publish.Condition
- Package.Languages no longer exists
- WixSharp.DriverInstaller is based on now deprecated &lt;Driver&gt; element. WiX4 offers no guidance on how to deal with it.
- &lt;CustomAction Id="VBScript" Script="vbscript" ...&gt;&lt;![CDATA[MsgBox "Executing VBScript code..."]]&gt;
- &lt;Package Platform="x64" is illegal but not even picked by wix convert; doc says Component.Bitness may have the value default which means "will be installed using the same bitness as the package". But the package element does not have bitness attribute. WixSharp maintains Project.Platform property but does not convert it in the Package.Platform while still cascades it to the Component.Bitness
<releaseNotes>Release v2.0.1.0

- Issue #1329: the sample of Install on x64 generate a msi which installs components to Program Files (x86)
- Ported some method extensions from the WiX3 codebase.
- Added `project.UnelevateAfterInstallEvent()` API
- WixSharp binaries re-targeted for target runtime v4.7.2
- Added `Session.PersistData` for securely persisting data between sessions; Triggered by Issue #1029.
</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.0.0" />
<dependency id="WixSharp.bin" version="2.0.1.0" />
<dependency id="Caliburn.Micro" version="3.2.0" />
</dependencies>
<references>
Expand Down
25 changes: 7 additions & 18 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.0.0</version>
<version>2.0.1.0</version>
<title>Wix# (WixSharp) - Binaries</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -16,24 +16,13 @@ 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.0.0

## WixSharp release for WiX4.

### System Requirements:
- .NET runtime v7.0 or higher must be installed.
- WiX4 toolset: `dotnet tool install --global wix`

Limitations:

WixSharp just drops these features because they have no direct support in WiX4:
- Package.InstallPrivileges
- Publish.Condition
- Package.Languages no longer exists
- WixSharp.DriverInstaller is based on now deprecated &lt;Driver&gt; element. WiX4 offers no guidance on how to deal with it.
- &lt;CustomAction Id="VBScript" Script="vbscript" ...&gt;&lt;![CDATA[MsgBox "Executing VBScript code..."]]&gt;
- &lt;Package Platform="x64" is illegal but not even picked by wix convert; doc says Component.Bitness may have the value default which means "will be installed using the same bitness as the package". But the package element does not have bitness attribute. WixSharp maintains Project.Platform property but does not convert it in the Package.Platform while still cascades it to the Component.Bitness
<releaseNotes>Release v2.0.1.0

- Issue #1329: the sample of Install on x64 generate a msi which installs components to Program Files (x86)
- Ported some method extensions from the WiX3 codebase.
- Added `project.UnelevateAfterInstallEvent()` API
- WixSharp binaries re-targeted for target runtime v4.7.2
- Added `Session.PersistData` for securely persisting data between sessions; Triggered by Issue #1029.
</releaseNotes>
<copyright>Copyright (C) 2008-2022 Oleg Shilo</copyright>
<language>en-AU</language>
Expand Down
27 changes: 8 additions & 19 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.0.0</version>
<version>2.0.1.0</version>
<title>Wix# (WixSharp) - managed interface for WiX</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -18,30 +18,19 @@ 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.0.0

## WixSharp release for WiX4.

### System Requirements:
- .NET runtime v7.0 or higher must be installed.
- WiX4 toolset: `dotnet tool install --global wix`

Limitations:

WixSharp just drops these features because they have no direct support in WiX4:
- Package.InstallPrivileges
- Publish.Condition
- Package.Languages no longer exists
- WixSharp.DriverInstaller is based on now deprecated &lt;Driver&gt; element. WiX4 offers no guidance on how to deal with it.
- &lt;CustomAction Id="VBScript" Script="vbscript" ...&gt;&lt;![CDATA[MsgBox "Executing VBScript code..."]]&gt;
- &lt;Package Platform="x64" is illegal but not even picked by wix convert; doc says Component.Bitness may have the value default which means "will be installed using the same bitness as the package". But the package element does not have bitness attribute. WixSharp maintains Project.Platform property but does not convert it in the Package.Platform while still cascades it to the Component.Bitness
<releaseNotes>Release v2.0.1.0

- Issue #1329: the sample of Install on x64 generate a msi which installs components to Program Files (x86)
- Ported some method extensions from the WiX3 codebase.
- Added `project.UnelevateAfterInstallEvent()` API
- WixSharp binaries re-targeted for target runtime v4.7.2
- Added `Session.PersistData` for securely persisting data between sessions; Triggered by Issue #1029.
</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.0.0" />
<dependency id="WixSharp.bin" version="2.0.1.0" />
</dependencies>
</metadata>
<files>
Expand Down
18 changes: 7 additions & 11 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.0.0</version>
<version>2.0.1.0</version>
<title>Wix# (WixSharp) - Binaries</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -16,17 +16,13 @@ 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>v2.0.0.0
- Ported to WiX4

Limitations:
- Package.InstallPrivileges
- Publish.Condition
- Package.Languages no longer exists
- WixSharp.DriverInstaller is based on now deprecated &lt;Driver&gt; element. WiX4 offers no guidance on how to deal with it.
- &lt;CustomAction Id='VBScript' Script='vbscript' ...&gt;&lt;![CDATA[MsgBox 'Executing VBScript code...']]&gt;
- &lt;Package Platform='x64' is illegal but not even picked by wix convert; doc says Component.Bitness may have the value default which means 'will be installed using the same bitness as the package'. But the package element does not have bitness attribute. WixSharp maintains Project.Platform property but does not convert it in the Package.Platform while still cascades it to the Component.Bitness
<releaseNotes>Release v2.0.1.0

- Issue #1329: the sample of Install on x64 generate a msi which installs components to Program Files (x86)
- Ported some method extensions from the WiX3 codebase.
- Added `project.UnelevateAfterInstallEvent()` API
- WixSharp binaries re-targeted for target runtime v4.7.2
- Added `Session.PersistData` for securely persisting data between sessions; Triggered by Issue #1029.
</releaseNotes>
<copyright>Copyright (C) 2008-2023 Oleg Shilo</copyright>
<language>en-AU</language>
Expand Down
18 changes: 7 additions & 11 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.0.0</version>
<version>2.0.1.0</version>
<title>Wix# (WixSharp) - Binaries</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -16,17 +16,13 @@ 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>v2.0.0.0
- Ported to WiX4

Limitations:
- Package.InstallPrivileges
- Publish.Condition
- Package.Languages no longer exists
- WixSharp.DriverInstaller is based on now deprecated &lt;Driver&gt; element. WiX4 offers no guidance on how to deal with it.
- &lt;CustomAction Id='VBScript' Script='vbscript' ...&gt;&lt;![CDATA[MsgBox 'Executing VBScript code...']]&gt;
- &lt;Package Platform='x64' is illegal but not even picked by wix convert; doc says Component.Bitness may have the value default which means 'will be installed using the same bitness as the package'. But the package element does not have bitness attribute. WixSharp maintains Project.Platform property but does not convert it in the Package.Platform while still cascades it to the Component.Bitness
<releaseNotes>Release v2.0.1.0

- Issue #1329: the sample of Install on x64 generate a msi which installs components to Program Files (x86)
- Ported some method extensions from the WiX3 codebase.
- Added `project.UnelevateAfterInstallEvent()` API
- WixSharp binaries re-targeted for target runtime v4.7.2
- Added `Session.PersistData` for securely persisting data between sessions; Triggered by Issue #1029.
</releaseNotes>
<copyright>Copyright (C) 2008-2023 Oleg Shilo</copyright>
<language>en-AU</language>
Expand Down
19 changes: 7 additions & 12 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.0.0</version>
<version>2.0.1.0</version>
<title>Wix# (WixSharp) - managed interface for WiX</title>
<authors>Oleg Shilo</authors>
<owners>Oleg Shilo</owners>
Expand All @@ -18,18 +18,13 @@ 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>v2.0.0.0
- Ported to WiX4

Limitations:
- Package.InstallPrivileges
- Publish.Condition
- Package.Languages no longer exists
- WixSharp.DriverInstaller is based on now deprecated &lt;Driver&gt; element. WiX4 offers no guidance on how to deal with it.
- &lt;CustomAction Id='VBScript' Script='vbscript' ...&gt;&lt;![CDATA[MsgBox 'Executing VBScript code...']]&gt;
- &lt;Package Platform='x64' is illegal but not even picked by wix convert; doc says Component.Bitness may have the value default which means 'will be installed using the same bitness as the package'. But the package element does not have bitness attribute. WixSharp maintains Project.Platform property but does not convert it in the Package.Platform while still cascades it to the Component.Bitness

<releaseNotes>Release v2.0.1.0

- Issue #1329: the sample of Install on x64 generate a msi which installs components to Program Files (x86)
- Ported some method extensions from the WiX3 codebase.
- Added `project.UnelevateAfterInstallEvent()` API
- WixSharp binaries re-targeted for target runtime v4.7.2
- Added `Session.PersistData` for securely persisting data between sessions; Triggered by Issue #1029.
</releaseNotes>
<copyright>Copyright (C) 2008-2023 Oleg Shilo</copyright>
<language>en-AU</language>
Expand Down
2 changes: 1 addition & 1 deletion Source/NuGet/WixSharp/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
In order to builk the packages executhe the following steps:
In order to build the packages execute the following steps:
- Update the files to be included in the package
```
css updatepackage
Expand Down
4 changes: 2 additions & 2 deletions Source/src/WixSharp/Properties/AssemblyInfo.version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.0.0")]
[assembly: AssemblyVersion("2.0.1.0")]
[assembly: AssemblyFileVersion("2.0.1.0")]

0 comments on commit ce7ceb0

Please sign in to comment.