17db96d56Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
27db96d56Sopenharmony_ci<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
37db96d56Sopenharmony_ci    <Fragment>
47db96d56Sopenharmony_ci        <ComponentGroup Id="idle_reg">
57db96d56Sopenharmony_ci            <!-- We fix the guid of the Subcommands key so that it is correctly reference counted -->
67db96d56Sopenharmony_ci            <Component Id="assoc_subcommands" Directory="InstallDirectory" Guid="{57D47B4C-96E6-40A0-A958-57083D74423F}">
77db96d56Sopenharmony_ci                <Condition>VersionNT > 600</Condition>
87db96d56Sopenharmony_ci                <RegistryValue Root="HKCR" Key="Python.File\Shell\editwithidle$(var.PyTestExt)" Name="MUIVerb" Value="!(loc.EditMenu)" Type="string" KeyPath="yes" />
97db96d56Sopenharmony_ci                <RegistryValue Root="HKCR" Key="Python.File\Shell\editwithidle$(var.PyTestExt)" Name="Subcommands" Value="" Type="string" KeyPath="no" />
107db96d56Sopenharmony_ci            </Component>
117db96d56Sopenharmony_ci            <Component Id="assoc_subcommands_nocon" Directory="InstallDirectory" Guid="{07061D85-9151-4FC4-BB78-13628020D026}">
127db96d56Sopenharmony_ci                <Condition>VersionNT > 600</Condition>
137db96d56Sopenharmony_ci                <RegistryValue Root="HKCR" Key="Python.NoConFile\Shell\editwithidle$(var.PyTestExt)" Name="MUIVerb" Value="!(loc.EditMenu)" Type="string" KeyPath="yes" />
147db96d56Sopenharmony_ci                <RegistryValue Root="HKCR" Key="Python.NoConFile\Shell\editwithidle$(var.PyTestExt)" Name="Subcommands" Value="" Type="string" KeyPath="no" />
157db96d56Sopenharmony_ci            </Component>
167db96d56Sopenharmony_ci            
177db96d56Sopenharmony_ci            <Component Id="assoc_editwithidle" Directory="InstallDirectory">
187db96d56Sopenharmony_ci                <Condition>VersionNT > 600</Condition>
197db96d56Sopenharmony_ci                <RegistryKey Root="HKCR" Key="Python.File\Shell\editwithidle\shell\edit$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)">
207db96d56Sopenharmony_ci                    <RegistryValue Name="MUIVerb" Value="!(loc.EditSubMenu)" Type="string" KeyPath="yes" />
217db96d56Sopenharmony_ci                    <RegistryValue Key="command" Value='"[PYTHONW_EXE]" -m idlelib "%L" %*' Type="string" />
227db96d56Sopenharmony_ci                </RegistryKey>
237db96d56Sopenharmony_ci            </Component>
247db96d56Sopenharmony_ci            <Component Id="assoc_editwithidle_nocon" Directory="InstallDirectory">
257db96d56Sopenharmony_ci                <Condition>VersionNT > 600</Condition>
267db96d56Sopenharmony_ci                <RegistryKey Root="HKCR" Key="Python.NoConFile\Shell\editwithidle\shell\edit$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)">
277db96d56Sopenharmony_ci                    <RegistryValue Name="MUIVerb" Value="!(loc.EditSubMenu)" Type="string" KeyPath="yes" />
287db96d56Sopenharmony_ci                    <RegistryValue Key="command" Value='"[PYTHONW_EXE]" -m idlelib "%L" %*' Type="string" />
297db96d56Sopenharmony_ci                </RegistryKey>
307db96d56Sopenharmony_ci            </Component>
317db96d56Sopenharmony_ci            
327db96d56Sopenharmony_ci            <Component Id="assoc_editwithidle_vista" Directory="InstallDirectory">
337db96d56Sopenharmony_ci                <Condition>VersionNT = 600</Condition>
347db96d56Sopenharmony_ci                <RegistryKey Root="HKCR" Key="Python.File\Shell\editwithidle$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)">
357db96d56Sopenharmony_ci                    <RegistryValue Value="!(loc.EditSubMenu)" Type="string" KeyPath="yes" />
367db96d56Sopenharmony_ci                    <RegistryValue Key="command" Value='"[PYTHONW_EXE]" -m idlelib "%L" %*' Type="string" />
377db96d56Sopenharmony_ci                </RegistryKey>
387db96d56Sopenharmony_ci            </Component>
397db96d56Sopenharmony_ci            <Component Id="assoc_editwithidle_nocon_vista" Directory="InstallDirectory">
407db96d56Sopenharmony_ci                <Condition>VersionNT = 600</Condition>
417db96d56Sopenharmony_ci                <RegistryKey Root="HKCR" Key="Python.NoConFile\Shell\editwithidle$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)">
427db96d56Sopenharmony_ci                    <RegistryValue Value="!(loc.EditSubMenu)" Type="string" KeyPath="yes" />
437db96d56Sopenharmony_ci                    <RegistryValue Key="command" Value='"[PYTHONW_EXE]" -m idlelib "%L" %*' Type="string" />
447db96d56Sopenharmony_ci                </RegistryKey>
457db96d56Sopenharmony_ci            </Component>
467db96d56Sopenharmony_ci        </ComponentGroup>
477db96d56Sopenharmony_ci    </Fragment>
487db96d56Sopenharmony_ci</Wix>
49