[wpkg-users] WPKG & Active Directory
Ronny
ladiko at web.de
Fri Feb 10 09:32:31 CET 2012
Hello Matthew,
you don't need to have 2 shares, but you can. I just placed all my
software packages in separate subfolders of the folder packages.
You can define the variable %SOFTWARE% or you use the UNC path directly
in your xml-files. The use of variables is suggested, because maybe in
the future you want to change the name of the server or share and need
to edit all packages or just the line where the variable is defined. I
guess the second most used variable is WPKGROOT or sometimes WPKG_ROOT,
so i added this one to the expample. If you call the wpkg.js by a
startup batch script you can do it like that:
set SOFTWARE=\\Server\Software-Share\packages
set WPKGROOT=\\Server\wpkg-Share
cscript //nologo %WPKGROOT%\wpkg.js /synchronize /nonotify
but you can also define them in the profiles.xml like that:
<profile id="default">
<variable name="SOFTWARE" value="\\Server\Software-Share\packages"/>
<variable name="WPKGROOT" value="\\Server\wpkg-Share"/>
<package package-id="wpkgclient" />
<package package-id="time" />
</profile>
And then every other profile depends on my default-Profile so the
variables are set and the wpkg-client is roled out and updated.
<profile id="accounting">
<depends profile-id="default" />
<package package-id="firefox" />
<package package-id="thunderbird" />
<package package-id="adobereader" />
...
Regards Ronny
#
Am 10.02.2012 05:01, schrieb Matthew Gyurgyik:
> So I'm getting ready to test WPKG tomorrow and have a few questions...
>
> Shares
> * WPKG - Contain WPKG scripts
> * Software - contains installable software
>
> Both shares should have "Authenticated User Permissions", correct?
>
> If I run wpkg.js manually or via a startup script it appears that I'll
> have to define the %SOFTWARE% variable or specific the full path of
> the executable in my package xml files, correct?
>
> Thanks!
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list