Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

migapp.xml syntax to include Firefox 10* in USMT

  • 2 respostas
  • 1 tem este problema
  • 14 visualizações
  • Última resposta por 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>

Todas as respostas (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!!