01/17/2019 261 views

I am trying to push the Oracle 10g installer to remote machines via LanDesk. I have the install files and a silentinstall batch file that install the software perfectly if I manually copy the install files to the remote machine and then run the silentinstall batch file from the machine. I am looking for tips as to automating that copy of files and silentinstall.bat via LanDesk. 

1 Comment   [ + ] Show comment


  • I am pushing out 11g 32 and 64bit clients. I don't know why they wanted both architectures, but hey. Because of this, I needed to explicitly set the two paths and remove the stock ORA files. Oddly only the 64 bit is getting add to the systems path.

    We don't use LanDesk so I cannot speak to this part; we are using KACE.

    This is my batch it runs. Hope you find some nuggets:

    xcopy OracleTNS C:\OracleTNS\ /y
    C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\989\11gR2Client64\setup.exe -waitforcompletion -ignoreSysPrereqs -responseFile C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\989\64Bitclient.rsp -force -silent -noconsole
    C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\989\11gR2Client32\setup.exe -waitforcompletion -ignoreSysPrereqs -responseFile C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\989\32Bitclient.rsp -force -silent -noconsole
    setx TNS_ADMIN /M C:\OracleTNS
    del C:\Oracle32\product\11.2.0\client_32\network\admin\sqlnet.ora /Q
    del C:\Oracle64\product\11.2.0\client_64\network\admin\sqlnet.ora /Q

All Answers


You could just get the batch file to copy to %temp%, since its triggered by the SYSTEM(?) account, it will just copy to the SYSTEMS temp which is in C:\Windows\Temp.

I always recommend you use a environmental variable, as its C:\Windows is not always the OS install.

Might need to change the batch to reference the %temp%, but should do the job.

If you need the files to be persistent, maybe use another local - best to so this if you have CAB files and you need to do selfheals or repairs, as I know LANDesk does not handle Windows Installer sourcing for you.

Answered 01/18/2019 by: rileyz
Red Belt