Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
remove msi support
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Dec 15, 2023
1 parent e184aef commit 8e21995
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
15 changes: 0 additions & 15 deletions src/Squirrel.Csq/Commands/WindowsReleasifyCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ public class WindowsReleasifyCommand : WindowsSigningCommand

public string AppIcon { get; private set; }

public bool BuildMsi { get; private set; }

public string MsiVersion { get; private set; }

public WindowsReleasifyCommand()
: this("releasify", "Take an existing nuget package and convert it into a Squirrel release.")
{
Expand Down Expand Up @@ -83,16 +79,5 @@ protected WindowsReleasifyCommand(string name, string description)
.SetArgumentHelpName("PATH")
.AcceptExistingOnly()
.RequiresExtension(".ico");

if (SquirrelRuntimeInfo.IsWindows) {
AddOption<bool>((v) => BuildMsi = v, "--msi")
.SetDescription("Compile a .msi machine-wide deployment tool.")
.SetArgumentHelpName("BITNESS");

AddOption<string>((v) => MsiVersion = v, "--msiVersion")
.SetDescription("Override the product version for the generated msi.")
.SetArgumentHelpName("VERSION")
.MustBeValidMsiVersion();
}
}
}
12 changes: 0 additions & 12 deletions src/Squirrel.Csq/Compat/V2CompatRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ public async Task ExecutePackWindows(WindowsPackCommand command)
throw new NotSupportedException("Squirrel v2.x is only supported on/for Windows.");
}

string msi = null;
if (command.BuildMsi) {
msi = command.TargetRuntime.Architecture.ToString();
}

var options = new PackOptions {
releaseDir = command.GetReleaseDirectory().FullName,
package = command.Package,
Expand All @@ -37,7 +32,6 @@ public async Task ExecutePackWindows(WindowsPackCommand command)
appIcon = command.AppIcon,
noDelta = command.NoDelta,
allowUnaware = false,
msi = msi,
signParams = command.SignParameters,
signTemplate = command.SignTemplate,
packId = command.PackId,
Expand All @@ -61,11 +55,6 @@ public async Task ExecuteReleasifyWindows(WindowsReleasifyCommand command)
throw new NotSupportedException("Squirrel v2.x is only supported on/for Windows.");
}

string msi = null;
if (command.BuildMsi) {
msi = command.TargetRuntime.Architecture.ToString();
}

var options = new ReleasifyOptions {
releaseDir = command.GetReleaseDirectory().FullName,
package = command.Package,
Expand All @@ -76,7 +65,6 @@ public async Task ExecuteReleasifyWindows(WindowsReleasifyCommand command)
appIcon = command.AppIcon,
noDelta = command.NoDelta,
allowUnaware = false,
msi = msi,
signParams = command.SignParameters,
signTemplate = command.SignTemplate,
};
Expand Down

0 comments on commit 8e21995

Please sign in to comment.