Difference between revisions of "WPKG Client"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
Line 1: Line 1:
== WPKG Client ==
+
= 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 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.
Line 6: Line 6:
  
  
== Silent installation ==
+
= Silent installation =
  
 
WPKG Client comes as a MSI package and you can install it silently like below:
 
WPKG Client comes as a MSI package and you can install it silently like below:
Line 20: Line 20:
  
  
== Configuration ==
+
== 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 <code>%PROGRAMFILES%\wpkg\</code> to another machine
 +
 
 +
 
 +
* Start cmd.exe and run:
 +
 
 +
prompt> cd %PROGRAMFILES%\wpkg
 +
prompt> wpkgsrv /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 [http://www.dependencywalker.com Dependency Walker].
 +
 
 +
 
 +
* 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.
 
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.
Line 27: Line 59:
  
  
== Troubleshooting ==
+
= 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.
 
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.

Revision as of 19:15, 28 March 2008

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 /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.


  • 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.