[wpkg-users] executing a VB script

Paul McGrath J.P.McGrath at leeds.ac.uk
Mon Mar 3 12:31:09 CET 2008


Hi,
  I have a package that executes a VB script which installs printers.
Event viewer says 'Execution of ipprinters successful' but none of the
printers have been added.  If I run the script from CMD or by double
clicking on it then it completes successfully.  What am I doing wrong?

<package
 id="ipprinters"
 name="ipprinters"
 revision="2"
 priority="0"
 execute="always">
	<install cmd='cscript.exe
%SOFTWARE%\printers\admin\ipprnadd.vbs' />
</package>

Thanks in advance
Paul

------------------------------
Paul McGrath,
Computer Manager,
Cancer Research UK Clinical Centre,
Leeds Institute of Molecular Medicine,
St James's University Hospital,
Beckett Street, Leeds, LS9 7TF, UK
Ext.....: Uni - 38630, NHS - (89)38630
Tel.....: +44 113 34 38630
Email...: j.p.mcgrath at leeds.ac.uk
Homepage: http://cruk.leeds.ac.uk
Helpdesk: http://crukhelp.leeds.ac.uk



More information about the wpkg-users mailing list