on 08-05-2011 2:38 PM
So i am trying to deploy Sap Gui 7.20 using SCCM 2007
However the command i am trying to use is having issues. It seems all would be good if the /ForceWindowsRestart worked better. When i use it It works only after closing a notepad window that pops up saying i have to reboot.
The text file is called "SAPReboot.txt"
and the contents say "The SAP GUI has finished installing. Please close this Window and Reboot your machine."
Is there a way to make this not show up so the reboot happens automatically?
If this information helps at all i found the .txt file in the setup files
Looking at the NwSapSetup.log i saw this
08:59:16 NwSapsEngn 1 Shell : registry value 'DefaultAction' has been successfully set
08:59:16 NwSapsAtlC 1 Add a End Screen
08:59:16 NwSapsEngn 2 Shell : executing 'C:\Windows\NotePad.exe
SERVER\User\customermessages\SAPReboot.txt'
08:59:16 NwSapsEngn 2 Shell : process has been created successfully
08:59:16 NwSapsEngn 2 Shell : waiting 30000 ms for process to finish...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok so i hunted down the file SapPackageSetup.xml
I notice these lines
strCmdLine = NwEngine.Variables.ResolveString("%WinDir%\NotePad.exe %SapSrcDir%\customermessages\SAPReboot.txt")
bNoWaiting = vbFalse
bVisible = vbTrue
'NwEngine.Shell.ExecuteEx strCmdLine, bNoWaiting, bVisible
I commented out the last line that is actually launching the notepad
and it appeared to work
I will keep you posted when i deploy.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.