Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

migapp.xml syntax to include Firefox 10* in USMT

  • 2 відповіді
  • 1 має цю проблему
  • 14 переглядів
  • Остання відповідь від smifft

more options

I am currently using USMT and Microsoft Deployment Toolkit to upgrade/deploy Windows7. My efforts to include Firefox 10* in the migapp.xml have been unsuccessful. It refuses to capture the Firefox data. I am sure it's a syntax issue. It works for version 4, eg:

   <component context="UserAndSystem" type="Application">
       <displayName _locID="migapp.firefox4">Mozilla Firefox 4</displayName>
       <environment name="GlobalEnv"/>
       <environment name="GlobalEnvX64"/>
       <role role="Settings">
           <detection>
               <conditions>
                   <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Mozilla\Mozilla Firefox 4.*\bin [PathToExe]")</condition>
               </conditions>
           </detection>
           <rules context="User">
               <destinationCleanup>
                   <objectSet>
                       <pattern type="File">%CSIDL_LOCAL_APPDATA%\Mozilla\Firefox\Profiles\*\Cache\* [*]</pattern>
                   </objectSet>
               </destinationCleanup>
               <include>
                   <objectSet>
                       <pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\* [*]</pattern>
                       <pattern type="File">%CSIDL_LOCAL_APPDATA%\Mozilla\Firefox\Profiles\* [*]</pattern>
                   </objectSet>
               </include>
               <exclude>
                   <objectSet>
                       <pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\Crash Reports\* [*]</pattern>
                       <pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\Profiles\*\ [pluginreg.dat]</pattern>
                       <pattern type="File">%CSIDL_LOCAL_APPDATA%\Mozilla\Firefox\Profiles\*\Cache\* [*]</pattern>
                   </objectSet>
               </exclude>
               <merge script="MigXmlHelper.SourcePriority()">
                   <objectSet>
                       <pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\* [*]</pattern>
                       <pattern type="File">%CSIDL_LOCAL_APPDATA%\Mozilla\Firefox\Profiles\* [*]</pattern>
                   </objectSet>
               </merge>
           </rules>
       </role>
   </component>
I am currently using USMT and Microsoft Deployment Toolkit to upgrade/deploy Windows7. My efforts to include Firefox 10* in the migapp.xml have been unsuccessful. It refuses to capture the Firefox data. I am sure it's a syntax issue. It works for version 4, eg: <!-- Mozilla Firefox 4 --> <component context="UserAndSystem" type="Application"> <displayName _locID="migapp.firefox4">Mozilla Firefox 4</displayName> <environment name="GlobalEnv"/> <environment name="GlobalEnvX64"/> <role role="Settings"> <detection> <conditions> <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Mozilla\Mozilla Firefox 4.*\bin [PathToExe]")</condition> </conditions> </detection> <rules context="User"> <destinationCleanup> <objectSet> <pattern type="File">%CSIDL_LOCAL_APPDATA%\Mozilla\Firefox\Profiles\*\Cache\* [*]</pattern> </objectSet> </destinationCleanup> <include> <objectSet> <pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\* [*]</pattern> <pattern type="File">%CSIDL_LOCAL_APPDATA%\Mozilla\Firefox\Profiles\* [*]</pattern> </objectSet> </include> <exclude> <objectSet> <pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\Crash Reports\* [*]</pattern> <pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\Profiles\*\ [pluginreg.dat]</pattern> <pattern type="File">%CSIDL_LOCAL_APPDATA%\Mozilla\Firefox\Profiles\*\Cache\* [*]</pattern> </objectSet> </exclude> <merge script="MigXmlHelper.SourcePriority()"> <objectSet> <pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\* [*]</pattern> <pattern type="File">%CSIDL_LOCAL_APPDATA%\Mozilla\Firefox\Profiles\* [*]</pattern> </objectSet> </merge> </rules> </role> </component>

Усі відповіді (2)

more options

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

more options

Thank you for the information. Have a great day!!