Difference between revisions of "WPKG Client"
m |
m (→Advanced installation) |
||
Line 30: | Line 30: | ||
prompt> cd %PROGRAMFILES%\wpkg | prompt> cd %PROGRAMFILES%\wpkg | ||
− | prompt> | + | prompt> WPKGsrv.exe /install |
WPKG Service installed. | WPKG Service installed. | ||
− | If it throws an error, there is something fishy - most likely missing libraries (dll). You can check what libraries are missing with [http://www.dependencywalker.com Dependency Walker]. | + | If it throws an error, there is something fishy - most likely missing libraries (dll). You can check what libraries are missing with [http://www.dependencywalker.com Dependency Walker]. Other useful flags to WPKGsrv.exe are /debug and /remove. |
Line 50: | Line 50: | ||
If it works, configure the setting properly (users, paths etc.). | If it works, configure the setting properly (users, paths etc.). | ||
− | |||
= Configuration = | = Configuration = |
Revision as of 19:21, 28 March 2008
Contents
WPKG Client
WPKG Client is the client side of WPKG. It provides a service which automatically runs WPKG each time a machine is turned on and a graphical interface for configuring how it will run.
WPKG Client is available from the Download page
Silent installation
WPKG Client comes as a MSI package and you can install it silently like below:
msiexec /qn /i WPKGSetup.msi SETTINGSFILE=f:\wpkg\images\setup\settings.xml
To silently update the settings of an already installed WPKG Client, use:
%PROGRAMFILES%\WPKG\wpkginst.exe --SETTINGSFILE=f:\wpkg\images\setup\settings.xml
settings.xml file can be exported from GUI - see WPKG Client - GUI help.
Advanced installation
If for some reason you can't use MSI, you can install WPKG Client manually[1]:
- You need the files - the easiest way is to install WPKG Client on one machine, and copy contents of
%PROGRAMFILES%\wpkg\
to another machine
- Start cmd.exe and run:
prompt> cd %PROGRAMFILES%\wpkg prompt> WPKGsrv.exe /install WPKG Service installed.
If it throws an error, there is something fishy - most likely missing libraries (dll). You can check what libraries are missing with Dependency Walker. Other useful flags to WPKGsrv.exe are /debug and /remove.
- Configure settings:
prompt> wpkginst
Put notepad as "execute before", and check "Show GUI".
- Start the service - it should start notepad.exe:
prompt> net start "WPKG service"
It should start without errors, and notepad.exe should start shortly.
If it works, configure the setting properly (users, paths etc.).
Configuration
Use the 'WPKG Client' (wpkginst.exe) located in %PROGRAMFILES%\wpkg\ to configure such aspects as the user to log into the server as, the user to run on the local machine, whether to run silently or not, et cetera.
See WPKG Client - GUI help for more info.
Troubleshooting
When testing and troubleshooting, you can start WPKG Client manually from within Windows' Services management section, by using the Start and Stop button for the 'WPKG Service', rather than by restarting the machine.
Look in Windows' Event Viewer for explanations of what might have gone wrong, and reports of parts going right.