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
- :
- InstallShield
- :
- InstallShield Forum
- :
- project type?
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
‎Aug 05, 2008
10:16 AM
File Exists Condition
I need to be able to setup a condition for a CA that checks to see if a certain file exists. I am running a batch file from my installation and if it succeeds, it creates a file in my application's root folder. I need to be able to check for this file as a condition for a custom action on uninstallation.
I know that part of my condition will be REMOVE="ALL" AND _________
But what do I need to do to check to see if the file exists?
Thanks,
Joshua Foulk
I know that part of my condition will be REMOVE="ALL" AND _________
But what do I need to do to check to see if the file exists?
Thanks,
Joshua Foulk
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 05, 2008
10:26 AM
what kind of project type are you using? If Basic MSI then you can perform a system search and use that as condition. In InstallScript I would use the "Is" function. http://helpnet.acresso.com/robo/projects/devstudio9helplangref/langrefis.htm
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 05, 2008
12:07 PM
It is a Basic MSI package. Thank you, I will look into it.