Oracle 10.2.3
I am trying to package up oracle 10.2.0.3 and push it through SCCM. I am having issues for just the setup.exe to just start the install on a windows 7 machine when pushed through SCCM. It is being cached to the machine and if I run the setup.exe in the cache folder it does work, but it doesn't work for some reason when I run it from advertised programs. Any ideas? Eventually I will be packaging this to 10.2.0.5 Would just creating an msi work for oracle? I created a response file and I can get everything to work fine when I type things in by hand in the start run. Same thing I put in the command line in SCCM and still nothing happens.
June 15th, 2011 3:26pm

You need to check the exemgr.log file on the client. Check out this post, it's an SMS deployment but will most likely be the same in ConfigMgr. http://www.appdeploy.com/messageboards/tm.asp?m=40753&mpage=1&key=&#40753Kent Agerlund | My blogs: http://blog.coretech.dk/author/kea/ and http://scug.dk/ | Twitter @Agerlund | Linkedin: /kentagerlund
Free Windows Admin Tool Kit Click here and download it now
June 16th, 2011 1:21am

I tried that, but didn't work. when I run a vbs script, the setup.exe *32 kicks off and sits in the task manager at 50%.
June 16th, 2011 12:44pm

I have a vb script, it works fine when I run it manually, but through SCCM, it just kicks the setup.exe *32 off and sits at 50%...any ideas to resolve this would be greatly appreciated.
Free Windows Admin Tool Kit Click here and download it now
June 16th, 2011 2:02pm

That depends on the contents of the script. ConfigMgr just kicks off the command line. Keep in mind that it's most likely running in system context.Torsten Meringer | http://www.mssccmfaq.de
June 17th, 2011 6:39am

Here is my script...see anything wrong? '************************************************************************************* '** ** '** Purpose : This code to run the Oracle 10g R2 installation silently ** '** Inputs : Setp.exe with the response file ( Answer file) ** '** Outputs : Capture the installation return code in event viewer ** '** Revisions: 1.0 ** '** ** '********************************************************************************* Option Explicit On Error Resume Next Dim WshNetwork, oShell, fso, CompName Dim ParentFolder, CommandLine, MsiFileName, ConfFileName, ReturnVal Dim Wait, Finish, ProcessVal Set oShell = WScript.CreateObject ("WSCript.shell") Set WshNetwork = WScript.CreateObject("WScript.Network") Set fso = CreateObject("Scripting.FileSystemObject") Dim strServer, strProcess ' Define varilable for checking the process running. strServer = "." strProcess = "java.exe" ' Get the parent folder information ParentFolder = fso.GetParentFolderName(FSO.GetFile(WScript.ScriptFullName)) ' Get the computer name information CompName = Ucase(WshNetwork.ComputerName) ' Winbatch for flashing wait screen for 15 sec. Wait = Chr(34) & ParentFolder & "\Wait.exe" & Chr(34) ' Winbatch for flashing installation finishing screen. Finish = Chr(34) & ParentFolder & "\Finish.exe" & Chr(34) ' Specify the main installation file msi or exe MsiFileName = ParentFolder & "\Setup.exe" 'Specify the configuration file name, it could be a response file or mst file name with all the parameters ConfFileName = "-responsefile " & Chr(34) & ParentFolder & "\response\Oracle10_2.rsp" & Chr(34) ' Create the complete installation command line CommandLine = Chr(34) & MsiFileName & Chr(34) & " " & ConfFileName MSGBOX commandline,1 wrtLog "Running " & CommandLine & " on computer - " & CompName ' Write the running command line in the event viewer ' Run the command line and capture the return code (we can check the code to determine the installation level. ReturnVal = oShell.Run(CommandLine, 1, true) wscript.sleep(500) wrtLog " Started the setup.exe and looping for unzip.exe process. " ProcessVal = oShell.Run(Wait, 1, true) ' Specify the process name (unizp.exe) which we are going to check for before returning control strProcess = "unzip.exe" Do until IsProcessRunning(strServer, strProcess) = False wscript.sleep(500) ProcessVal = oShell.Run(Wait, 1, true) Loop wscript.sleep(5) ' Specify the process name (java.exe) which we are going to check for before returning control strProcess = "java.exe" wrtLog " Started the setup.exe and looping for java.exe process. " Do until IsProcessRunning(strServer, strProcess) = False wscript.sleep(500) ProcessVal = oShell.Run(Wait, 1, true) Loop wscript.sleep(5) wrtLog " Return Value of " & CommandLine & " is : " & ReturnVal ' Write the return value in the event viewer wScript.Sleep(200) ProcessVal = oShell.Run(Finish, 1, true) wrtLog " Installation completed " Set oShell = Nothing Set WshNetwork = Nothing Set fso = Nothing ' ####################################################################### ' Log information Function wrtLog(strMsg) 'WScript.Echo(WScript.ScriptName & " :: " & strMsg) oShell.LogEvent 4, WScript.ScriptName & " :: " & strMsg End Function Function IsProcessRunning( strServer, strProcess ) Dim Process, strObject IsProcessRunning = False strObject = "winmgmts://" & strServer For Each Process in GetObject( strObject ).InstancesOf( "win32_process" ) If UCase( Process.name ) = UCase( strProcess ) Then IsProcessRunning = True 'wscript.echo " process name " & Process.name wscript.sleep (250) Exit Function End If Next End Function
Free Windows Admin Tool Kit Click here and download it now
June 17th, 2011 2:34pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics