Discussion:
Problem perfoming silent install of ASE 12.5.3 PC Client on XP using response file
(too old to reply)
g***@orange.net
2008-01-26 21:11:24 UTC
Permalink
Hi All,

I'm wonderinng if anyone out there can help me with this. Basically I
need to install the Adaptive Server Enterprise PC Client Components
12.5.3 on around 500 XP machines. I intend to use a GPO /script to
deploy the software but first I need to create a silent install of the
software.

I have created a response file by running "setup -options-record c:
\temp\response.txt"

Then I run:

setupconsole.exe -silent -options "c:\temp\response.txt" -W
SybaseLicense.agreeToLicense=true -G replaceNewerResponse="yesToAll"

But after about 10 seconds I get:

third_party_product_license_argument

and the install aborts. Is there any way of enabling logging so I can
see why the installation is failing?

For info I have been using
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.dc35888_1500/html/installwin/installwin45.htm
Manish Negandhi
2008-01-27 04:05:04 UTC
Permalink
Post by g***@orange.net
setupconsole.exe -silent -options "c:\temp\response.txt" -W
SybaseLicense.agreeToLicense=true -G replaceNewerResponse="yesToAll"
third_party_product_license_argument
As per once of the cases i have seen, add this line to your command -
W bean.doNotInstallThirdPartySource=true
so your command like will look like..

setupconsole.exe -silent -options "c:\temp\response.txt" -
WSybaseLicense.agreeToLicense=true
-W bean.doNotInstallThirdPartySource=true -G
replaceNewerResponse="yesToAll

check if it works

-HTH
Manish Negandhi
[TeamSybase Intern]
g***@orange.net
2008-01-27 10:50:00 UTC
Permalink
Post by g***@orange.net
setupconsole.exe -silent -options "c:\temp\response.txt" -W
SybaseLicense.agreeToLicense=true -G replaceNewerResponse="yesToAll"
third_party_product_license_argument
As per once of the cases i have seen,  add this line to your command  -
W bean.doNotInstallThirdPartySource=true
so your command like will look like..
setupconsole.exe -silent -options "c:\temp\response.txt" -
WSybaseLicense.agreeToLicense=true
-W bean.doNotInstallThirdPartySource=true  -G
replaceNewerResponse="yesToAll
check if it works
-HTH
Manish Negandhi
[TeamSybase Intern]
Thanks for your prompt reply Manish.

I tried your sugestion and the error did not appear which was
encouraging, however I unsure as to whether or not the installation
was a success. If I compare the install dir of the silent install
with that of a gui install the folder size is different. Gui size:
266MB, Silent size: 198MB. Before the install, the folder was 211MB.
By comparing the contents of the two install folders I can see that
the majority of the missing data is from a folder called _jvm which is
45MB which is not present in the silent install. That is not the only
difference.

Install Log Files:

Silent: http://homepages.nildram.co.uk/~h3g22xr7/sybase/silent.txt
Gui: http://homepages.nildram.co.uk/~h3g22xr7/sybase/gui.txt

Any help with solving this puzzle would be much appreciated.

Regards,

Graham
Manish Negandhi
2008-01-27 16:38:46 UTC
Permalink
I unsure as to whether or not the installation was a success.
Hi Graham

Instead of comparing installation files, I would suggest you to test
if the client works fine or not. You can simply try to connect using
isql, use few utlities like bcp and verify , you should be all set if
that works..

-HTH
Manish Negandhi
[TeamSybase Intern]
Manish Negandhi
2008-01-27 17:07:06 UTC
Permalink
Did you have any previous version of the client already installed in
the pc ? , if yes its a good idea to uninstall the previous one and
install the new one

