Setup Project

G

Guest

Hi all

Is there any way to use the Condition property of a file I am deploying in a
setup project to not be installed if it already exists in that location? I
can't find any resource that tells me how to use the Condition property that
doesn't sound like rocket science.

Thanks
 
T

Todd Derksen [MSFT]

You can do this with a couple quick steps.
1. Open the launch condition editor.
2. Add a file search by right clicking on the search target machine node.
3. Set the folder and file name of the file search.
4. Change the property to something meaningfull or leave it as FILEEXISTS1.
5. Select the file you wish to conditionally install.
6. Add the condition "FILEEXISTS1=FALSE" or replace FILEEXISTS1 with your
meanigful name.

That should do it for you.

Todd Derksen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top