[wpkg-users] Vista service
Michael Ugilt
michael at ugilt.net
Wed Oct 29 16:39:15 CET 2008
I have now installed as admin and added this to the parameter string "
/log_file_path:c:\" - the FAQ is however also referring to adding this
entry: <param name='log_file_path' value='\\\\server\\share\\dir' /> - what
is the right one to use??
I still don't get the service to run properly - here's entries from eventlog
WPKG Service trying start...
WPKG Service->RegisterServiceCtrlHandler: successfuly done
WPKG Service->SERVICE_START_PENDING: successfuly done
Starting WPKG on startup
Before create shared memory: successfuly done.
Create shared memory: successfuly done.
Set script security context: successfuly done.
Starting script action execution
Script action execution done.
Script execution: failure. Exit code: 1 <--- *** this I don't like!
Working done. Perform cleanup.
Cleanup done.
Please advise
thx
-----Oprindelig meddelelse-----
Fra: Tomasz Chmielewski [mailto:mangoo at wpkg.org]
Sendt: 28. oktober 2008 21:37
Til: Michael Ugilt
Cc: wpkg-users at lists.wpkg.org
Emne: Re: [wpkg-users] Vista service
Michael Ugilt schrieb:
> Thanks for helping out!
> I install the service by a login script from a samba share (KIX script)
Logon script?
Perhaps not everyone noticed, but we're not in times of ancient DOS and
Windows 9x, where every user had full administrative privileges over the
whole system.
Just don't install any programs via logon script, that's not what it's for.
Regular users SHOULD NOT BE ABLE TO INSTALL APPLICATIONS. There may be
some exemptions, i.e. home users which happen to be administrators, but
to in schools, companies etc. - where WPKG is used.
> LOGIN SCRIPT
> ============
> ;
> ; install wpkg as a service
> ;
> if not exist("c:\programmer\wpkg\wpkgsrv.exe")
> MESSAGEBOX ("Installerer WPKG...", "Info", 0, 10)
> SHELL "l:\wpkg-inst.bat"
> SHUTDOWN ("","Genstart af PC nødvendig...", 5, 1)
> endif
>
> ; Make sure latest settings.xml is in use at next boot
> SHELL "c:\programmer\wpkg\wpkginst --SETTINGSFILE=l:\settings.xml"
>
>
> Wpkg.inst-bat
> =============
> echo Installing WPKG...
> mkdir "c:\program files\wpkg" > nul:
> COPY L:\wpkginst.exe "c:\program files\wpkg" > nul:
> COPY L:\wpkglogon.dll "c:\program files\wpkg" > nul:
> COPY L:\wpkgsrv.exe "c:\program files\wpkg" > nul:
Where did you get that idea from? That you'd just copy executables and
libraries, and it'd just work?
It *might* work if you do some additional changes here and there, but
certainly, it's not supported.
> c:\programmer\wpkg\wpkgsrv.exe /install
> c:\programmer\wpkg\wpkginst --SETTINGSFILE=l:\settings.xml
>
> I have attached my settings.xml
>
> If I check the running processes after login I do not see wpkg service
> running so my guess is that it's not launched during boot!?!?!
Regular users can't stop/start services.
> Digging into the windows eventviewer I see an error (translated) in the
> lines of "Service WPKG is marked as inactive service. The system is not
> configured to allow inactive services"
Just use WPKG Client installer.
Your users should not be administrators.
And get yourself some "system administration basics" book ;)
--
Tomasz Chmielewski
http://wpkg.org
More information about the wpkg-users
mailing list