-HTH
Manish Negandhi
[TeamSybase Intern]
g***@orange.net
2008-01-27 17:25:10 UTC
Permalink
Post by Manish Negandhi
Did you have any previous version of the client already installed in
the pc ? , if yes its a good idea to uninstall the previous one and
install the new one
-HTH
Manish Negandhi
[TeamSybase Intern]
Yes I agree comparison of install dir is not accurate way of
confirming success!! To answer your question, yes there is already a
version installed. To give you a little more information; out of the
whole setup the only part I wish to install is the ODBC driver.

The driver installed currently is:
Sybase ASE ODBC Driver Ver. 3.70.00.20 - SYODASE.DLL - 21/11/2006

I wish to install:
Sybase ASE ODBC Driver Ver. 4.20.00.67 - SYODASE.DLL - 24/03/2004

Because the driver i wish to install is older, I need to use the
command -G replaceNewerResponse="yesToAll"

If uninstallation of old version is necessary before install of newer
version, why does the gui install work fine but the silent install
does not?

Thabks again for your help,

Regards,

Graham
g***@orange.net
2008-01-27 17:36:14 UTC
Permalink
Post by g***@orange.net
Post by Manish Negandhi
Did you have any previous version of the client already installed in
the pc ? , if yes its a good idea to uninstall the previous one and
install the new one
-HTH
Manish Negandhi
[TeamSybase Intern]
Yes I agree comparison of install dir is not accurate way of
confirming success!!  To answer your question, yes there is already a
version installed.  To give you a little more information; out of the
whole setup the only part I wish to install is the ODBC driver.
Sybase ASE ODBC Driver Ver. 3.70.00.20 - SYODASE.DLL - 21/11/2006
Sybase ASE ODBC Driver Ver. 4.20.00.67 - SYODASE.DLL - 24/03/2004
Because the driver i wish to install is older, I need to use the
command -G replaceNewerResponse="yesToAll"
If uninstallation of old version is necessary before install of newer
version, why does the gui install work fine but the silent install
does not?
Thabks again for your help,
Regards,
Graham
To clarify, although using the "W
bean.doNotInstallThirdPartySource=true" results in no errors, the
install is still failing as the driver does not get updated and the
log.txt shows:

(27-Jan-2008 09:45:06), Setup.product.install,
com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1,
installing Sybase Environment Variable Update
(suite_conn_conn_add_system_include)
(27-Jan-2008 09:45:06), Setup.product.install,
com.sybase.ismp.ase.productbean.SybaseEnvironmentVariableUpdate, err,
An error occurred and product installation failed. Look at the log
file c:\sybase\log.txt for details.
(27-Jan-2008 09:45:06), Setup.product.install,
com.sybase.ismp.ase.productbean.SybaseEnvironmentVariableUpdate, err,
java.lang.StringIndexOutOfBoundsException
STACK_TRACE: 14
java.lang.StringIndexOutOfBoundsException
at java.lang.StringBuffer.deleteCharAt(Unknown Source)
at
com.sybase.ismp.ase.productbean.SybaseEnvironmentVariableUpdate.removeToken(SybaseEnvironmentVariableUpdate.java:
172)
at
com.sybase.ismp.ase.productbean.SybaseEnvironmentVariableUpdate.install(SybaseEnvironmentVariableUpdate.java:
64)
at
com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:
1916)
at
com.installshield.product.service.product.PureJavaProductServiceImpl
$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:
5195)
at
com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:
369)
at
com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:
333)
at
com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:
133)
at
com.installshield.product.service.product.PureJavaProductServiceImpl
$InstallProduct.install(PureJavaProductServiceImpl.java:4563)
at
com.installshield.product.service.product.PureJavaProductServiceImpl
$Installer.execute(PureJavaProductServiceImpl.java:3758)
at
com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:
41)
at java.lang.Thread.run(Unknown Source)
Manish Negandhi
2008-01-27 17:40:57 UTC
Permalink
why does the gui install work fine but the silent install does not?
Not sure about why it doesnt work exactly like GUI , but I would still
give a try to install silent version either on the PC where client is
not installed or uninstall the client fully and check if it works


-HTH
Manish Negandhi
[TeamSybase Intern]

Loading...