3,217
edits
Changes
m
→Make Firefox a default browser
== Make Firefox a default browser ==
This one will set Firefox as default browser for all users - it will try to start Firefox in the background, which will set itself as the default browser. After 10 seconds, we kill Firefox process, as it's no longer needed, and repeat the process again to make sure we really set the default browser to Firefox (it's needed to do it like this in some circumstances).
<package
execute="once">
<install timeout="10" cmd='"%PROGRAMFILES%\Mozilla Firefox\firefox.exe" -silent -nosplash -setDefaultBrowser' >
<exit code="-1" />
<exit code="0" />
</install>
<install cmd='ping 127.0.0.1 -n 10>NUL' />
<install cmd='taskkill /F /IM Firefox.exe' >
<exit code="0" />
<exit code="128" />
</install>
<install timeout="10" cmd='"%PROGRAMFILES%\Mozilla Firefox\firefox.exe" -silent -nosplash -setDefaultBrowser' >
<exit code="-1" />
</package>
== Firefox Client Customization Kit ==