| 
									
										
										
										
											2015-05-03 14:54:32 -07:00
										 |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
					
						
							|  |  |  | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | 
					
						
							|  |  |  |     <Fragment> | 
					
						
							|  |  |  |         <ComponentGroup Id="idle_reg"> | 
					
						
							|  |  |  |             <!-- We fix the guid of the Subcommands key so that it is correctly reference counted --> | 
					
						
							|  |  |  |             <Component Id="assoc_subcommands" Directory="InstallDirectory" Guid="{57D47B4C-96E6-40A0-A958-57083D74423F}"> | 
					
						
							|  |  |  |                 <Condition>VersionNT > 600</Condition> | 
					
						
							| 
									
										
										
										
											2015-10-31 12:17:11 -07:00
										 |  |  |                 <RegistryValue Root="HKCR" Key="Python.File\Shell\editwithidle$(var.PyTestExt)" Name="MUIVerb" Value="!(loc.EditMenu)" Type="string" KeyPath="yes" /> | 
					
						
							|  |  |  |                 <RegistryValue Root="HKCR" Key="Python.File\Shell\editwithidle$(var.PyTestExt)" Name="Subcommands" Value="" Type="string" KeyPath="no" /> | 
					
						
							| 
									
										
										
										
											2015-05-03 14:54:32 -07:00
										 |  |  |             </Component> | 
					
						
							|  |  |  |             <Component Id="assoc_subcommands_nocon" Directory="InstallDirectory" Guid="{07061D85-9151-4FC4-BB78-13628020D026}"> | 
					
						
							|  |  |  |                 <Condition>VersionNT > 600</Condition> | 
					
						
							| 
									
										
										
										
											2015-10-31 12:17:11 -07:00
										 |  |  |                 <RegistryValue Root="HKCR" Key="Python.NoConFile\Shell\editwithidle$(var.PyTestExt)" Name="MUIVerb" Value="!(loc.EditMenu)" Type="string" KeyPath="yes" /> | 
					
						
							|  |  |  |                 <RegistryValue Root="HKCR" Key="Python.NoConFile\Shell\editwithidle$(var.PyTestExt)" Name="Subcommands" Value="" Type="string" KeyPath="no" /> | 
					
						
							| 
									
										
										
										
											2015-05-03 14:54:32 -07:00
										 |  |  |             </Component> | 
					
						
							|  |  |  |              | 
					
						
							|  |  |  |             <Component Id="assoc_editwithidle" Directory="InstallDirectory"> | 
					
						
							|  |  |  |                 <Condition>VersionNT > 600</Condition> | 
					
						
							| 
									
										
										
										
											2015-10-31 12:17:11 -07:00
										 |  |  |                 <RegistryKey Root="HKCR" Key="Python.File\Shell\editwithidle\shell\edit$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)"> | 
					
						
							| 
									
										
										
										
											2015-05-03 14:54:32 -07:00
										 |  |  |                     <RegistryValue Name="MUIVerb" Value="!(loc.EditSubMenu)" Type="string" KeyPath="yes" /> | 
					
						
							|  |  |  |                     <RegistryValue Key="command" Value='"[PYTHONW_EXE]" -m idlelib "%L" %*' Type="string" /> | 
					
						
							|  |  |  |                 </RegistryKey> | 
					
						
							|  |  |  |             </Component> | 
					
						
							|  |  |  |             <Component Id="assoc_editwithidle_nocon" Directory="InstallDirectory"> | 
					
						
							|  |  |  |                 <Condition>VersionNT > 600</Condition> | 
					
						
							| 
									
										
										
										
											2015-10-31 12:17:11 -07:00
										 |  |  |                 <RegistryKey Root="HKCR" Key="Python.NoConFile\Shell\editwithidle\shell\edit$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)"> | 
					
						
							| 
									
										
										
										
											2015-05-03 14:54:32 -07:00
										 |  |  |                     <RegistryValue Name="MUIVerb" Value="!(loc.EditSubMenu)" Type="string" KeyPath="yes" /> | 
					
						
							|  |  |  |                     <RegistryValue Key="command" Value='"[PYTHONW_EXE]" -m idlelib "%L" %*' Type="string" /> | 
					
						
							|  |  |  |                 </RegistryKey> | 
					
						
							|  |  |  |             </Component> | 
					
						
							|  |  |  |              | 
					
						
							|  |  |  |             <Component Id="assoc_editwithidle_vista" Directory="InstallDirectory"> | 
					
						
							|  |  |  |                 <Condition>VersionNT = 600</Condition> | 
					
						
							| 
									
										
										
										
											2015-10-31 12:17:11 -07:00
										 |  |  |                 <RegistryKey Root="HKCR" Key="Python.File\Shell\editwithidle$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)"> | 
					
						
							| 
									
										
										
										
											2015-05-03 14:54:32 -07:00
										 |  |  |                     <RegistryValue Value="!(loc.EditSubMenu)" Type="string" KeyPath="yes" /> | 
					
						
							|  |  |  |                     <RegistryValue Key="command" Value='"[PYTHONW_EXE]" -m idlelib "%L" %*' Type="string" /> | 
					
						
							|  |  |  |                 </RegistryKey> | 
					
						
							|  |  |  |             </Component> | 
					
						
							|  |  |  |             <Component Id="assoc_editwithidle_nocon_vista" Directory="InstallDirectory"> | 
					
						
							|  |  |  |                 <Condition>VersionNT = 600</Condition> | 
					
						
							| 
									
										
										
										
											2015-10-31 12:17:11 -07:00
										 |  |  |                 <RegistryKey Root="HKCR" Key="Python.NoConFile\Shell\editwithidle$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)"> | 
					
						
							| 
									
										
										
										
											2015-05-03 14:54:32 -07:00
										 |  |  |                     <RegistryValue Value="!(loc.EditSubMenu)" Type="string" KeyPath="yes" /> | 
					
						
							|  |  |  |                     <RegistryValue Key="command" Value='"[PYTHONW_EXE]" -m idlelib "%L" %*' Type="string" /> | 
					
						
							|  |  |  |                 </RegistryKey> | 
					
						
							|  |  |  |             </Component> | 
					
						
							|  |  |  |         </ComponentGroup> | 
					
						
							|  |  |  |     </Fragment> | 
					
						
							|  |  |  | </Wix> |