473,748 Members | 8,530 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VS2003 Setup conditions

2 New Member
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 1256

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

Similar topics

0
1220
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 know that you can use conditions on files, but I can't get it to work with shortcuts. I tried to apply the condition to the folders instead of the shortcuts themselves, but the setup program doesn't seem to care. It just ignores if the checkboxes...
4
5305
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 correct link, it's outdated. The link should be changed from this http://msdn.microsoft.com/library/default.asp?url=/downloads/list/netdevframework.asp to the new link, which is this:...
1
1183
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 can use IE to browse the ASPX pages. But when I tried to use VS2003 to connect to this project by "Open Projects From Web", no go. Do I have to do something else for VS2003 to connect?
0
801
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
0
1564
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 "Add/Remove Application" first trying to reinstall it, but an InstallShield message box showed up saying "Command line parameteres: /L language ID, /S Hide...." etc. When I click OK then nothing happened. Then I ran the setup from my original...
5
1519
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 I'm tring to create a new asp.net project I'm getting the error: "The webserver reported the following error when attempting to create or open the web project located at the following
3
3591
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 language settings with little change in run speed. I compared the generated native code in various places in the code and noticed two things.
0
1134
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 framework 1.1 is missing. But When I install the framework 1.1 package from microsoft, vista prompt me that it is already installed. I have tried to write another standalone application by VS2003 with framework 1.1,
5
1647
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 properties for the component: Project Configuration Properties Debugging Debug Mode = Program Project Configuration Properties Debugging Start Application = <path to application built in VS2005>
0
8828
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9537
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9319
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9243
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8241
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3309
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2213
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.