This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to decypher silent install error codes (on Linux)
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 12, 2008
10:58 AM
How to decypher silent install error codes (on Linux)
Hello to all,
I am trying to figure out what the various errord codes are from running a silent installation on Linux. I have checked with InstallShiled and what I get as returned, they don't list (no surprise). My application does not set any codes so I am lost and confused. I cannot determine how to get more debug info from my silent installation either. setuplinux.bin -debug -log /opt/test.log -silent -options test.rsp fails with an error code as well.
Error codes being returned are 233 (from the above command) and 237 for a normal silent installation command: setuplinux.bin -silent -options test.rsp
Thank you.
I am trying to figure out what the various errord codes are from running a silent installation on Linux. I have checked with InstallShiled and what I get as returned, they don't list (no surprise). My application does not set any codes so I am lost and confused. I cannot determine how to get more debug info from my silent installation either. setuplinux.bin -debug -log /opt/test.log -silent -options test.rsp fails with an error code as well.
Error codes being returned are 233 (from the above command) and 237 for a normal silent installation command: setuplinux.bin -silent -options test.rsp
Thank you.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 12, 2008
01:56 PM
One thing I found on Linux is that when comparing strings to "" does not work, you need to compare it to null, as in:
String host = arg0.resolveString("$E(SOMEHOST)");
if ( host.equalsIgnoreCase("null") || host.equalsIgnoreCase(""){
blah, blah
}
Hope that's your problem because it's an easy fix but to debug try this.
create a file called:
setuplinux.sp -> (launcher name).sp
add this line:
is.debug=1
And make sure the setuplinux.sp file is in the same location as the installer.
run 'setuplinux.sp -is:javaconsole -is:log log'
This does not work in silent mode!
To debug installs through the GUI:
Release->Build Category->Distributions->Launcher
Set system properties = 'is.debug=1'
Show Console ='True'
Regards,
Tom
String host = arg0.resolveString("$E(SOMEHOST)");
if ( host.equalsIgnoreCase("null") || host.equalsIgnoreCase(""){
blah, blah
}
Hope that's your problem because it's an easy fix but to debug try this.
create a file called:
setuplinux.sp -> (launcher name).sp
add this line:
is.debug=1
And make sure the setuplinux.sp file is in the same location as the installer.
run 'setuplinux.sp -is:javaconsole -is:log log'
This does not work in silent mode!
To debug installs through the GUI:
Release->Build Category->Distributions->Launcher
Set system properties = 'is.debug=1'
Show Console ='True'
Regards,
Tom