Results 1 to 2 of 2
  1. #1
    Join Date
    May 2005
    Location
    Paris
    Posts
    46

    Unanswered: silent install NT %ERRORLEVEL%

    Hi all,

    I would like to know if this situation is correct,

    When I try to install a pcclient (or other product) by a script, the return status is always 0 on Windows even if there is an error on the install log ?

    example :

    C:\>more test.bat
    start /w C:\SDK-12.5.1-ESD11-EBF13008\ebf13008\setup.exe -is:log C:\SDK-12.5.1-ESD11-EBF13008\ebf13008\install_sdk.log -silent -W SybaseLicense.agreeToLicense=true -G overwriteJVM=yes replaceNewerResponse=yesToAll
    @set rc=%ERRORLEVEL%
    @ECHO.
    @ECHO. The Installation-Returncode is = %rc%
    @ECHO.

    C:\>test.bat

    C:\>start /w C:\Install_MSN_Messenger\SDK-12.5.1-ESD11-EBF13008\ebf13008\setup.exe -is:log C:\Install_MSN_Messenger\SDK-12.5.
    1-ESD11-EBF13008\ebf13008\install_sdk.log -silent -W SybaseLicense.agreeToLicense=true -G overwriteJVM=yes replaceNewerRespon
    se=yesToAll

    The Installation-Returncode is = 0


    But on the install log :

    Searching for Java on the CD using path hints
    Verifying JVM at C:\Install_MSN_Messenger\SDK-12.5.1-ESD11-EBF13008\ebf13008\JVM\bin\java.exe
    for JVM: Java on the CD
    Executing launch script command: "C:\Install_MSN_Messenger\SDK-12.5.1-ESD11-EBF13008\ebf13008\JVM\bin\java.exe" -cp "";"C:\WINDOWS\TEMP\LRE2453.tmp\Verify.jar";"" "Verify" java.version in working directory C:\Install_MSN_Messenger\SDK-12.5.1-ESD11-EBF13008\ebf13008
    Output from the launch script execution
    StdOut:
    1739021872
    1.4.2
    ErrOut:
    Found matching JVM at C:\SDK-12.5.1-ESD11-EBF13008\ebf13008\JVM
    Matching JVM home is C:\SDK-12.5.1-ESD11-EBF13008\ebf13008\JVM
    Matching JVM file is C:\WINDOWS\TEMP\LRE2454.tmp
    Executing launch script command: "C:\SDK-12.5.1-ESD11-EBF13008\ebf13008\JVM/bin\java.exe" -cp "";"C:\WINDOWS\TEMP\LRE2455.tmp\suite.jar";"C:\WIN DOWS\TEMP\LRE2456.tmp\log4j.jar";"" -Dtemp.dir="C:\WINDOWS\TEMP" -Dis.jvm.home="C:\SDK-12.5.1-ESD11-EBF13008\ebf13008\JVM" -Dis.jvm.temp="1" -Dis.media.home="C:\WINDOWS\TEMP\LRE2455.tmp\suite. jar" -Dis.launcher.file="C:\SDK-12.5.1-ESD11-EBF13008\ebf13008\setup.exe" -Dis.jvm.file="C:\WINDOWS\TEMP\LRE2454.tmp" -Dis.external.home="C:\SDK-12.5.1-ESD11-EBF13008\ebf13008" -Xms20m -Xmx60m run -G overwriteJVM=yes "-silent" "-W" "SybaseLicense.agreeToLicense=true" "-G" "overwriteJVM=yes" "replaceNewerResponse=yesToAll" in working directory C:\SDK-12.5.1-ESD11-EBF13008\ebf13008
    Output from the launch script execution
    StdOut:

    ErrOut:
    An error occurred during wizard bean change notification:
    java.lang.NullPointerException
    at com.sybase.ismp.ase.wizardbean.SelectPatchProduct. promptAnotherSybase(SelectPatchProduct.java:457)
    at com.sybase.ismp.ase.wizardbean.SelectPatchProduct. execute(SelectPatchProduct.java:133)
    at com.installshield.wizard.StandardWizardListener.ex ecute(StandardWizardListener.java:123)
    at com.installshield.wizard.StandardWizardListener.cu rrentBeanChanged(StandardWizardListener.java:106)
    at com.installshield.wizard.Wizard$RunThread.run(Wiza rd.java:1564)


    If i try with another product windows, I have many output from =%ERRORLEVEL% :

    C:\>test.bat
    C:\>start /wait C:\Install_MSN_Messenger\MsnMsgs.msi /qb
    The Installation-Returncode is = 0

    C:\>test.bat
    C:\>start /wait C:\Install_MSN_Messenger\MsnMsgs.msi /qb
    The Installation-Returncode is = 1620

  2. #2
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208
    There were numerous issues with the silent install on 12.5.1. I remember Sybase sending me a completely different resource file format and syntax changes. I should check with Sybase Tech Support.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •