Change Wallpaper

From WPKG | Open Source Software Deployment and Distribution
Revision as of 16:51, 17 May 2009 by Kalmi (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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>
Personal tools
Namespaces
Variants
Actions
Navigation
ideas?
Toolbox