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: File Exists Bean
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
‎Jun 01, 2006
01:39 PM
File Exists Bean
Hello all!
I'm trying to figure out how to get the FileExistsWizardBeanCondition to work.
I'm trying to determine if the user selected a valid installation folder. That install folder must already contain a certain executable, xyz.exe.
I have a Goto Action that tells the user that the executable was not found if the condition fails. The FileExistsWizardBeanCondition is set to: Path List = $PATH($V(IS_DESTINATION), xyz.exe), Evaluate = Must not be met.
No matter what I do this condition is always failing, thus causing a loop back to prompting the user!
Another issue I have is that I can't get a log file to be produced for the life of me! I would like to see what the variables are at each stage to see what's not working.
Any and all help would be appreciated!
I'm trying to figure out how to get the FileExistsWizardBeanCondition to work.
I'm trying to determine if the user selected a valid installation folder. That install folder must already contain a certain executable, xyz.exe.
I have a Goto Action that tells the user that the executable was not found if the condition fails. The FileExistsWizardBeanCondition is set to: Path List = $PATH($V(IS_DESTINATION), xyz.exe), Evaluate = Must not be met.
No matter what I do this condition is always failing, thus causing a loop back to prompting the user!
Another issue I have is that I can't get a log file to be produced for the life of me! I would like to see what the variables are at each stage to see what's not working.
Any and all help would be appreciated!
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 02, 2006
09:11 AM
It sounds as if you're using it correctly; for testing, if you display the value of $PATH($V(IS_DESTINATION), xyz.exe) in a subsequent dialog box, does the correct value show up?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 02, 2006
02:04 PM
RobertDickau wrote:
It sounds as if you're using it correctly; for testing, if you display the value of $PATH($V(IS_DESTINATION), xyz.exe) in a subsequent dialog box, does the correct value show up?
I started over, and everything seems to be working flawlessly. I'm not entirely sure what the difference is... (The original is on my flash drive which I left at home! Guess that was a good thing.)
Thanks for your help!
I did add a dialog to test the variable and it was in fact turning up correctly.
If I put a space between the comma and the text would that cause a space to be inserted into the end result? As in: $PATH($V(IS_DESTINATION), xyz.exe) VS $PATH($V(IS_DESTINATION),xyz.exe)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 02, 2006
02:13 PM
Offhand, I don't think the space after the comma should matter; perhaps try adding five or six spaces after the comma to see...
![](/skins/images/AE9D21F26FD9A9487DC212FE52327B29/responsive_peak/images/icon_anonymous_message.png)