0 Replies Latest reply on Dec 10, 2017 9:05 PM by Vaskenc

    Firefox patch using Shavlik in SCCM CB 1706 and keep current config

    Vaskenc Rookie

      Hi,

       

      I am new to Shavlik and am having issues with trying to patch Firefox from version 49.0.1 to 57.0.1 and keeping the current configuration we have in place.

      If i patch the version then it wipes our config, if i add our config files and batch file script into the "post install" section of the patch and the files to the "custom files" section the update fails with error code 0x87D00668(-2016410008) in software center.

       

      The Post Install commands i have are these:

      "%PATHTOFIXES%\7z.exe" x "%PATHTOFIXES%\config.zip" -o"%ProgramFiles(x86)%\Mozilla Firefox" -y

      if exist "%ProgramFiles(x86)%\Mozilla Firefox\" ren "%ProgramFiles(x86)%\Mozilla Firefox\browser\searchplugins\google.xml" google.tmp

      if exist "%ProgramFiles(x86)%\Mozilla Firefox\" del "%ProgramFiles(x86)%\Mozilla Firefox\browser\searchplugins\*.xml"

      if exist "%ProgramFiles(x86)%\Mozilla Firefox\" ren "%ProgramFiles(x86)%\Mozilla Firefox\browser\searchplugins\google.tmp" google.xml

      if exist "%public%\Desktop\Mozilla Firefox.lnk" del "%public%\Desktop\Mozilla Firefox.lnk"

      set errorlevel=0

       

      And in the Custom Files section i have 7-Zip files for the configs.

       

      I had help with setting this up but still learning the program.

       

      Has anyone successfully patched Firefox and kept their current config? I cannot afford to lose the config with the patch.

       

      Thanks