[wpkg-users] Updating wpkg client settings via Active Directory

Stefan Pendl stefan.pendl.71 at gmail.com
Sun Nov 27 13:51:27 CET 2011


Am 24.11.2011 20:36, schrieb Alan Adams:
> I have the wpkg client msi set up, with a settings/xml file in the
> same folder, and distribute it via Active Directory. This works well.
> However if I need to change the settings file, redeploying the package
> doesn't update the settings. I *think* redeploying uses msiexec
> /update to operate. My suspicion is that the settings file is only
> imported into the client with msiexec /install. Am I right, and if so
> can it be changed?
>
> At the moment I have to create a new AD package and deploy it to
> update settings. Not only that, but I need to remove the previous AD
> package first. While this works, I want to minimise the traffic on the
> wireless network, particularly during startup, as it has a serious
> impact on lessons.
>

I am using the following package to change the settings.
BTW, it is always good to have separate packages for installation and 
configuration, since the configuration can change more often than the 
installation.

'---code start (watch for line wraps)

     <package id="WpkgSettings" name="WPKG Client Settings"
         revision="2011.06.26" priority="999" reboot="false"
         execute="once">
         <depends package-id="WpkgClient"/>

         <install cmd='"%ProgramFiles%\WPKG\wpkginst.exe" 
--SETTINGSFILE=%WPKG_ROOT%\settings.xml' />

         <upgrade cmd='"%ProgramFiles%\WPKG\wpkginst.exe" 
--SETTINGSFILE=%WPKG_ROOT%\settings.xml' />
     </package>

'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



More information about the wpkg-users mailing list