View forum topic
List of forum topicsSubject: How to check if a Component is Installed?
Hi
I would like to check to see if a folder exists before performing an action but i dont know how to do this.
The thing is that we have 2 applications that using SAP - Crystal Reports.
When we do the first installation (first app), the installer install SAP - Crystal Reports in the computer.
When we do the second installation (second app) , the installer execute SAP - Crystal Reports Install again with the next optiones: Remove / Cancel.
We want to check if this component is installed in the computer. If its installed not to do nothing.
Thanks,
Insert the 'If Statement' command.
For example,
Variable: <leave it empty>
Comparison Type: Directory Exists
Value: #progfiles#\SAP
After that you can exit the setup or skip some action.
Also, you can use Registry - Get Value or Search File & Folders commands to detect if some application is installed.
Thanks for the answer! :)
After try the first solution i dont have a good solution.
I have the next:
If statement
- Variable:
- Compartyson Type: Directory Exists
- Negation of condition = False
- Value: #progfiles#\SAP BusinessObjects
- Next Condition: And
Note: I only have a condition.
- Then Run Application -
But never install. I think the condition is not good.
Sorry for my english.
We have answered you via email.
If you want to run when the directory doesn't exist then check on 'Negation of condition'.
January 16, 2025 Installer CreateInstall 8.11.1 was released.
June 19, 2024 Installer CreateInstall 8.11.0 was released. read more
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released.
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.