Skip to content

Commit

Permalink
Merge pull request #195 from pkgw/auto-updates-2
Browse files Browse the repository at this point in the history
Actually fix auto-updating
  • Loading branch information
pkgw authored Jan 6, 2022
2 parents 380503e + a391359 commit bea0b97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions WWTExplorer3d/3dWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7813,11 +7813,11 @@ private static bool CheckForUpdates(bool interactive)

if (RenderEngine.multiMonClient)
{
System.Diagnostics.Process.Start(@"msiexec.exe", string.Format(@"/fvomus {0}\wwtsetup.msi /q", Path.GetTempPath()));
System.Diagnostics.Process.Start(@"msiexec.exe", string.Format(@"/i {0}\wwtsetup.msi /l*vx {0}\wwtupdate.log /q", Path.GetTempPath()));
}
else
{
System.Diagnostics.Process.Start(@"msiexec.exe", string.Format(@"/fvomus {0}\wwtsetup.msi", Path.GetTempPath()));
System.Diagnostics.Process.Start(@"msiexec.exe", string.Format(@"/i {0}\wwtsetup.msi /l*vx {0}\wwtupdate.log", Path.GetTempPath()));
}

return false;
Expand Down Expand Up @@ -7849,11 +7849,11 @@ private static bool CheckForUpdates(bool interactive)

if (RenderEngine.multiMonClient)
{
System.Diagnostics.Process.Start(@"msiexec.exe", string.Format(@"/fvomus {0}\wwtsetup.msi /q", Path.GetTempPath()));
System.Diagnostics.Process.Start(@"msiexec.exe", string.Format(@"/i {0}\wwtsetup.msi /l*vx {0}\wwtupdate.log /q", Path.GetTempPath()));
}
else
{
System.Diagnostics.Process.Start(@"msiexec.exe", string.Format(@"/fvomus {0}\wwtsetup.msi", Path.GetTempPath()));
System.Diagnostics.Process.Start(@"msiexec.exe", string.Format(@"/i {0}\wwtsetup.msi /l*vx {0}\wwtupdate.log", Path.GetTempPath()));
}

return false;
Expand Down

0 comments on commit bea0b97

Please sign in to comment.