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
- :
- Choose Folder panel
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 27, 2010
08:49 AM
Choose Folder panel
This might be a dummy question - does the "Choose Folder" panel set any IA variable to the user selected folder? If yes what is it? If no how do I reference the user selected folder in later action?
Thanks.
Thanks.
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 27, 2010
10:24 AM
I'm not sure I understand your question. I've just checked and the Choose Folder action stores the result into $USER_SELECTED_FOLDER$. Personally, I find it more comprehensive and I use it instead of Choose Install Folder (I rename it to be Choose Install Folder).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 27, 2010
11:18 AM
Here is my situation - In my pre-install steps I have to use two "Choose Folder" panels to ask user to choose the (already) installed locations of the two 3rd party software. In my post-install steps I copy some files from the 3rd party software from these two locations to my software installation location.
If the "Choose Folder" panel saves the result to "$USER_SELECTED_FOLDER$" how do I distinguish the two 3rd party locations? If there any numbering schema like the "MAGIC_FOLDER" does?
If the "Choose Folder" panel saves the result to "$USER_SELECTED_FOLDER$" how do I distinguish the two 3rd party locations? If there any numbering schema like the "MAGIC_FOLDER" does?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 28, 2010
01:46 AM
Oh, is all clearer now (and simpler! 🙂 So you have to use twice this panel, but in the both cases it's the same variable. In IA whenever you have this type of input panel, you'll always have a default variable, which might work if the panel is used only once, but not in your case. So all you need to do is to rename the variable for the two cases, say $USER_SELECTED_FOLDER_1$ and $USER_SELECTED_FOLDER_2$, or even clearer $USER_SELECTED_FOLDER_FOR_3RD_PARTY_SOFTWARE_NAMED_FOO$ and $USER_SELECTED_FOLDER_FOR_3RD_PARTY_SOFTWARE_NAMED_BAR$
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 28, 2010
07:14 AM
Where can I change the default variable name from $USER_SELECTED_FOLDER$ to $USER_SELECTED_FOLDER_1$ and $USER_SELECTED_FOLDER_2$?
I tried using the "Selected Folder:" field in the panel but that resulted in NULL values when I referenced them in later action. Is there other way to re-define the variable name?
I tried using the "Selected Folder:" field in the panel but that resulted in NULL values when I referenced them in later action. Is there other way to re-define the variable name?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 28, 2010
10:00 AM
Have you modified your 2 respective panels to have the Selected Folder be stored into $USER_SELECTED_FOLDER_1$ and $USER_SELECTED_FOLDER_2$?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 28, 2010
10:42 AM
I see what's wrong in my installer now - I use "USER_SELECTD_FOLDER_1" in the Selected Folder field. I need to put "$" to both end of the variable name. It works now, thanks a lot.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2010
06:28 AM
hi
where can I change the default variable name
where can I change the default variable name
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)