3,217
edits
Changes
m
no edit summary
All you have to do is to login to your Windows box, and issue these commands as Administrator - you can put them in one file which we call <code>wpkg-install.bat</code>:
Here is a sample wpkg-install.bat file - the sum of steps 1-8 described below. You may want to change some paths which are marked redof course.
<code>copy \\server\wpkg\files\srvany.exe %SystemRoot%\System32
* Pick a network drive. This drive must be accessable by the user WPKG is going to be configured to run as. We are using LocalSystem on Windows 2000. Windows XP has a new NetworkService account which begs examination. When LocalSystem attempts to access a file share, it does so under the identity of guest. Thus, guest must have read only access to your entire software share.
* Our first command copies <code>srvany.exe</code> and <code>instsrv.exe</code> to <code>%SystemRoot%\System32</code>: (note the paths which are marked red):
<code>copy \\server\wpkg\files\srvany.exe %SystemRoot%\System32