Difference between revisions of "Change Wallpaper"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(New page: Change background for the user running wpkg. <source lang="xml"> <package id="bg" name="bg" revision="0" reboot="postponed" execute="once" priority="0" hidden="true"> <i...)
(No difference)

Revision as of 16:49, 17 May 2009

Change background for the user running wpkg.

<package
  id="bg"
  name="bg"
  revision="0"
  reboot="postponed"
  execute="once"
  priority="0"
  hidden="true">
    <install cmd='xcopy /Y "%WPKG%\custom\bg\bg.bmp" "C:\WINDOWS\web\wallpaper\bg.bmp"' />
    <install cmd='REG ADD "HKCU\Control Panel\Desktop" /v Wallpaper /f /t REG_SZ /d "C:\WINDOWS\web\wallpaper\bg.bmp"' />

    <!-- Use this apply it right away: RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters -->
    <!-- Otherwise it will take a logoff-login -->

</package>