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
- :
- Re: Returning a value from java to Install shield code
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Sep 07, 2017
02:15 AM
Returning a value from java to Install shield code
Hello All,
Is there any way to return the value of a variable from java code to install shield code ?
Scenario :-
I am trying to trigger a java application from my install shield code. Once the application is successfully executed my intention is to return the value of a variable from the java application to the install shield code so that further processing of the variable value will be done by the install shield code.
Can any one help me with a code snippet ?
tried google search but didn't find a suitable answer for this query, hence posting here.
Thanks in advance for the help.
Regards,
CR
Is there any way to return the value of a variable from java code to install shield code ?
Scenario :-
I am trying to trigger a java application from my install shield code. Once the application is successfully executed my intention is to return the value of a variable from the java application to the install shield code so that further processing of the variable value will be done by the install shield code.
Can any one help me with a code snippet ?
tried google search but didn't find a suitable answer for this query, hence posting here.
Thanks in advance for the help.
Regards,
CR
- Tags:
- java installshield
(1) Reply
Sep 07, 2017
08:28 AM
I'm not sure if there is a direct way to write/create a property in your Java code, there is a way to do this in Managed Code with the ISuiteExtension interface.
Having said that - I'm assuming you're running your Java app during pre-install running with a CA within a Next button on a dialog and you want to run some other CA or Conditionally install features/components based on this return value.
Perhaps you could hack your way through this by writing this value to a temp file or registry entry and reading it through a VBScript CA and setting the property in the VBScript CA.
Just a thought.
Having said that - I'm assuming you're running your Java app during pre-install running with a CA within a Next button on a dialog and you want to run some other CA or Conditionally install features/components based on this return value.
Perhaps you could hack your way through this by writing this value to a temp file or registry entry and reading it through a VBScript CA and setting the property in the VBScript CA.
Just a thought.