Difference between revisions of "BGInfo"
From WPKG | Open Source Software Deployment and Distribution
m |
m |
||
Line 4: | Line 4: | ||
<check type="file" condition="exists" path="%WINDIR%\system32\bginfo.bgi" /> | <check type="file" condition="exists" path="%WINDIR%\system32\bginfo.bgi" /> | ||
<check type="file" condition="exists" path="%WINDIR%\system32\bginfo.exe" /> | <check type="file" condition="exists" path="%WINDIR%\system32\bginfo.exe" /> | ||
− | <install cmd="cmd /c copy /y | + | <install cmd="cmd /c copy /y %SOFTWARE%\bginfo\bginfo.exe %WINDIR%\system32" /> |
− | <install cmd='cmd /c copy /y | + | <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' /> | <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.bgi" /> | ||
<remove cmd="cmd /c del /y %WINDIR%\system32\bginfo.exe" /> | <remove cmd="cmd /c del /y %WINDIR%\system32\bginfo.exe" /> | ||
<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> | ||
[[category:Silent Installers|BGInfo]] | [[category:Silent Installers|BGInfo]] |
Revision as of 20:02, 30 September 2006
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>