1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 15:53:55 +00:00

Updated Windows Installer to populate DisplayVersion in registry

This commit is contained in:
Bryan Roe
2022-08-24 00:54:18 -07:00
parent 5e54734b28
commit 4d1dc7a082
2 changed files with 6 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -2432,6 +2432,7 @@ function serviceManager()
{ {
reg.WriteKey(reg.HKEY.LocalMachine, 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\' + options.name, 'UninstallString', options.servicePath + ' -b64exec ' + script); reg.WriteKey(reg.HKEY.LocalMachine, 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\' + options.name, 'UninstallString', options.servicePath + ' -b64exec ' + script);
} }
reg.WriteKey(reg.HKEY.LocalMachine, 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\' + options.name, 'DisplayVersion', process.versions.commitDate.toString());
} }
catch (xx) catch (xx)
{ {