[wpkg-users] Vista service

Michael Ugilt michael at ugilt.net
Tue Oct 28 21:47:38 CET 2008


>Where did you get that idea from? That you'd just copy executables and 
>libraries, and it'd just work?

I have actually been reading the docs which stated that I could install as I
did!
http://wpkg.org/WPKG_Client#Advanced_installation

Point taken, I will reinstall as admin with "msiexec /qn /i WPKGSetup.msi
SETTINGSFILE=settings.xml"
and retest tomorrow.

Thx
Mike
-----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