Primary Output Not Updating in Setup Project

G

Guest

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\Application
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 DetectNewerInstalled Version and
RemovePreviousVersions 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top