BGInfo

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

BgInfo v4.16

This is a silent installer and uninstaller for BgInfo v4.16 Download from here

You need to make the bginfo.bgi configuration file yourself by running the application and saving a custom configuration.

<package 
   id="bginfo" 
   name="BgInfo v4.16" 
   revision="2012071301"
   priority="10" 
   reboot="false">
   <check type="file" condition="exists" path="%WINDIR%\system32\bginfo.bgi" />
   <check type="file" condition="exists" path="%WINDIR%\system32\Bginfo.exe" />

   <install cmd='cmd /c copy /y %SOFTWARE%\bginfo\bginfo.exe %WINDIR%\system32' />
   <install cmd='cmd /c copy /y %SOFTWARE%\bginfo\bginfo.bgi %WINDIR%\system32' />
   <install cmd='reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v BGInfo /t REG_SZ /d "%WINDIR%\system32\bginfo.exe /accepteula /i%WINDIR%\system32\bginfo.bgi /timer:0" /f' />

   <upgrade cmd='cmd /c copy /y %SOFTWARE%\bginfo\bginfo.exe %WINDIR%\system32' />
   <upgrade cmd='cmd /c copy /y %SOFTWARE%\bginfo\bginfo.bgi %WINDIR%\system32' />
   <upgrade cmd='reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v BGInfo /t REG_SZ /d "%WINDIR%\system32\bginfo.exe /accepteula /i%WINDIR%\system32\bginfo.bgi /timer:0" /f' />

   <remove cmd='cmd /c del %WINDIR%\system32\bginfo.bgi' />
   <remove cmd='cmd /c del %WINDIR%\system32\bginfo.exe' />
   <remove cmd='reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v BGInfo /f' />
</package>