Code: Select all
try
{
string updaterPath = Directory.GetCurrentDirectory() + @"\updater.exe";
Log.Information("Updater path set to: {0}", updaterPath);
Process.Start(updaterPath, " /checknow");
}
catch (Exception ex)
{
Log.Error(ex.Message);
Log.Error(ex.StackTrace);
}
My installer.txt looks like this:
Code: Select all
;aiu;
[ThermalVision]
Name = Thermal Vision
ProductVersion = 1.1.7149.19169
URL = http://EngNAS/ThermalVision/ThermalVision.exe
Size = 28559237
MD5 = 224623e5044c6d5bcc9f7db54fb061a2
ServerFileName = ThermalVision.exe
RegistryKey = HKUD\Software\Sharpline Converting, Inc.\Thermal Vision\Version
Version = 1.1.7149.17876
Enhancement = Added improved updating capability.