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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Directory Chooser - when is the value available?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎May 02, 2013
04:55 PM
Directory Chooser - when is the value available?
For my installer, I have built a dialog in the Pre-Install section, using the standard Get User Input -Advanced panel. In that I am using a Directory Chooser component to allow the user to select a folder where the product should be installed. The value is stored in IA's $USER_INSTALL_DIR$ variable.
Right below the Directoy Chooser component, I have a Label component whose value is set to $USER_INSTALL_DIR$\subComponent - with intention that the user can see where sub-components will be installed.
When I run the installer, the Directory Chooser shows the default install location, and so does the label. However, when I select a custom location, the value of the label does not change. I have to navigate to the next panel and come back to this panel to see the changed value of the label.
How can I use the value of $USER_INSTALL_DIR$ right away after the user selects the custom location?
Regards,
Shailesh.
Right below the Directoy Chooser component, I have a Label component whose value is set to $USER_INSTALL_DIR$\subComponent - with intention that the user can see where sub-components will be installed.
When I run the installer, the Directory Chooser shows the default install location, and so does the label. However, when I select a custom location, the value of the label does not change. I have to navigate to the next panel and come back to this panel to see the changed value of the label.
How can I use the value of $USER_INSTALL_DIR$ right away after the user selects the custom location?
Regards,
Shailesh.
(2) Replies
‎May 03, 2013
10:21 AM
rajarajn wrote:
Hi,
Add "Set InstallAnywhere Variable" action with the variable "$USER_INSTALL_DIR$ of the corresponding value , prior to the Get User Input panel.
Hi Rajarajn,
As you see in the screenshot, there is not way to add the "Set Install Variable" action from the IA's built-in panel. Can you please shed some more light?
Thanks and regards,
Sam.