Difference between revisions of "BGInfo"
From WPKG | Open Source Software Deployment and Distribution
m (Reverted edit of 204.69.182.1, changed back to last version by WPKGSysop) |
m |
||
Line 1: | Line 1: | ||
This is a silent installer and uninstaller for BGInfo. | This is a silent installer and uninstaller for BGInfo. | ||
− | + | <source lang="xml"> | |
<package id="bginfo" name="BGInfo" revision="1" priority="0" reboot="false"> | <package id="bginfo" name="BGInfo" revision="1" priority="0" reboot="false"> | ||
<check type="file" condition="exists" path="%WINDIR%\system32\bginfo.bgi" /> | <check type="file" condition="exists" path="%WINDIR%\system32\bginfo.bgi" /> | ||
Line 11: | Line 11: | ||
<remove cmd='reg del "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v BGInfo ' /> | <remove cmd='reg del "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v BGInfo ' /> | ||
</package> | </package> | ||
− | + | </source lang="xml"> | |
− | [[category:Silent Installers | + | [[category:Silent Installers]] |
Revision as of 22:06, 5 February 2008
This is a silent installer and uninstaller for BGInfo.
<package id="bginfo" name="BGInfo" revision="1" priority="0" 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 "c:\windows\system32\bginfo.exe /i%windir%\system32\bginfo.bgi /timer:0" /f' />
<remove cmd="cmd /c del /y %WINDIR%\system32\bginfo.bgi" />
<remove cmd="cmd /c del /y %WINDIR%\system32\bginfo.exe" />
<remove cmd='reg del "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v BGInfo ' />
</package>
</source lang="xml">
[[category:Silent Installers]]