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: Problem with "Check File/Folder Attributes" rule
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
‎Mar 30, 2009
05:58 AM
Problem with "Check File/Folder Attributes" rule
Hi,
I'm trying to create an installer that checks if there is a configuration file in the same folder as the installer. In order to do so, I thought about a "Set InstallAnywhere Variable" action in the Pre-Install actions, and a "Check File/Folder Attributes" rule with that action, so if the file exists, the variable is set, and if the file doesn't exist, the variable won't be set.
The problem is when I try this installer. If the file doesn't exist, it works just fine, the variable is not set, and the installer runs, but when the file exists, the installer freezes in the pre-install part, and I have to kill it.
Anyone has any idea why this happens?
Thanks
Alberto E.
I'm trying to create an installer that checks if there is a configuration file in the same folder as the installer. In order to do so, I thought about a "Set InstallAnywhere Variable" action in the Pre-Install actions, and a "Check File/Folder Attributes" rule with that action, so if the file exists, the variable is set, and if the file doesn't exist, the variable won't be set.
The problem is when I try this installer. If the file doesn't exist, it works just fine, the variable is not set, and the installer runs, but when the file exists, the installer freezes in the pre-install part, and I have to kill it.
Anyone has any idea why this happens?
Thanks
Alberto E.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2009
09:22 PM
how do you set?
can you post your action?
can you post your action?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 02, 2009
03:38 AM
Never mind, it just works fine now.
I don't know what was I doing wrong, but somehow it's fixed now.
Thanks for the answer and sorry for wasting your time.
Regards
Alberto E.
I don't know what was I doing wrong, but somehow it's fixed now.
Thanks for the answer and sorry for wasting your time.
Regards
Alberto E.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2009
05:08 AM
Hi,
I am facing the Problem with "Check File/Folder Attributes" rule.I am setting the single variable $USER_MAGIC_FOLDER_10$.
The variable name:$USER_MAGIC_FOLDER_10$ and i am setting the value to : $ENGINE_DRIVER_CLASSES_DIR$.
For that my rule is "Check File/Folder Attributes".suppose the value of $ENGINE_DRIVER_CLASSES_DIR$ is empty or not set what is will going to happen.
I am facing the Problem with "Check File/Folder Attributes" rule.I am setting the single variable $USER_MAGIC_FOLDER_10$.
The variable name:$USER_MAGIC_FOLDER_10$ and i am setting the value to : $ENGINE_DRIVER_CLASSES_DIR$.
For that my rule is "Check File/Folder Attributes".suppose the value of $ENGINE_DRIVER_CLASSES_DIR$ is empty or not set what is will going to happen.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)