By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,490 Members | 1,398 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,490 IT Pros & Developers. It's quick & easy.

VS2003 Setup conditions

P: 2
I'm having difficulties with a setup-project for a VS-2003 application. The setup is used for both a new installation as an update installation.

When the user performs an update, a specific files should never be overwritten (this file holds some user information). On the other hand, when the setup is a first time install, the file must be installed in the [TARGETDIR].

So, on the Launch Condition screen, I created a File Search, checking if the specific file does exist. This search has the property FLEETEXISTS. Like this:


On the File Installation Properties I'm checking the Condition [FLEETEXISTS] to determine if the file exists. Something like this.


I tried several syntaxes, like...

Expand|Select|Wrap|Line Numbers
...but non of these seem to work. The setup just always overwrites the file in the [TARGETDIR].

The deployment properties are:


How can I make things work?

Oct 12 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.