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"

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   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


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.
Answered 08/22/2011 by: VBScab
Red Belt

Please log in to comment
Thank you very much for this advice. I will keep that in mind.
Answered 08/24/2011 by: DaveX
Yellow Belt

Please log in to comment