aesparza
03-30-2009, 05:58 AM
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.