/build/static/layout/Breadcrumb_cap_w.png

SCCM, SQL Anywhere 11, and a new service

Working on a package to be installed through the SCCM Software Catalog. The package is a collection of several pieces of software plus some registry scripts for configuration, including SQL Anywhere 11. I'm actually getting everything to install and configure correctly, except for my final hurdle. When you install all of this software manually, one of the steps is to 
" Open Sybase Central (All Programs  > SQL Anywhere 11 > Sybase Central) Open SQL Anywhere 11 and on the Services tap Right Click and create a new service with the name Roadnotes.  Click next until you get to the parameters screen.  On the parameters screen copy and paste the text below and hit finish."

I've got the code figured out to do this silently through a command prompt, and even through a batch file, but it fails in SCCM. code is
____
      cmd.exe /c ""C:\Program Files\SQL Anywhere 11\Bin32\dbsvc.exe" -as -y -s Automatic -w Roadnotes "C:\Program Files\SQL Anywhere 11\Bin32\dbsrv11.exe" <parameters>"
_______
    
     The code fails in SCCM even if i run it as a batch file all by itself (with the software already installed.) The error points to the file not being able to be found by SCCM.

 I tried manually creating it and then exporting the registry entries to create a script but when i run the script, it adds the files, but then doesn't show up in SQL Anywhere Sybase.

very perplexed. any ideas?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: evan83 10 years ago
White Belt
0
Hi Martyrtek,

cmd.exe /c ""C:\Program Files\SQL Anywhere 11\Bin32\dbsvc.exe" -as -y -s Automatic -w Roadnotes "C:\Program Files\SQL Anywhere 11\Bin32\dbsrv11.exe" <parameters>" - See more at: http://www.itninja.com/question/sccm-sql-anywhere-11-and-a-new-service#sthash.Rz7VF73u.dpuf
cmd.exe /c ""C:\Program Files\SQL Anywhere 11\Bin32\dbsvc.exe" -as -y -s Automatic -w Roadnotes "C:\Program Files\SQL Anywhere 11\Bin32\dbsrv11.exe" <parameters>"

What are you trying to do? Did you try the command by running on the machine with those files and see if this code works?

You may use a package with empty program and create as a batch file and the command will run. I dont see any copy command, action command in your script above. Anything leave out?


cmd.exe /c ""C:\Program Files\SQL Anywhere 11\Bin32\dbsvc.exe" -as -y -s Automatic -w Roadnotes "C:\Program Files\SQL Anywhere 11\Bin32\dbsrv11.exe" <parameters>" - See more at: http://www.itninja.com/question/sccm-sql-anywhere-11-and-a-new-service#sthash.Rz7VF73u.dpuf
cmd.exe /c ""C:\Program Files\SQL Anywhere 11\Bin32\dbsvc.exe" -as -y -s Automatic -w Roadnotes "C:\Program Files\SQL Anywhere 11\Bin32\dbsrv11.exe" <parameters>" - See more at: http://www.itninja.com/question/sccm-sql-anywhere-11-and-a-new-service#sthash.Rz7VF73u.dpuf
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