473,782 Members | 2,507 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Primary Output Not Updating in Setup Project

I have created a setup project for a forms application that I will be
deploying in the near future. I have added the primary output to the setup
project and all dependencies have been correctly identified and included in
the setup. Initial deployment on a workstation works fine all files being
deployed to the correct location (C:\Program Files\Company Name\Applicatio n
Name\).

The problem I am seeing occurs when I attempt to deploy an updated version
of the application. I update the version number and update the Product code
and Package code when prompted to do so. I then rebuild the solution and
rebuild the setup project. When I run the setup on a machine that has a
previous version of the application installed the setup appears to run
successfully (no errors). When inspecting the installation directory all of
the dependencies show the latest time stamp. The problem is that the .exe
file (primary output) is not updated. Both DetectNewerInst alled Version and
RemovePreviousV ersions properties in the setup project are set to True.

If I run the setup after removing the application via Add/Remove programs
the primary output with the correct timestamps is installed.

Has anyone else seen this behavior (and more importantly found a solution)?

Thanks in advance!
keith
Apr 2 '07 #1
1 4455
Some important additional information:

VS 2003, framework 1.1

Keith

"Keith DuPont" wrote:
I have created a setup project for a forms application that I will be
deploying in the near future. I have added the primary output to the setup
project and all dependencies have been correctly identified and included in
the setup. Initial deployment on a workstation works fine all files being
deployed to the correct location (C:\Program Files\Company Name\Applicatio n
Name\).

The problem I am seeing occurs when I attempt to deploy an updated version
of the application. I update the version number and update the Product code
and Package code when prompted to do so. I then rebuild the solution and
rebuild the setup project. When I run the setup on a machine that has a
previous version of the application installed the setup appears to run
successfully (no errors). When inspecting the installation directory all of
the dependencies show the latest time stamp. The problem is that the .exe
file (primary output) is not updated. Both DetectNewerInst alled Version and
RemovePreviousV ersions properties in the setup project are set to True.

If I run the setup after removing the application via Add/Remove programs
the primary output with the correct timestamps is installed.

Has anyone else seen this behavior (and more importantly found a solution)?

Thanks in advance!
keith

Apr 2 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2502
by: Andreas | last post by:
Hello list, what about uniqueness of inherited primary keys ? eg you have : create table objects ( id int4, date_created timestamp(0), primary key (id)
2
5496
by: | last post by:
I have just about finished my project and need to change the name of the ..exe file created by the Windows Installer to the real name. I was developing naming the solution and project MyProject, from which Vb.net builds MyProject.msi and Setup.exe installs as MyProject.exe I need to change this so that the installed file on the target machine is RealName.exe Under the "File System" tab I see File System on Target Machine:
0
1463
by: Phil | last post by:
Environment: XP sp2 VS.Net 2005 (Asp.Net 2.0 - c#) Sql Server 2005 Scenario: -Table (Table1) with two columns: Table1Id <- Primary Key Column1
6
4295
by: John | last post by:
Hi, I have a web project, that includes an App_Code folder - code in this folder gets built into a dll, but I have no control over the name of this dll. If I create a web setup project, all the content files, and the dll's from any libraries used by my project all end up in the setup output, but the App_Code dll does not. How do I get this dll included in the setup so it can be installed with the rest of my code?
0
1024
by: tomix | last post by:
Hi I have created a web setup project to for my site When i select the bin folder and than "add project output" the only option i have is "content file" which contains all content files in the project. Thanks in advance.
0
1794
by: PeterC | last post by:
We're getting numerous deadlocks in a multi-user system where users are coming in and updating their own data. In our troubleshooting/traces, the deadlocks seem to be coming from lock contention on a Primary Key Clustered Index, not on the table itself. Also, from what we can see, the application is requesting multiple locks on the Primary Key Index as it proceeds to perform the update on the primary table. Can anybody shed some light...
6
4069
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
2
1575
by: dotNetDummi | last post by:
Hi experts, (I hope I didn't post my question in the wrong category of the forum) I am using in C#, Asp.Net, SQL Server for my project. I have a situation whereby I need to update a primary key. In my table, I have these columns: proj_id, emp_name, emp_email I have the following method
9
3107
by: beemomo | last post by:
Hi, I have a table name ExpenseClaim where it has a field named RefNo to store the Primary ID for each record. In my form, I has a combo box named cboExpenseCode: - 1) If user select "Company Reimbursed", then the prefix for the Primary ID is P-xxx 2) If user select "Project Reimbursed", then the prefix for the Primary ID is OF-xxx xxx- represent the incremental id (e.g OF-001 , OF-002 / P-001, P-002) for the different expense code...
0
9641
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
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
10313
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...
0
10146
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9944
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
8968
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...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2875
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.