mirror of
				https://github.com/pbatard/rufus.git
				synced 2024-08-14 23:57:05 +00:00 
			
		
		
		
	Update wue.c
This commit is contained in:
		
							parent
							
								
									8a8e418751
								
							
						
					
					
						commit
						81c46765b0
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -777,6 +777,13 @@ BOOL ApplyWindowsCustomization(char drive_letter, int flags) | ||||||
| 	DWORD dwDisp, dwVal = 1; | 	DWORD dwDisp, dwVal = 1; | ||||||
| 
 | 
 | ||||||
| 	assert(unattend_xml_path != NULL); | 	assert(unattend_xml_path != NULL); | ||||||
|  | 	 | ||||||
|  | 	static_sprintf(path, "%c:\\sources\\$OEM$\\$$\\Panther\\unattend.xml", drive_letter); | ||||||
|  | 	if (PathFileExistsA(path)) { | ||||||
|  | 		uprintf("'%s' already exists. Skipping copy operation.", path); | ||||||
|  | 		return TRUE; // File already exists, no need to copy
 | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
| 	uprintf("Applying Windows customization:"); | 	uprintf("Applying Windows customization:"); | ||||||
| 	PrintStatus(0, MSG_326); | 	PrintStatus(0, MSG_326); | ||||||
| 	if (flags & UNATTEND_WINDOWS_TO_GO) { | 	if (flags & UNATTEND_WINDOWS_TO_GO) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue