472,779 Members | 2,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,779 software developers and data experts.

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
...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
0 1216

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

Similar topics

by: Blake | last post by:
Hello, Does anyone know if there is any way to add a condition to your setup project so that the user can choose if they want a desktop shortcut or a program menu by selecting a checkbox. I...
by: pbj | last post by:
my application was created in vb.net, vs 2003. the setup project was also created in vs 2003. one of my application reviewers reported this: The .Net link that is included in the setup is not the...
by: Danny Ni | last post by:
Hi, I downloaded a C# project from Internet and unzipped the project to a directory in my local machine, in IIS console I setp up a virtual directory, the project seems to work fine because I...
by: Johnny Lee W. | last post by:
Hi all, Using Visual Studio 2003 How to instruct the Setup project to avoid the setup overwriting an existing directory? The same user that installed the application is allowed
by: androidsun | last post by:
I am getting an error message when launching VS2003. It says "MS Development Environment has not been installed for the current user. Please run setup to install the application." I used...
by: nicknack | last post by:
Hello. I have a pc with visual studio 2005 working well. I tried to install VS2003 along with the VS2003 so I can work on an old project built with VS2003 and FW1.1. The problem is that when...
by: Chris288 | last post by:
Hi, I have a problem where our app when compiled in VS2005 runs about 50% the speed it attains in VS2003. This is an unmanaged C++ app. I have tried most combinations of the optimization and...
by: Cylix | last post by:
I had written a COM setup project by VS2003 VB.NET, which work properly in Windows 2000 and Windows XP with framework 1.1 I have just tried to intall the msi in vista and the msi told me that...
by: =?Utf-8?B?SGFpcmxpcERvZzU4?= | last post by:
I have a component that was developed in VS2003 that I need to debug in a VS2005 application. Basic steps are: Build the component for Debug in VS2003. Set the following VS2003 project...
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.