Re: InstallShield plugin usage

2015-03-12 Thread Richard Bywater
On the OSError line there appears to be two sets of quotes - ""C:\Program
Files (x86)\InstallShield\2013 SP1 SAB\System\ISCmdBld.exe""

Not sure if that's significant or not - do you specify the location of
InstallShield in the Slaves Tool locations and, if so, have you got that
quoted or something? (Sorry never used the plugin so have no idea what the
user experience is :) )

Richard.

On Wed, Mar 11, 2015 at 12:55 AM, Anitha Kabil Raj  wrote:

> Hello All,
>
> I'm using InstallShield plugin to build my InstallShield project file
> (.ism).
> I have installed InstallShield software on a slave, and trying to build
> the project from the slave itself.
> I'm getting the following error. Everything works fine if I call
> IsCmdBld.exe from the windows batch command, and also when InstallShield is
> installed on the master itself, and if I build the project in the master.
> I'm seeing the error only when InstallShield software is available only on
> slave.
>
> Executing command: "C:\Program Files (x86)\InstallShield\2013 SP1
> SAB\System\ISCmdBld.exe" -p "C:\TestIS\Installer\Test.ism"
> ERROR: Build step failed with exception
> *Traceback (most recent call last)*
> 
> :
>   File "", line 1, in 
>   File "C:\Program Files
> (x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py",
> line 82, in perform
> popen = subprocess.Popen(command, shell=False,
>   File "C:\Program Files
> (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py",
> line 751, in __init__
>   File "C:\Program Files
> (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py",
> line 1265, in _execute_child
> OSError: Cannot run program ""C:\Program Files (x86)\InstallShield\2013
> SP1 SAB\System\ISCmdBld.exe"" (in directory "C:\Program Files
> (x86)\Jenkins"): CreateProcess error=2, The system cannot find the file
> specified
>
> at org.python.core.PyException.doRaise(PyException.java:219)
> at org.python.core.Py.makeException(Py.java:1239)
> at org.python.core.Py.makeException(Py.java:1243)
> at org.python.core.Py.makeException(Py.java:1247)
> at subprocess$py._execute_child$36(C:\Program Files
> (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py:1266)
> at subprocess$py.call_function(C:\Program Files
> (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py)
> at org.python.core.PyTableCode.call(PyTableCode.java:165)
> at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
> at org.python.core.PyBaseCode.call(PyBaseCode.java:194)
> at org.python.core.PyFunction.__call__(PyFunction.java:387)
> at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
> at org.python.core.PyMethod.__call__(PyMethod.java:211)
> at org.python.core.PyMethod.__call__(PyMethod.java:201)
> at subprocess$py.__init__$19(C:\Program Files
> (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py:840)
> at subprocess$py.call_function(C:\Program Files
> (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py)
> at org.python.core.PyTableCode.call(PyTableCode.java:165)
> at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
> at org.python.core.PyBaseCode.call(PyBaseCode.java:194)
> at org.python.core.PyFunction.__call__(PyFunction.java:387)
> at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
> at org.python.core.PyMethod.__call__(PyMethod.java:211)
> at org.python.core.PyMethod.__call__(PyMethod.java:206)
> at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19)
> at
> org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1057)
> at org.python.core.PyType.type___call__(PyType.java:1565)
> at org.python.core.PyType.__call__(PyType.java:1548)
> at org.python.core.PyObject.__call__(PyObject.java:320)
> at org.python.pycode._pyx10.perform$3(C:\Program Files
> (x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py:93)
> at org.python.pycode._pyx10.call_function(C:\Program Files
> (x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py)
> at org.python.core.PyTableCode.call(PyTableCode.java:165)
> at org.python.core.PyBaseCode.call(PyBaseCode.java:166)
> at org.python.core.PyFunction.__call__(PyFunction.java:338)
> at org.python.pycode._pyx42.f$0(:1)
> at org.python.pycode._pyx42.call_function()
> at org.python.core.PyTableCode.call(PyTableCode.java:165)
> at org.python.core.PyCode.call(PyCode.java:18)
> at org.python.core.Py.runCode(Py.java:1275)
> at org.python.core.__builtin__.eval(__builtin__.java:484)
> at org.python.core.__builtin__.eval(__builtin__.java:488)
> at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:190)
> at jenkins.python.PythonExecutor.execPythonGeneric(PythonExecutor.java:190)
> at je

Re: InstallShield plugin usage

2015-03-10 Thread Anitha Kabil Raj
Hello Richard,

I have not provided quotes exclusively for the exe path. Somehow in the 
error, it's there.
InstallShield plugin configuration takes the exe path alone as the input.
Maybe like rginga said, the person who developed the plugin as a school 
project designed it to work only if the InstallShield tool was installed on 
the master itself.

I will use the Windows batch command itself for the installer builds. 
Thank you all for responding to my query.

Anitha

On Wednesday, 11 March 2015 02:16:39 UTC+5:30, Richard Bywater wrote:

> On the OSError line there appears to be two sets of quotes - ""C:\Program 
> Files (x86)\InstallShield\2013 SP1 SAB\System\ISCmdBld.exe"" 
>
> Not sure if that's significant or not - do you specify the location of 
> InstallShield in the Slaves Tool locations and, if so, have you got that 
> quoted or something? (Sorry never used the plugin so have no idea what the 
> user experience is :) )
>
> Richard.
>
> On Wed, Mar 11, 2015 at 12:55 AM, Anitha Kabil Raj  > wrote:
>
>> Hello All,
>>
>> I'm using InstallShield plugin to build my InstallShield project file 
>> (.ism).
>> I have installed InstallShield software on a slave, and trying to build 
>> the project from the slave itself.
>> I'm getting the following error. Everything works fine if I call 
>> IsCmdBld.exe from the windows batch command, and also when InstallShield is 
>> installed on the master itself, and if I build the project in the master.
>> I'm seeing the error only when InstallShield software is available only 
>> on slave.
>>
>> Executing command: "C:\Program Files (x86)\InstallShield\2013 SP1 
>> SAB\System\ISCmdBld.exe" -p "C:\TestIS\Installer\Test.ism" 
>> ERROR: Build step failed with exception
>> *Traceback (most recent call last)* 
>> 
>> :
>>   File "", line 1, in 
>>   File "C:\Program Files 
>> (x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py",
>>  
>> line 82, in perform
>> popen = subprocess.Popen(command, shell=False,
>>   File "C:\Program Files 
>> (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py",
>>  
>> line 751, in __init__
>>   File "C:\Program Files 
>> (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py",
>>  
>> line 1265, in _execute_child
>> OSError: Cannot run program ""C:\Program Files (x86)\InstallShield\2013 
>> SP1 SAB\System\ISCmdBld.exe"" (in directory "C:\Program Files 
>> (x86)\Jenkins"): CreateProcess error=2, The system cannot find the file 
>> specified
>>
>> at org.python.core.PyException.doRaise(PyException.java:219)
>> at org.python.core.Py.makeException(Py.java:1239)
>> at org.python.core.Py.makeException(Py.java:1243)
>> at org.python.core.Py.makeException(Py.java:1247)
>> at subprocess$py._execute_child$36(C:\Program Files 
>> (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py:1266)
>> at subprocess$py.call_function(C:\Program Files 
>> (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py)
>> at org.python.core.PyTableCode.call(PyTableCode.java:165)
>> at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
>> at org.python.core.PyBaseCode.call(PyBaseCode.java:194)
>> at org.python.core.PyFunction.__call__(PyFunction.java:387)
>> at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
>> at org.python.core.PyMethod.__call__(PyMethod.java:211)
>> at org.python.core.PyMethod.__call__(PyMethod.java:201)
>> at subprocess$py.__init__$19(C:\Program Files 
>> (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py:840)
>> at subprocess$py.call_function(C:\Program Files 
>> (x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py)
>> at org.python.core.PyTableCode.call(PyTableCode.java:165)
>> at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
>> at org.python.core.PyBaseCode.call(PyBaseCode.java:194)
>> at org.python.core.PyFunction.__call__(PyFunction.java:387)
>> at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
>> at org.python.core.PyMethod.__call__(PyMethod.java:211)
>> at org.python.core.PyMethod.__call__(PyMethod.java:206)
>> at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19)
>> at 
>> org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1057)
>> at org.python.core.PyType.type___call__(PyType.java:1565)
>> at org.python.core.PyType.__call__(PyType.java:1548)
>> at org.python.core.PyObject.__call__(PyObject.java:320)
>> at org.python.pycode._pyx10.perform$3(C:\Program Files 
>> (x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py:93)
>> at org.python.pycode._pyx10.call_function(C:\Program Files 
>> (x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py)
>> at org.python.c

RE: InstallShield plugin usage

2015-03-10 Thread Ginga, Dick
Anitha, I can’t tell you why it can’t find this file on the slave:

OSError: Cannot run program ""C:\Program Files (x86)\InstallShield\2013 SP1 
SAB\System\ISCmdBld.exe"" (in directory "C:\Program Files (x86)\Jenkins"): 
CreateProcess error=2, The system cannot find the file specified

But I can tell you that this plugin was developed by a student as a school 
project so it could have some problems and I don’t know if he is continuing to 
support it.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Anitha Kabil Raj
Sent: Tuesday, March 10, 2015 7:55 AM
To: jenkinsci-users@googlegroups.com
Subject: InstallShield plugin usage

Hello All,

I'm using InstallShield plugin to build my InstallShield project file (.ism).
I have installed InstallShield software on a slave, and trying to build the 
project from the slave itself.
I'm getting the following error. Everything works fine if I call IsCmdBld.exe 
from the windows batch command, and also when InstallShield is installed on the 
master itself, and if I build the project in the master.
I'm seeing the error only when InstallShield software is available only on 
slave.

Executing command: "C:\Program Files (x86)\InstallShield\2013 SP1 
SAB\System\ISCmdBld.exe" -p "C:\TestIS\Installer\Test.ism"
ERROR: Build step failed with exception
Traceback (most recent call 
last)<http://stacktrace.jenkins-ci.org/search?query=Traceback%20(most%20recent%20call%20last)>:
  File "", line 1, in 
  File "C:\Program Files 
(x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py",
 line 82, in perform
popen = subprocess.Popen(command, shell=False,
  File "C:\Program Files 
(x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py",
 line 751, in __init__
  File "C:\Program Files 
(x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py",
 line 1265, in _execute_child
OSError: Cannot run program ""C:\Program Files (x86)\InstallShield\2013 SP1 
SAB\System\ISCmdBld.exe"" (in directory "C:\Program Files (x86)\Jenkins"): 
CreateProcess error=2, The system cannot find the file specified

at org.python.core.PyException.doRaise(PyException.java:219)
at org.python.core.Py.makeException(Py.java:1239)
at org.python.core.Py.makeException(Py.java:1243)
at org.python.core.Py.makeException(Py.java:1247)
at subprocess$py._execute_child$36(C:\Program Files 
(x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py:1266)
at subprocess$py.call_function(C:\Program Files 
(x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
at org.python.core.PyBaseCode.call(PyBaseCode.java:194)
at org.python.core.PyFunction.__call__(PyFunction.java:387)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
at org.python.core.PyMethod.__call__(PyMethod.java:211)
at org.python.core.PyMethod.__call__(PyMethod.java:201)
at subprocess$py.__init__$19(C:\Program Files 
(x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py:840)
at subprocess$py.call_function(C:\Program Files 
(x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
at org.python.core.PyBaseCode.call(PyBaseCode.java:194)
at org.python.core.PyFunction.__call__(PyFunction.java:387)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
at org.python.core.PyMethod.__call__(PyMethod.java:211)
at org.python.core.PyMethod.__call__(PyMethod.java:206)
at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19)
at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1057)
at org.python.core.PyType.type___call__(PyType.java:1565)
at org.python.core.PyType.__call__(PyType.java:1548)
at org.python.core.PyObject.__call__(PyObject.java:320)
at org.python.pycode._pyx10.perform$3(C:\Program Files 
(x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py:93)
at org.python.pycode._pyx10.call_function(C:\Program Files 
(x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:166)
at org.python.core.PyFunction.__call__(PyFunction.java:338)
at org.python.pycode._pyx42.f$0(:1)
at org.python.pycode._pyx42.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1275)
at org.python.core.__builtin__.eval(__b

InstallShield plugin usage

2015-03-10 Thread Anitha Kabil Raj
Hello All,

I'm using InstallShield plugin to build my InstallShield project file 
(.ism).
I have installed InstallShield software on a slave, and trying to build the 
project from the slave itself.
I'm getting the following error. Everything works fine if I call 
IsCmdBld.exe from the windows batch command, and also when InstallShield is 
installed on the master itself, and if I build the project in the master.
I'm seeing the error only when InstallShield software is available only on 
slave.

Executing command: "C:\Program Files (x86)\InstallShield\2013 SP1 
SAB\System\ISCmdBld.exe" -p "C:\TestIS\Installer\Test.ism" 
ERROR: Build step failed with exception
*Traceback (most recent call last)* 
:
  File "", line 1, in 
  File "C:\Program Files 
(x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py",
 
line 82, in perform
popen = subprocess.Popen(command, shell=False,
  File "C:\Program Files 
(x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py",
 
line 751, in __init__
  File "C:\Program Files 
(x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py",
 
line 1265, in _execute_child
OSError: Cannot run program ""C:\Program Files (x86)\InstallShield\2013 SP1 
SAB\System\ISCmdBld.exe"" (in directory "C:\Program Files (x86)\Jenkins"): 
CreateProcess error=2, The system cannot find the file specified

at org.python.core.PyException.doRaise(PyException.java:219)
at org.python.core.Py.makeException(Py.java:1239)
at org.python.core.Py.makeException(Py.java:1243)
at org.python.core.Py.makeException(Py.java:1247)
at subprocess$py._execute_child$36(C:\Program Files 
(x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py:1266)
at subprocess$py.call_function(C:\Program Files 
(x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
at org.python.core.PyBaseCode.call(PyBaseCode.java:194)
at org.python.core.PyFunction.__call__(PyFunction.java:387)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
at org.python.core.PyMethod.__call__(PyMethod.java:211)
at org.python.core.PyMethod.__call__(PyMethod.java:201)
at subprocess$py.__init__$19(C:\Program Files 
(x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py:840)
at subprocess$py.call_function(C:\Program Files 
(x86)\Jenkins\plugins\python-wrapper\WEB-INF\lib\jython-standalone-2.5.3.jar\Lib\subprocess.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
at org.python.core.PyBaseCode.call(PyBaseCode.java:194)
at org.python.core.PyFunction.__call__(PyFunction.java:387)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
at org.python.core.PyMethod.__call__(PyMethod.java:211)
at org.python.core.PyMethod.__call__(PyMethod.java:206)
at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19)
at 
org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1057)
at org.python.core.PyType.type___call__(PyType.java:1565)
at org.python.core.PyType.__call__(PyType.java:1548)
at org.python.core.PyObject.__call__(PyObject.java:320)
at org.python.pycode._pyx10.perform$3(C:\Program Files 
(x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py:93)
at org.python.pycode._pyx10.call_function(C:\Program Files 
(x86)\Jenkins\plugins\installshield\WEB-INF\lib\python\install_shield_builder.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:166)
at org.python.core.PyFunction.__call__(PyFunction.java:338)
at org.python.pycode._pyx42.f$0(:1)
at org.python.pycode._pyx42.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1275)
at org.python.core.__builtin__.eval(__builtin__.java:484)
at org.python.core.__builtin__.eval(__builtin__.java:488)
at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:190)
at jenkins.python.PythonExecutor.execPythonGeneric(PythonExecutor.java:190)
at jenkins.python.PythonExecutor.execPythonBool(PythonExecutor.java:218)
at jenkins.python.expoint.BuilderPW.perform(BuilderPW.java:98)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
at hudson.model.Build$BuildExecution.build(Build.java:203)
at hudson.model.Build$BuildExecution.doRun(Build.java:160)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
at hudson.model.Run.execute(Run.java:1750)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at huds