I want to pass the values taken as input from user in InstallShield/Script to my java application.
For example: At the time of installation the user is prompted for credentials via a InstallShield dialog. I want to pass these credentials from InstallScript to my Java program/application, where i can try to validate these credentials, and notify the user if the credentials passed or failed.
Please help.
Thanks in advance.
-ap
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Pass InstallScript variable values to Java program
Started by
ashish.picha
, Feb 22 2013 07:48
1 reply to this topic
Posted 26 February 2013 - 11:09
It depends on the way you want to pass them to your Java program. If you launch it from your InstallScript, you could pass the variable value on the command line. If you launch it from a custom action, you might have to copy the variable value to a Windows Installer property first, using the MsiSetProperty funtion. Same if you want to store the value in a registry entry.
Stefan Krüger
InstallSite.org twitter facebook