搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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!!