Seite 1 von 1
					
				[GELÖST] warning: winbatch call of not executable file
				Verfasst: 24 Jun 2015, 08:27
				von Kathrin
				Guten Morgen!
Ich installiere Powershell mittels des von MS angebotenen .msu Files. Es funktioniert auch alles, jedoch erhalte ich eine Warnung im Log 
winbatch call of not executable file: wusa.exe  is deprecated. 
Wie muss ich das verstehen? Ist winbatch call of not executable File deprecated? Oder wird wusa.exe als deprecated angesehen?
Hier ein Ausschnitt aus dem Log:
Code: Alles auswählen
Execution of Winbatch_Install
(292)     [6] [Jun 24 08:14:37:813] [ms-powershell]     Call ""wusa.exe "C:\Install\Powershell\Windows6.1-KB2819745-x64-MultiPkg.msu"" /quiet"
(293)     [6] [Jun 24 08:14:37:813] [ms-powershell]        Waiting until the called process is finished
(294)     [4] [Jun 24 08:14:37:813] [ms-powershell]     winbatch call of not executable file: wusa.exe  is deprecated
(295)     [6] [Jun 24 08:14:41:378] [ms-powershell]     ExitCode 2359302    Executed process ""wusa.exe "C:\Install\Powershell\Windows6.1-KB2819745-x64-MultiPkg.msu"" /quiet"
Der Aufruf von winbatch erfolgt folgendermaßen:
Viele Grüße
Kathrin
 
			
					
				Re: warning: winbatch call of not executable file
				Verfasst: 24 Jun 2015, 09:42
				von wolfbardo
				Hallo Kathrin,
wie sieht die zugehörige Sektion aus?
gruss
bardo wolf
 
			
					
				Re: warning: winbatch call of not executable file
				Verfasst: 24 Jun 2015, 09:58
				von Kathrin
				Hallo,
Die Sektion sieht folgendermaßen aus:
Code: Alles auswählen
[Winbatch_Install]
	"wusa.exe "%SYSTEMDRIVE%\Install\Powershell\$Executable$"" /quiet 
Danke und Gruß
Kathrin
 
			
					
				Re: warning: winbatch call of not executable file
				Verfasst: 24 Jun 2015, 10:08
				von wolfbardo
				Hallo Kathrin,
Pfadangabe zur 
wusa.exe
 sollte helfen
Code: Alles auswählen
[Winbatch_Install]
	"%System%\wusa.exe "%SYSTEMDRIVE%\Install\Powershell\$Executable$"" /quiet 
[/quote]
Gruss
Bardo Wolf
 
			
					
				Re: warning: winbatch call of not executable file
				Verfasst: 24 Jun 2015, 10:33
				von Kathrin
				Hallo Herr Wolf,
Auch bei dem Aufruf von 
mit dem Inhalt
Code: Alles auswählen
[Winbatch_Install]
	"%SYSTEM%\wusa.exe "%SYSTEMDRIVE%\Install\Powershell\$Executable$"" /quiet 
bekomme ich die folgende Logausgabe
Code: Alles auswählen
If
(293)     [5] [Jun 24 10:28:05:346] [ms-powershell]     $SystemType$ = "64 Bit System"   <<< result true
(294)     [5] [Jun 24 10:28:05:346] [ms-powershell]     ($SystemType$ = "64 Bit System")   <<< result true
(295)     [6] [Jun 24 10:28:05:346] [ms-powershell]   Then
(296)     [5] [Jun 24 10:28:05:358] [ms-powershell]     Set  $Executable$ = "Windows6.1-KB2819745-x64-MultiPkg.msu"
(297)     [6] [Jun 24 10:28:05:359] [ms-powershell]       The value of the variable "$Executable$" is now: "Windows6.1-KB2819745-x64-MultiPkg.msu"
(298)     [6] [Jun 24 10:28:05:359] [ms-powershell]   EndIf
(299)     [5] [Jun 24 10:28:05:359] [ms-powershell]   
(300)     [5] [Jun 24 10:28:05:359] [ms-powershell]   Execution of Winbatch_Install
(301)     [6] [Jun 24 10:28:05:359] [ms-powershell]     Call ""C:\Windows\system32\wusa.exe "C:\Install\Powershell\Windows6.1-KB2819745-x64-MultiPkg.msu"" /quiet"
(302)     [6] [Jun 24 10:28:05:359] [ms-powershell]        Waiting until the called process is finished
(303)     [4] [Jun 24 10:28:05:359] [ms-powershell]     winbatch call of not executable file: C:\Windows\system32\wusa.exe  is deprecated
(304)     [6] [Jun 24 10:28:09:914] [ms-powershell]     ExitCode 2359302    Executed process ""C:\Windows\system32\wusa.exe "C:\Install\Powershell\Windows6.1-KB2819745-x64-MultiPkg.msu"" /quiet"
(305)     [5] [Jun 24 10:28:09:916] [ms-powershell]   
(306)     [5] [Jun 24 10:28:09:916] [ms-powershell]   Execution of Registry_Global_Uninstall
(307)     [6] [Jun 24 10:28:09:917] [ms-powershell]     Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ms-powershell]  created
(308)     [6] [Jun 24 10:28:09:917] [ms-powershell]               Variable "DisplayName"  set to "ms-powershell"
(309)     [6] [Jun 24 10:28:09:917] [ms-powershell]               Key closed
 
			
					
				Re: warning: winbatch call of not executable file
				Verfasst: 24 Jun 2015, 10:37
				von n.wenselowski
				Hallo Kathrin,
hat die Datei unter Linux ein +x?
Die Fehlermeldung sagte was von non-executable file.
Gruß
Niko
			 
			
					
				Re: warning: winbatch call of not executable file
				Verfasst: 24 Jun 2015, 10:49
				von Kathrin
				Hallo,
cool, das geht ja heute schnell hier 
 
Die Rechte der Datei sehen folgendermaßen aus:
Code: Alles auswählen
-rwxrwxr-x 1 opsiconfd pcpatch 19304283 Jun 19 09:46 Windows6.1-KB2819745-x64-MultiPkg.msu* 
Ich kopiere die Datei lokal auf dem Rechner per Files_copy
Code: Alles auswählen
[Files_copy]
	copy -s %SCRIPTPATH%\Files\*.* %SYSTEMDRIVE%\Install\Powershell
Auf C:\Install haben nur die lokale Admingruppe und SYSTEM Vollzugriff, hängt das damit zusammen?
Gruß
Kathrin
 
			
					
				Re: warning: winbatch call of not executable file
				Verfasst: 24 Jun 2015, 11:09
				von n.wenselowski
				Hallo Kathrin,
hat die dann auf dem Zielsystem entpackte Datei Ausführ-Rechte erhalten?
Gruß
Niko
			 
			
					
				Re: warning: winbatch call of not executable file
				Verfasst: 24 Jun 2015, 11:18
				von wolfbardo
				Hallo Kathrin,
habe mich mit den Gänsefüsschen vertan ...
Code: Alles auswählen
[Winbatch_Install]
   "%SYSTEM%\wusa.exe" "%SYSTEMDRIVE%\Install\Powershell\$Executable$" /quiet 
oder ähnlich sollte es gehen
Gruss
Bardo Wolf
 
			
					
				Re: warning: winbatch call of not executable file
				Verfasst: 24 Jun 2015, 11:22
				von Kathrin
				Hallo,
ja das war es. Danke für die schnelle Hilfe 
 
LG
Kathrin