mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	Issue #25144: Ensures TargetDir is set before continuing with custom install.
This commit is contained in:
		
							parent
							
								
									87dc4d6189
								
							
						
					
					
						commit
						c87ae806ab
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		|  | @ -275,6 +275,9 @@ Tools/Demos | ||||||
| Windows | Windows | ||||||
| ------- | ------- | ||||||
| 
 | 
 | ||||||
|  | - Issue #25144: Ensures TargetDir is set before continuing with custom | ||||||
|  |   install. | ||||||
|  | 
 | ||||||
| - Issue #27469: Adds a shell extension to the launcher so that drag and drop | - Issue #27469: Adds a shell extension to the launcher so that drag and drop | ||||||
|   works correctly. |   works correctly. | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -327,6 +327,9 @@ class PythonBootstrapperApplication : public CBalBaseBootstrapperApplication { | ||||||
|         case ID_CUSTOM_INSTALL_BUTTON: |         case ID_CUSTOM_INSTALL_BUTTON: | ||||||
|             SavePageSettings(); |             SavePageSettings(); | ||||||
| 
 | 
 | ||||||
|  |             hr = EnsureTargetDir(); | ||||||
|  |             ExitOnFailure(hr, L"Failed to set TargetDir"); | ||||||
|  | 
 | ||||||
|             hr = BalGetStringVariable(L"TargetDir", &targetDir); |             hr = BalGetStringVariable(L"TargetDir", &targetDir); | ||||||
|             if (SUCCEEDED(hr)) { |             if (SUCCEEDED(hr)) { | ||||||
|                 // TODO: Check whether directory exists and contains another installation
 |                 // TODO: Check whether directory exists and contains another installation
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Steve Dower
						Steve Dower