469,613 Members | 1,294 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,613 developers. It's quick & easy.

VS2003 Setup conditions

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
  1. NOT FLEETEXISTS
  2. NOT [FLEETEXISTS]
  3. FLEETEXISTS=FALSE
  4. FLEETEXISTS=""
  5. FLEETEXISTS=0
...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?

Frank
Oct 12 '07 #1
0 1143

Post your reply

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

Similar topics

1 post views Thread by Danny Ni | last post: by
reply views Thread by Johnny Lee W. | last post: by
5 posts views Thread by nicknack | last post: by
5 posts views Thread by =?Utf-8?B?SGFpcmxpcERvZzU4?= | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.