Hi Guys i have spend lot of time working to capture google chrome bookmarks can someone plz help by posting google chrome bookmark xml code so that i can capture google chrome bookmarks plzzz

 

Thanks

3 Comments   [ + ] Show Comments

Comments

  • @jegolf, I'm not an expert at writing USMT templates so correct me if I'm wrong, but your xml seems to be messed up. I tried to use it and I'm getting errors. Upon review of the logs it says xml is not properly formated when it gets to the line for <environment name="GlobalEnv">. I looked up the environment tag and it's supposed to be for declaring environment variables. I don't see you declaring them properly and you never close the tag in the XML. Am I off the mark or do these actually work for you?

    reference here: https://technet.microsoft.com/en-us/library/hh824899.aspx#BKMK_environment
  • I deleted these two lines and it works fine now. Not sure if there was a purpose to them. As far as I can tell they just aren't necessary the way you wrote it.

    <environment name="GlobalEnv"/>
    <environment name="GlobalEnvX64"/>
  • Also, I just found out your XML is not valid. Your destination cleanup must be moved to the rules section to make it valid. Once you do then the XML correctly validates to the XML schema file for USMT (MigXML.xsd).
Please log in to comment

Answers

0

Here's what we use:

 <!-- Google Chrome -->
    <component context="UserAndSystem" type="Application">
        <displayName _locID="migapp.chrome1">Google Chrome</displayName>
        <environment name="GlobalEnv"/>
        <environment name="GlobalEnvX64"/>
        <role role="Settings">
            <destinationCleanup>
                <objectSet>
                    <pattern type="File">%CSIDL_LOCAL_APPDATA%\Google\Chrome\User Data\*\Cache\* [*]</pattern>
                </objectSet>
            </destinationCleanup>
            <detection>
                <conditions>
                    <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Google\Chrome\")</condition>
                </conditions>
            </detection>
            <rules context="User">
                <include>
                    <objectSet>
                        <pattern type="File">%CSIDL_LOCAL_APPDATA%\Google\Chrome\User Data\* [*]</pattern>
                    </objectSet>
                </include>
                <exclude>
                    <objectSet>
                        <pattern type="File">%CSIDL_LOCAL_APPDATA%\Google\Chrome\User Data\*\Cache\* [*]</pattern>
                    </objectSet>
                </exclude>
                <merge script="MigXmlHelper.SourcePriority()">
                    <objectSet>
                        <pattern type="File">%CSIDL_LOCAL_APPDATA%\Google\Chrome\User Data\* [*]</pattern>
                    </objectSet>
                </merge>
            </rules>
        </role>
    </component>

Answered 03/31/2014 by: jegolf
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity