[wpkg-users] firefox deployment does not work

Roland Köhler rkoehler at deutsche-kinemathek.de
Wed Feb 12 17:08:47 CET 2014


hi everyone,

i am relatively new to wpkg. i have worked with it for several weeks, 
but i still have many things to learn.
my problem: i can deploy a standard firefox. my deployed settings on the 
other hand (make firefox a default browser - i tried options 1 and 2 
from the wiki, startup homepage, ....) do not work AT ALL. i created the 
policies.js, the mozilla.cfg, also another package to make firefox the 
default browser (as mentioned before).

does anyone else have this problem (and hopefully a solution)?

here is my simple package xml:

     <package
         id="firefox"
         name="Mozilla Firefox"
         revision="%version%"
         reboot="false"
         priority="10">

         <!--<depends package-id="adobeReader11"/>
         <depends package-id="vlc"/>
         <depends package-id="flashPlayer"/>-->

         <variable name="version" value="24.3.0" />
         <variable name="architecture" value="x86" />
         <variable name="locale" value="de" />
         <!--<variable name="locale" value="en-GB" />-->
         <!--  <variable name="locale" value="fr" /> -->

         <check type="uninstall" condition="exists" path="Mozilla 
Firefox %version% (%architecture% %locale%)" />

         <!-- erzwingt beenden von firefox (prozess firefox.exe) -->
         <install cmd="taskkill /F /IM firefox.exe">
             <exit code="0" />
             <exit code="128" />
         </install>

         <!-- installation/upgrade von firefox -->
         <install 
cmd='"%SOFTWARE%\_default\firefox\firefox_setup_%version%esr.exe" -ms' />

         <install cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 
"%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" 
/SetAsDefaultAppGlobal' >
             <exit code="2" />
         </install>
         <install cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 
"%PROGRAMFILES(x86)%\Mozilla Firefox\uninstall\helper.exe" 
/SetAsDefaultAppGlobal' >
             <exit code="2" />
         </install>

         <upgrade include="install" />

         <upgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 
"%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" 
/SetAsDefaultAppGlobal' >
             <exit code="2" />
         </upgrade>
         <upgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 
"%PROGRAMFILES(x86)%\Mozilla Firefox\uninstall\helper.exe" 
/SetAsDefaultAppGlobal' >
             <exit code="2" />
         </upgrade>

         <remove cmd="taskkill /F /IM Firefox.exe">
             <exit code="0" />
             <exit code="128" />
         </remove>

         <!-- for 32bit and 64bit System -->
         <remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Mozilla 
Firefox\uninstall\helper.exe" "%PROGRAMFILES%\Mozilla 
Firefox\uninstall\helper.exe" -ms' />
         <remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Mozilla 
Firefox\uninstall\helper.exe" "%PROGRAMFILES(x86)%\Mozilla 
Firefox\uninstall\helper.exe" -ms' />

     </package>

thanks and cheers
roland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20140212/e0719bf0/attachment-0002.html>


More information about the wpkg-users mailing list