View Single Post
  #1 (permalink)  
Old 01-17-2009, 07:46 AM
Romantok's Avatar
Romantok
Lurker
Offline
 
Join Date: Dec 2008
Posts: 6
Reputation: 0
Romantok is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to Romantok Send a message via Yahoo to Romantok
Registry Tweak changing the "option.xml" file?

Not sure if this is the right place to ask about this... I want to know how to do it right.

I have some "Registry Tweak" to change the location of many things to the Storage Card. Like:

Registry - Change the location of My Documents to Storage Card
Registry - Change the location of My Music to Storage Card
Registry - Change the location of My Pictures to Storage Card
Registry - Change the location of My Videos to Storage Card

I have to copy some files to the Windows directory with this "option.xml" fil to do so...

Here is the content of the first "option.xml" file:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="My Documents" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Documents to Storage Card</Tip>
<Guid type="p">2f1ae015-04e8-11dc-8314-0800200c9a66</Guid>
</Item>
</Items>

Now... if I want to add in this "option.xml" file the tweaks for the others, how do I edit this "option.xml" file?
Like this ? (Option A)
__________________________________________________ _______________
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="My Documents" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Documents to Storage Card</Tip>
<Guid type="p">2f1ae015-04e8-11dc-8314-0800200c9a66</Guid>
</Item>
</Items>
<Item name="My Music" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Music to Storage Card</Tip>
<Guid type="p">9f55f1f5-1f0d-4668-b0ee-544b95c14203</Guid>
</Item>
<Items>
<Item name="My Pictures" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Pictures to Storage Card</Tip>
<Guid type="p">50c9b2f9-e888-4feb-9026-36b9c5942f40</Guid>
</Item>
</Items>
<Tip>Change the location of My Videos to Storage Card</Tip>
<Guid type="p">dae0cf65-9623-4047-83a4-98cf1f88a701</Guid>
</Item>
</Items>
__________________________________________________ _______________
OR LIKE THAT ? (Option B)
__________________________________________________ _______________
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="My Documents" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Documents to Storage Card</Tip>
<Guid type="p">2f1ae015-04e8-11dc-8314-0800200c9a66</Guid>
</Item>
<Item name="My Music" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Music to Storage Card</Tip>
<Guid type="p">9f55f1f5-1f0d-4668-b0ee-544b95c14203</Guid>
</Item>
<Item name="My Pictures" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Pictures to Storage Card</Tip>
<Guid type="p">50c9b2f9-e888-4feb-9026-36b9c5942f40</Guid>
</Item>
<Tip>Change the location of My Videos to Storage Card</Tip>
<Guid type="p">dae0cf65-9623-4047-83a4-98cf1f88a701</Guid>
</Item>
</Items>
__________________________________________________ ______

Sorry but I'm new to this... so if someone can answer me on this I would appreciate.

P.S. Each setup has one *.dsm and one *.rgu file to copy over along the option.xml file to the windows directory... of course... I have to edit that option.xml file otherwise it will be replace.

So my question is only.... HOW DO I EDIT THIS " OPTION.XML " file in the right way ?

Thanks...
__________________
HTC Touch Dual P5310 NEON400 CDMA Carrier: Telus (French)
Rom: 1.08.662.6 Rom date: 08/26/08 Radio: 1.02.11V
Protocol: 7500J-SDCBBPZM-615010 1
PRL version: 08085 PRI version: 1.49_010
OS: WM 6.1 professional SE CE 5.2.19965 (Build 19965.1.2.3)
Processor: Qualcomm MSM7501A - 528 MHz