WiX Fix: file copy and config merge on update from C# to MSI based installer.
This commit is contained in:
parent
67b2903390
commit
0003925691
6 changed files with 33 additions and 6929 deletions
|
@ -168,8 +168,8 @@ namespace WebsitePanel.WIXInstaller
|
|||
{
|
||||
var Current = SesCtx["ProductVersion"];
|
||||
var Found = string.IsNullOrWhiteSpace(CtxVars.Version) ? "0.0.0" : CtxVars.Version;
|
||||
if ((new Version(Found) >= new Version(Current)) && !CtxVars.InstallerType.ToLowerInvariant().Equals("msi"))
|
||||
throw new InvalidOperationException("New version must be reater than previous always.");
|
||||
if ((new Version(Found) > new Version(Current)) && !CtxVars.InstallerType.ToLowerInvariant().Equals("msi"))
|
||||
throw new InvalidOperationException("New version must be greater than previous always.");
|
||||
};
|
||||
|
||||
var Ctx = session;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue