[wpkg-users] executing a VB script

2008-03-03 Thread Paul McGrath
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?

Re: [wpkg-users] executing a VB script

2008-03-03 Thread Tomasz Chmielewski
Paul McGrath schrieb: > 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

Re: [wpkg-users] executing a VB script

2008-03-03 Thread Paul McGrath
Tomasz, thank you for the quick reply. So if I understand you correctly: 1. wpkg package executes script which creates the IP ports and adds corresponding printers. 2. a user logon script adds the printers again to the previously created ports but only for each user. I can understand your logi

Re: [wpkg-users] executing a VB script

2008-03-03 Thread Tomasz Chmielewski
Paul McGrath schrieb: > Tomasz, > thank you for the quick reply. > So if I understand you correctly: > 1. wpkg package executes script which creates the IP ports and adds > corresponding printers. > 2. a user logon script adds the printers again to the previously > created ports but only for ea

Re: [wpkg-users] executing a VB script

2008-03-03 Thread Paul McGrath
Thomasz, > > Hmm, it seems to me that it is how such command works: > > rundll32 printui.dll,PrintUIEntry /q /y /ga /in /n > \\server\SOME_PRINTER > > But maybe I just used wrong flags and your VB script is "all-in-one". Yes, I think it is ;-) > > > 'add' file. I have tested by creating a p