Sep 22, 2013
11:34 PM
Thank you Hidenori, I did try with that. And the behavior I observed is: When the 1st browse button is pressed (And the file is then selected), the 1st edit field (IS_BROWSE_FILEBROWSED1) is set. Then 2nd browse button is pressed, the 1st and the 2nd edit field (IS_BROWSE_FILEBROWSED2) are both set. Then I go back to press the 1st browse button, the 1st edit field is set, the 2nd edit field remains the same (Unchanged). Thanks. hidenori wrote: Since you want to set IS_BROWSE_FILEBROWSED1 and IS_BROWSE_FILEBROWSED2 to the value of IS_BROWSE_FILEBROWSED, the Event and Argument settings may need to be switched as follows. Can you try? Event: [IS_BROWSE_FILEBROWSED1] Argument: [IS_BROWSE_FILEBROWSED] Condition: 1 Event: [IS_BROWSE_FILEBROWSED2] Argument: [IS_BROWSE_FILEBROWSED] Condition: 1
... View more
Sep 20, 2013
12:56 AM
Hi I have tried with type in with you suggested, along with argument and condition, but it does not work. The button doesn't response when pressed. The I tried with inserting "DoAction" with argument "FileBrowse" before event "[IS_BROWSE_FILEBROWSED]", the file browser then launches, but still only set to the first editable text field, instead of what I have specified (Argument: [IS_BROWSE_FILEBROWSED1]) in event "[IS_BROWSE_FILEBROWSED]" hidenori wrote: You can simply type "[IS_BROWSE_FILEBROWSED]" into the Event setting. The syntax for the SetProperty event is different than for other ControlEvents. See the SetProperty ControlEvent help topic for more information.
... View more
Sep 19, 2013
07:37 PM
Thank you hidenori Yes I saw that part, however, it requires to choose the event as "DoAction", with Argument "FileBrowser" which points to " \redist\language independent\i386\FileBrowse.dll" While your solution is Event: [IS_BROWSE_FILEBROWSED] Argument: [IS_BROWSE_FILEBROWSED1] Condition: 1 I don't know how to create event "[IS_BROWSE_FILEBROWSED]" as it is not listed in the event select drop down list, and I doubt if it will work if I just enter "[IS_BROWSE_FILEBROWSED]" into Event dropdown list as it is yet not defined. Thanks. Regards hidenori wrote: Please check out the "To add the Open dialog functionality to an end-user dialog:" section of the Launch a File Open Dialog help topic. The step 2. illustrates how to add a new event to your browse buttons.
... View more
Sep 18, 2013
08:35 PM
Thank you very much for the reply! However, the solution requires creating a new event which receives argument to specify the text field name. I am not able to find where I can create event in InstallShield Spring 2012. Thank you very much. Regards, hidenori wrote: You can accomplish your requirement by using a different property for each text field control. For example, acoociate IS_BROWSE_FILEBROWSED1 with the first text field, and IS_BROWSE_FILEBROWSED2 with the second one. Also, you need to change the behavior of the browse buttons to set the new properties from the value of the IS_BROWSE_FILEBROWSED property after FileBrowse dialog is finished. To do so, add a new event with the following settings to the first browse button : Event: [IS_BROWSE_FILEBROWSED] Argument: [IS_BROWSE_FILEBROWSED1] Condition: 1 To the second browse button, add a new event with the following settings : Event: [IS_BROWSE_FILEBROWSED] Argument: [IS_BROWSE_FILEBROWSED2] Condition: 1 Note that the new events needs to be called after the event that launches the FileBrowse dialog. Hope that helps.
... View more
Sep 17, 2013
11:47 PM
Hi all, I had a read for how to launching file browse at: http://helpnet.installshield.com/installshield18helplib/FileOpenDialog-HowTo.htm But it does not tell me how to create multiple file browse dialog within the same installer wizard panel. I have tried to create multiple "Browse button" according to the solution in the above link, but doesn't matter which Browse button I pressed, it always set the file path into the first editable text field, even the browse button is appended after other editable fields. And I had read through the document, I cannot find where to set the argument to specify the text field targeting to. Please advice. Thank you.
... View more
- Tags:
- file browse
Labels
Sep 17, 2013
11:40 PM
Hi all, I had a read for creating File Browse Dialog according to http://helpnet.installshield.com/installshield16helplib/FileOpenDialog-HowTo.htm which is great. However, my problem is I need to create more than one file browse dialog within the same panel. And when I implement the solution as mentioned in the above link, it always set the selected file path into the first editable text field, even I have multiple "browse“ buttons appended after other text fields. And I cannot find the solution to specify the target text field from "FileBrowse.dll" Please advise. Thank you.
... View more
Labels
May 20, 2013
06:43 PM
Hi all, I am stucking on this problem for 2 days now, please help. I have installshield 2012 professional version and I am able to invoke my Java application (custom action) from installshield. My Java application throws Exception if the operation fails. And if so I want the installer display a dialog with the exception message I thrown to the user and return to the installer panel where they are. However as soon as the custom action throws exception (Which means the application didn't end with code 0) installshield consider the installation process fails. I've tried many ways such as creating a temp file or registry key but the condition builder for dialog behavior only look into the properties managed by "Property Manager". And when I go to "Property manager" view it seems only accept hard coded value or existing local value. I am seeking for setting the property value from my Java application but I don't know how. Please help. Really appreciate.
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
May 20, 2013
02:27 AM
Hi all, I am stucking on this problem for 2 days now, please help. I have installshield 2012 professional version and I am able to invoke my Java application (custom action) from installshield. My Java application throws Exception if the operation fails. And if so I want the installer display a dialog with the exception message I thrown to the user and return to the installer panel where they are. However as soon as the custom action throws exception (Which means the application didn't end with code 0) installshield consider the installation process fails. I've tried many ways such as creating a temp file or registry key but the condition builder for dialog behavior only look into the properties managed by "Property Manager". And when I go to "Property manager" view it seems only accept hard coded value or existing local value. I am seeking for setting the property value from my Java application but I don't know how. Please help. Really appreciate.
... View more
Labels
- Labels:
-
InstallAnywhere 2012
Latest posts by klosezhang
Subject | Views | Posted |
---|---|---|
2815 | Sep 22, 2013 11:34 PM | |
2815 | Sep 20, 2013 12:56 AM | |
2815 | Sep 19, 2013 07:37 PM | |
2815 | Sep 18, 2013 08:35 PM | |
7570 | Sep 17, 2013 11:47 PM | |
16445 | Sep 17, 2013 11:40 PM | |
1385 | May 20, 2013 06:43 PM | |
4166 | May 20, 2013 02:27 AM |
Activity Feed
- Posted Re: How to create more than one File Browse Dialog within the same dialog panel on InstallShield Forum. Sep 22, 2013 11:34 PM
- Posted Re: How to create more than one File Browse Dialog within the same dialog panel on InstallShield Forum. Sep 20, 2013 12:56 AM
- Posted Re: How to create more than one File Browse Dialog within the same dialog panel on InstallShield Forum. Sep 19, 2013 07:37 PM
- Posted Re: How to create more than one File Browse Dialog within the same dialog panel on InstallShield Forum. Sep 18, 2013 08:35 PM
- Posted How to create more than one File Browse Dialog within the same dialog panel on InstallShield Forum. Sep 17, 2013 11:47 PM
- Tagged How to create more than one File Browse Dialog within the same dialog panel on InstallShield Forum. Sep 17, 2013 11:47 PM
- Posted How to create more than one File Browse Dialog within the same dialog panel on InstallShield Forum. Sep 17, 2013 11:40 PM
- Posted Display dialog panel based on Java Custom Action return value on InstallShield Forum. May 20, 2013 06:43 PM
- Posted Display dialog panel based on Java Custom Action return value on InstallAnywhere Forum. May 20, 2013 02:27 AM
- Tagged Display dialog panel based on Java Custom Action return value on InstallAnywhere Forum. May 20, 2013 02:27 AM
- Tagged Display dialog panel based on Java Custom Action return value on InstallAnywhere Forum. May 20, 2013 02:27 AM
- Tagged Display dialog panel based on Java Custom Action return value on InstallAnywhere Forum. May 20, 2013 02:27 AM
- Tagged Display dialog panel based on Java Custom Action return value on InstallAnywhere Forum. May 20, 2013 02:27 AM