You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.3 KiB
31 lines
1.3 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<packages>
|
|
<package id="firefox-config"
|
|
name="Configuration Firefox"
|
|
revision="%PKG_VERSION%"
|
|
priority="10"
|
|
reboot="false">
|
|
|
|
<depends package-id="firefox" />
|
|
|
|
<variable name='PKG_VERSION' value='7' />
|
|
<variable name='PROG' value='%PROGRAMFILES%\Mozilla Firefox' />
|
|
<variable name='REG_PATH' value='HKLM\Software\Mozilla\Firefox' />
|
|
|
|
<check type="registry" condition="equals" path="%REG_PATH%\ConfigRevision" value="%PKG_VERSION%" />
|
|
|
|
<install cmd='%COMSPEC% /C copy /Y "%SOFTWARE%\firefox\autoconf.js" "%PROG%\defaults\pref\"' />
|
|
<install cmd='%COMSPEC% /C copy /Y "%SOFTWARE%\firefox\override.ini" "%PROG%\"' />
|
|
<install cmd='%COMSPEC% /C copy /Y "%SETTINGS%\firefox\firefox.cfg" "%PROG%\"' />
|
|
<install cmd='%COMSPEC% /C reg add "%REG_PATH%" /v "ConfigRevision" /t REG_SZ /d "%PKG_VERSION%" /f' />
|
|
|
|
<upgrade include="install" />
|
|
|
|
<downgrade include="install" />
|
|
|
|
<remove cmd='%COMSPEC% /C del /F "%PROG%\defaults\pref\autoconf.js"' />
|
|
<remove cmd='%COMSPEC% /C del /F "%PROG%\override.ini"' />
|
|
<remove cmd='%COMSPEC% /C del /F "%PROG%\firefox.cfg"' />
|
|
<remove cmd='%COMSPEC% /C reg delete "%REG_PATH%" /v "ConfigRevision" /f' />
|
|
</package>
|
|
</packages>
|
|
|