| 
									
										
										
										
											2015-02-05 22:08:48 -08:00
										 |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
					
						
							|  |  |  | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | 
					
						
							|  |  |  |     <Product Id="*" Language="!(loc.LCID)" Name="!(loc.Title)" Version="$(var.Version)" Manufacturer="!(loc.Manufacturer)" UpgradeCode="$(var.UpgradeCode)"> | 
					
						
							|  |  |  |         <Package InstallerVersion="300" Compressed="yes" InstallScope="perUser" Platform="$(var.Platform)" /> | 
					
						
							|  |  |  |         <MediaTemplate EmbedCab="yes" CompressionLevel="high" /> | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         <PropertyRef Id="UpgradeTable" /> | 
					
						
							|  |  |  |         <PropertyRef Id="REGISTRYKEY" /> | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         <Property Id="PYTHON_EXE" Secure="yes"> | 
					
						
							| 
									
										
										
										
											2015-03-24 21:25:16 -07:00
										 |  |  |             <ComponentSearch Id="PythonExe" Guid="$(var.PythonExeComponentGuid)"> | 
					
						
							|  |  |  |                 <FileSearch Name="python.exe" /> | 
					
						
							|  |  |  |             </ComponentSearch> | 
					
						
							|  |  |  |         </Property> | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         <Property Id="PYTHONW_EXE" Secure="yes"> | 
					
						
							|  |  |  |             <ComponentSearch Id="PythonwExe" Guid="$(var.PythonwExeComponentGuid)"> | 
					
						
							| 
									
										
										
										
											2015-02-05 22:08:48 -08:00
										 |  |  |                 <FileSearch Name="pythonw.exe" /> | 
					
						
							|  |  |  |             </ComponentSearch> | 
					
						
							|  |  |  |         </Property> | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2015-03-24 21:25:16 -07:00
										 |  |  |         <Condition Message="!(loc.NoPython)">PYTHON_EXE and PYTHONW_EXE</Condition> | 
					
						
							| 
									
										
										
										
											2015-02-05 22:08:48 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  |         <Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> | 
					
						
							|  |  |  |             <ComponentGroupRef Id="tkinter_extension" /> | 
					
						
							|  |  |  |             <ComponentGroupRef Id="tcltk_dlls" /> | 
					
						
							|  |  |  |             <ComponentGroupRef Id="tcltk_lib" /> | 
					
						
							| 
									
										
										
										
											2015-03-24 21:25:16 -07:00
										 |  |  |             <ComponentGroupRef Id="tkinter_lib" Primary="yes" /> | 
					
						
							| 
									
										
										
										
											2015-02-05 22:08:48 -08:00
										 |  |  |              | 
					
						
							| 
									
										
										
										
											2015-05-03 14:54:32 -07:00
										 |  |  |             <Component Id="idle_reg" Directory="InstallDirectory"> | 
					
						
							| 
									
										
										
										
											2015-02-05 22:08:48 -08:00
										 |  |  |                 <RegistryValue KeyPath="yes" Root="HKMU" Key="[REGISTRYKEY]\Idle" Type="string" Value="[#Lib_idlelib_idle.pyw]" /> | 
					
						
							| 
									
										
										
										
											2015-05-03 14:54:32 -07:00
										 |  |  |             </Component> | 
					
						
							| 
									
										
										
										
											2015-07-08 20:18:44 -07:00
										 |  |  |             <ComponentRef Id="OptionalFeature" /> | 
					
						
							| 
									
										
										
										
											2015-05-03 14:54:32 -07:00
										 |  |  |         </Feature> | 
					
						
							|  |  |  |         <Feature Id="AssociateFiles" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> | 
					
						
							|  |  |  |             <ComponentGroupRef Id="tkinter_lib" /> | 
					
						
							|  |  |  |             <ComponentGroupRef Id="idle_reg" /> | 
					
						
							|  |  |  |         </Feature> | 
					
						
							|  |  |  |         <Feature Id="Shortcuts" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> | 
					
						
							|  |  |  |             <ComponentGroupRef Id="tkinter_lib" /> | 
					
						
							|  |  |  |              | 
					
						
							|  |  |  |             <Component Id="idle_shortcut" Directory="MenuDir"> | 
					
						
							|  |  |  |                 <RegistryValue Root="HKMU" Key="[REGISTRYKEY]\IdleShortcuts" Type="integer" Value="1" KeyPath="yes" /> | 
					
						
							| 
									
										
										
										
											2015-02-05 22:08:48 -08:00
										 |  |  |                 <RemoveFolder Id="Remove_MenuDir" On="uninstall" /> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                 <Shortcut Id="IDLE" | 
					
						
							|  |  |  |                           Directory="MenuDir" | 
					
						
							|  |  |  |                           Name="!(loc.ShortcutName)" | 
					
						
							|  |  |  |                           Description="!(loc.ShortcutDescription)" | 
					
						
							| 
									
										
										
										
											2015-03-24 21:25:16 -07:00
										 |  |  |                           Target="[PYTHONW_EXE]" | 
					
						
							| 
									
										
										
										
											2015-02-05 22:08:48 -08:00
										 |  |  |                           Arguments='"[#Lib_idlelib_idle.pyw]"' | 
					
						
							| 
									
										
										
										
											2015-10-31 12:41:46 -07:00
										 |  |  |                           Icon="idle.exe" | 
					
						
							|  |  |  |                           WorkingDirectory="InstallDirectory"> | 
					
						
							| 
									
										
										
										
											2015-02-05 22:08:48 -08:00
										 |  |  |                     <Icon Id="idle.exe" SourceFile="!(bindpath.src)Lib\idlelib\Icons\idle.ico" /> | 
					
						
							|  |  |  |                 </Shortcut> | 
					
						
							| 
									
										
										
										
											2015-03-24 21:25:16 -07:00
										 |  |  |                 <Shortcut Id="pydoc.py" | 
					
						
							|  |  |  |                           Target="[PYTHON_EXE]" | 
					
						
							|  |  |  |                           Arguments='-m pydoc -b' | 
					
						
							|  |  |  |                           Name="!(loc.PyDocShortcutName)" | 
					
						
							|  |  |  |                           Description="!(loc.PyDocShortcutDescription)" | 
					
						
							| 
									
										
										
										
											2015-10-31 12:41:46 -07:00
										 |  |  |                           Icon="idle.exe" | 
					
						
							|  |  |  |                           WorkingDirectory="InstallDirectory" /> | 
					
						
							| 
									
										
										
										
											2015-03-24 21:25:16 -07:00
										 |  |  |             </Component> | 
					
						
							|  |  |  |         </Feature> | 
					
						
							| 
									
										
										
										
											2015-02-05 22:08:48 -08:00
										 |  |  |     </Product> | 
					
						
							|  |  |  | </Wix> |