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...)
 
 
Line 19: Line 19:
 
</source>
 
</source>
  
 +
 +
'''Note:''' Only use bmp files.
 
[[Category: Silent Installers]]
 
[[Category: Silent Installers]]
 
[[Category: Changing Windows settings]]
 
[[Category: Changing Windows settings]]

Latest revision as of 15:30, 6 September 2013

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>


Note: Only use bmp files.