Help to change menu - default value

This should cover W3C XML Schema, Relax NG and DTD related problems.
stonefox
Posts: 1

Help to change menu - default value

Tue Apr 04, 2017 8:56 pm

Help change the menu
I know nothing about XML, but has two CD / USB stick that I use several times a day.
Every time I await the menu display on the screen and then select which function to use what, always keep the same for me.

I can see that the menu is in these two * .xml files, and my wish is that this Forum will assist in making the right option to default and then automatically started up after 15 seconds.

http://imgur.com/a/nWoN5

Here are bootmenu.xml code on one CD:
Default is at the bottom under "Continue starting Windows" I want to line called "Name = C5" is the default:

Menu no 1 - kode start:
<?xml version="1.0" encoding="UTF-8" ?>
<resource>
<group>
<aml:item guid="{0B30BD6B-5AFA-49BD-B346-C42F2EDB05BC}" help="Start the bootable rescue utility." kernel_params="product=bootagent media_for_windows" name="C1" verb="C1">
<title>&lt;font stock='bootmenu_title'>Acronis Universal Restore (32-bit)&lt;/font></title>
<icon href="C1.png" type="extra" />
</aml:item>
<aml:item guid="{69E268AF-873E-4692-A3E4-C5BC7D6607AD}" help="Start the bootable rescue utility." kernel_params="product=bootagent media_for_windows" name="C2" verb="C2">
<title>&lt;font stock='bootmenu_title'>Acronis Universal Restore (64-bit with UEFI support)&lt;/font></title>
<icon href="C2.png" type="extra" />
</aml:item>
<aml:item guid="{3F4A826E-4733-4878-80D7-AEE9E7A20250}" help="Includes drivers for USB/PC Card/SCSI hard disks." kernel_params="" name="C3" verb="C3">
<title>&lt;font stock='bootmenu_title'>Acronis True Image&lt;/font></title>
<icon href="C3.png" type="extra" />
</aml:item>
<aml:item guid="{446A0DC1-C7E3-4083-993E-FF359E8A9733}" help="Generate a system report and save it to a USB flash drive." kernel_params="product=system_report" name="C4" verb="C4">
<title>&lt;font stock='bootmenu_title'>Acronis System Report&lt;/font></title>
<icon href="C4.png" type="extra" />
</aml:item>
<aml:item guid="{A5DCABA3-E466-43AD-953A-FE7AC179A94F}" help="Includes drivers for USB/PC Card/SCSI hard disks." kernel_params="" name="C5" verb="C5">
<title>&lt;font stock='bootmenu_title'>Acronis True Image (64-bit)&lt;/font></title>
<icon href="C5.png" type="extra" />
</aml:item>
<aml:item guid="{C8EE8742-BD57-4B9C-9417-5C5D1CEF9917}" help="Generate a system report and save it to a USB flash drive." kernel_params="product=system_report" name="C6" verb="C6">
<title>&lt;font stock='bootmenu_title'>Acronis System Report (64-bit)&lt;/font></title>
<icon href="C6.png" type="extra" />
</aml:item>
<aml:item default="1" guid="" help="Continue starting Windows." kernel_params="" name="continue" timeout="15" timeout_help="Continue booting Windows in {0} seconds..." verb="continue">
<title>&lt;font stock='bootmenu_title'>Start Windows&lt;/font></title>
<icon href="icon_continue_48.png" type="extra" />
</aml:item>
</group>
<aml:menu name="menu_default">
<aml:item flags="default" title="execute" verb="execute" />
</aml:menu>
</resource>
kode slut for menu no.1

+++++++++++++++++++++++++++++++++++
want here is that the line of "C2" is converted into default - MENU 1

Menu no 2 - kode start:
<?xml version="1.0" encoding="UTF-8" ?>
<resource>
<group>
<aml:item guid="{D096D8F7-8716-4B2D-A393-CF3D0B036B9A}" help="Acronis Disk Director 12" name="C1" verb="C1">
<title>
&lt;font stock='bootmenu_title'>Acronis Disk Director 12 (32-bit)&lt;/font>
</title>
<icon href="C1.png" type="extra" />
</aml:item>
<aml:item guid="{E97EC8F9-3316-4C6b-8CFD-C4943F3AF836}" help="Acronis Disk Director 12" name="C2" verb="C2">
<title>
&lt;font stock='bootmenu_title'>Acronis Disk Director 12 (64-bit with UEFI support)&lt;/font>
</title>
<icon href="C2.png" type="extra" />
</aml:item>
<aml:item default="1" guid="" help="Continue booting the operating system." name="continue" timeout="15" timeout_help="Continue booting the operating system in {0} seconds..." verb="continue">
<title>
&lt;font stock='bootmenu_title'>Continue OS booting&lt;/font>
</title>
<icon href="icon_continue_48.png" type="extra" />
</aml:item>
</group>
<aml:menu name="menu_default">
<aml:item flags="default" title="Run Acronis Disk Director 12" verb="execute" />
</aml:menu>
</resource>

kode slut for menu no.2
adrian
Posts: 2326

Re: Help to change menu - default value

Wed Apr 05, 2017 2:47 pm

Hi,

This has little to do with XML, but rather with the boot loader that uses that XML file as a configuration file.
You should look for the boot loader documentation and check how to adjust the configuration XML file, or find a forum appropriate for this and ask there.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 0 guests