[skip ci] Include version no. in installation files
Fixes
MODIFY
WalletWasabi.Packager/Program.cs
WalletWasabi.Packager/Program.cs
@@ -197,13 +197,13 @@ namespace WalletWasabi.Packager
if (target.StartsWith("win", StringComparison.OrdinalIgnoreCase))
{
Console.WriteLine("Move created .msi");
- var msiPath = Path.Combine(wixProjectDirectory, @"bin\Release\WasabiInstaller.msi");
+ var msiPath = Path.Combine(wixProjectDirectory, @"bin\Release\Wasabi.msi");
if (!File.Exists(msiPath))
{
- throw new Exception(".msi doesn't exist. Expected path: WasabiInstaller.msi.");
+ throw new Exception(".msi doesn't exist. Expected path: Wasabi.msi.");
}
- var msiFileName = Path.GetFileName(msiPath);
- var newMsiPath = Path.Combine(binDistDirectory, msiFileName);
+ var msiFileName = Path.GetFileNameWithoutExtension(msiPath);
+ var newMsiPath = Path.Combine(binDistDirectory, $"{msiFileName}-{versionPrefix}.msi");
File.Move(msiPath, newMsiPath);
// Sign code with digicert.
@@ -224,7 +224,7 @@ namespace WalletWasabi.Packager
{
throw new Exception($"{publishedFolder} doesn't exist.");
}
- var newFolderName = "WasabiLinux";
+ var newFolderName = $"WasabiLinux-{versionPrefix}";
var newFolderPath = Path.Combine(binDistDirectory, newFolderName);
Directory.Move(publishedFolder, newFolderPath);
publishedFolder = newFolderPath;
@@ -246,7 +246,7 @@ namespace WalletWasabi.Packager
{
throw new Exception($"{publishedFolder} doesn't exist.");
}
- var newFolderName = "WasabiOsx";
+ var newFolderName = $"WasabiOsx-{versionPrefix}";
var newFolderPath = Path.Combine(binDistDirectory, newFolderName);
Directory.Move(publishedFolder, newFolderPath);
publishedFolder = newFolderPath;

MODIFY
WalletWasabi.WindowsInstaller/WalletWasabi.WindowsInstaller.wixproj
WalletWasabi.WindowsInstaller/WalletWasabi.WindowsInstaller.wixproj
<ProductVersion>3.10</ProductVersion>
<ProjectGuid>54654468-4f58-4253-84bd-6f53a8d3d2c4</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
- <OutputName>WasabiInstaller</OutputName>
+ <OutputName>Wasabi</OutputName>
<OutputType>Package</OutputType>
<Cultures>;</Cultures>
</PropertyGroup>

[skip ci] Include version no. in installation files
Fixes https://github.com/zkSNACKs/WalletWasabi/issues/773