Changes

Jump to: navigation, search

BGInfo

637 bytes added, 15:59, 13 July 2012
tidied up the xml, added an upgrade routine, and changed a hard coded path to %WINDIR%
== BgInfo v4.16 ==This is a silent installer and uninstaller for BGInfoBgInfo v4.16Download from [http://technet.microsoft.com/en-us/sysinternals/bb897557.aspx here] You need to make the bginfo.bgi configuration file yourself by running the application and saving a custom configuration
<source lang="xml">
<package id="bginfo" name="BGInfoBgInfo v4.16" revision="12012071301" priority="010" reboot="false"> <check type="file" condition="exists" path="%WINDIR%\system32\bginfo.bgi" /> <check type="file" condition="exists" path="%WINDIR%\system32\bginfoBginfo.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 "c%WINDIR%\system32\bginfo.exe /accepteula /i%WINDIR%\system32\bginfo.bgi /timer:0" /f' />  <upgrade cmd='cmd /c copy /y %SOFTWARE%\windowsbginfo\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%windirWINDIR%\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>
</source>
[[category:Silent Installers]]
8
edits

Navigation menu