Ok guys… I don’t know what’s wrong so maybe anyone can please help me.. I saved the script on group policy under Computer Management>Windows Settings>Scripts>Startup then type \\server_name\test$\wpkg\wpkg-start.bat... and the folder is shared to everyone. Everytime I restart my laptop; it’s not running the script… I don’t know what I’m missing here… Please help.. Thanks so much!

 

These are my settings for wpkg-start.bat, profiles.xml, hosts.xml, and packages.xml.

 

Wpkg-start.bat

 

:: This is a recommended way of starting WPKG.

 

:: Use WPKGROOT variable to define where wpkg.js script is.

 

:: Use PACKAGES variable to define where all your software/installers are.

:: You can later use the PACKAGES variable (and all other variables) in your xml files.

 

set WPKGROOT=\\server_name\test$\wpkg  à location of wpkg files

set SOFTWARE=\\server_name\test$\wpkg_test à location of software installer files

cscript \\server_name\test$\wpkg\wpkg.js /synchronize /quiet /nonotify

 

Profiles.xml

 

<?xml version="1.0" encoding="UTF-8"?>

 

<!-- System profile database.

 

     Lists profiles available to the systems. A profile represents a certain

     selection of packages from the packages database. Profiles can depend on

     other profiles, the end result being the sum of all required packages.

    

     THIS IS A SAMPLE FILE

    

     For more info, see http://wpkg.org/index.php/Category:Documentation

 

-->

    <profile id="default">

        <package package-id="flashplayerie" />

    </profile>

 

Packages.xml

 

<package

                        id="flashplayerie"

                        name="Flash Player IE"

                        revision="1"

                        reboot="false"

                        priority="0">

                        <check type="file" condition="exists" path="C:\windows\system32\Macromed\Flash\Flash.ocx" />

                       

                        <install cmd='\\server_name\test$\wpkg_test\install_flash_player.exe /Q'>

                        <exit code="0" />

                        </install>

            </package>

 

Hosts.xml

 

<?xml version="1.0" encoding="UTF-8"?>

 

<!-- Lists host names and associated profile. This file can be edited

     directly, or even created automatically depending on your

     environment.

    

     For more info, see http://wpkg.org/index.php/Category:Documentation

    

     -->

 

<wpkg>

            <host name="LIBRARYLAPTOP" profile-id="default" /> à I’m testing on one laptop for now!

 

 

<!-- This one will match all hosts that were not matched before.

     For more info on regexp matching, see the documentation on http://wpkg.org/index.php/Regular_expression_support -->

 

</wpkg>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to