cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
joshuafoulk
Level 3

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
Labels (1)
0 Kudos
2 Replies
thepeter
Level 7

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

It is a Basic MSI package. Thank you, I will look into it.
0 Kudos