cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
aesparza
Level 4

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.
Labels (1)
0 Kudos
(3) Replies
Gaoyuan_Lv
Level 4

how do you set?
can you post your action?
0 Kudos
aesparza
Level 4

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.
0 Kudos
msankar
Level 3

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.
0 Kudos