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!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

migapp.xml syntax to include Firefox 10* in USMT

  • 2 trả lời
  • 1 gặp vấn đề này
  • 14 lượt xem
  • Trả lời mới nhất được viết bởi 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>

Tất cả các câu trả lời (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!!