View forum topicList of forum topics
Subject: How to check if a Component is Installed?
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.
Insert the 'If Statement' command.
Variable: <leave it empty>
Comparison Type: Directory Exists
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:
- 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'.
February 05, 2021 Installer CreateInstall 8.8.0 was released. read more
April 11, 2020 Installer CreateInstall 8.7.0 was released.
March 07, 2020 Installer CreateInstall 8.6.2 was released.
November 09, 2019 Installer CreateInstall 8.5.5 was released.
August 08, 2019 Installer CreateInstall 8.5.1 was released.
June 19, 2019 Installer CreateInstall 8.4.11 was released.