Jump to content

Howto edit provxml files with SYAKR


Guest mamaha

Recommended Posts

Guest mamaha

Hi!

I'm using SYAKR as automated kitchen tool for building my customised ROMs.

Is there a way to automatically edit a provxml files within a task?

I know how to automatically append a line to a file but this is a xml file so I have to add or remove something between a tag with more then one child.

i.e.:

 <wap-provisioningdoc>

	 <characteristic type="Registry">

		 <characteristic type="HKLM\Software\Microsoft\Today\Items\Windows Live Search">

			 <parm name="Enabled" value="0" datatype="integer" />

		 </characteristic>


		<characteristic type="HKLM\Software\Microsoft\Today\Items\Erste Schritte">

			<parm name="Enabled" value="0" datatype="integer" />

		</characteristic>


		 <characteristic type="HKCU\Software\Microsoft\Today\Keys\113">

		   <parm name="" value="Hauptmenü" datatype="string" />

		   <parm name="Open" value="\Windows\Launcher.lnk" datatype="string" />

		 </characteristic>

   </characteristic>

 </wap-provisioningdoc>
I want to replace
		 <characteristic type="HKCU\Software\Microsoft\Today\Keys\113">

			 <parm name="" value="Hauptmenü" datatype="string" />

			 <parm name="Open" value="\Windows\Launcher.lnk" datatype="string" />

		   </characteristic>
with
		 <characteristic type="HKCU\Software\Microsoft\Today\Keys\113">

			   <parm name="" value="Kontakte" datatype="string" />

			   <parm name="Open" value="\Windows\addrbook.lnk" datatype="string" />

			 </characteristic>

?

How can I do this with a SYAKR task?

Thanks a lot,

mamaha

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.