/build/static/layout/Breadcrumb_cap_w.png

automation of Sterling ESD Portal

Ladies and Gentlemen:

Hope all is well. I am currently working on an automation installation using MS-Dos batch file for the application (Sterling ESD Portal) and the installation had completed. Then, I had executed the app and it displayed an "configuration file error has occured" message. The app will not go any further. So I found the config.jar file and registered it to the local drive. Not sure that is the right file, but it might be worth a try.

"\\%server%\Apps\5 DMCM Templates\LogFile.vbs"
if exist "%LogFolder%\%AppName%.log" goto :%AppName%
msiexec /i "\\%server%\Apps\Sterling ESD Portal\Automated\setup.msi" /qb- /l* %LogFolder%\%AppName%.log
start "Register JAR" /wait "\\%server%\apps\Sterling ESD Portal\Automated\JAR\JAR.cmd"
"C:\Program Files\Sterling Commerce\CESecureClient\SecureClient.exe"
:%AppName%

I had created a Windows NT command script with the config.jar file in the installation folder.
Here is the script:

xcopy /y "\\%server%\apps\Sterling ESD Portal\Automated\JAR\config.jar" "C:\WINDOWS\system32"
regsvr32 /s "C:\WINDOWS\system32\config.jar"

The results: File did not register and app still would not execute.

Has anybody encountered a similiar problem? Please give me your expert advice. I would really appreciate the help.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: anonymous_9363 12 years ago
Red Belt
0
The only file types that can be registered are files with Windows PE headers, generally DLLs, OCXs and EXEs. Of these, EXEs generally register using the '/REGSERVER' argument. The others are registered with RegSrv3e2.EXE.

JAR files are ZIPped Java files, utterly meaningless to RegSvr32, as you would discover if you ran the command line you have without the '/S' (silent) argument.

Also, one would use XCOPY to copy folders and their contents. Use COPY for files.
Posted by: DaveX 12 years ago
Yellow Belt
0
Thank you very much for this advice. I will keep that in mind.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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