Changes

Jump to: navigation, search

Installation instructions

14 bytes removed, 12:55, 9 December 2005
More sophisticated example - using srvany to create a system service
This is an example <code>install-service.js</code> file:
</code>var WshShell = WScript.CreateObject("WScript.Shell");
var srvKey = "HKLM\\SYSTEM\\CurrentControlSet\\Services\\Windows Packager\\Parameters\\";
var appKey = srvKey + "Application";
var srvArgs = "\\\\server\\wpkg\\wpkg.js /synchronize /quiet";
WshShell.RegWrite(appKey, srvPath, "REG_SZ");
WshShell.RegWrite(parKey, srvArgs, "REG_SZ");</code>
Anonymous user

Navigation menu