473,320 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Update My Installs

I have a project I have created and a "Setup and Deployment" project that
supports it. The Application installed, but whenever changes are required, my
users are forced to go into the "Add/Remove Programs" applet to uninstall my
application before they can install the update.

In the Deployment Project, I have "DetectNewerInstalledVersion" set to True
and "RemovePreviousVersions" set to True, but the setup does not do this
whenever I send out an update.

In my Deployment Project, there is a section on PostBuildEvent and
PreBuildEvent, but I have not found anything that uses these properties to
handle removing of existing versions before installing newer ones. Is this
what I need to modify to ensure that my applications update correctly? If so,
where can I find information on how to use the Macro Editor that pulls up
whenever I try to modify it?

Do I need a new Version number with every minor update?
Sep 8 '08 #1
2 1431
jp2msft wrote:
I have a project I have created and a "Setup and Deployment" project
that supports it. The Application installed, but whenever changes are
required, my users are forced to go into the "Add/Remove Programs"
applet to uninstall my application before they can install the update.

In the Deployment Project, I have "DetectNewerInstalledVersion" set
to True and "RemovePreviousVersions" set to True, but the setup does
not do this whenever I send out an update.

In my Deployment Project, there is a section on PostBuildEvent and
PreBuildEvent, but I have not found anything that uses these
properties to handle removing of existing versions before installing
newer ones. Is this what I need to modify to ensure that my
applications update correctly? If so, where can I find information on
how to use the Macro Editor that pulls up whenever I try to modify it?
Custom build events happen on your computer, not the customer's.
>
Do I need a new Version number with every minor update?
If you are expecting the setup project to see an update as a newer version,
then yes.
Sep 8 '08 #2
This is a little old (VS 2003) but still accurate:
http://www.simple-talk.com/dotnet/vi...etup-projects/
--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
"jp2msft" <jp*****@discussions.microsoft.comwrote in message
news:1D**********************************@microsof t.com...
>I have a project I have created and a "Setup and Deployment" project that
supports it. The Application installed, but whenever changes are required,
my
users are forced to go into the "Add/Remove Programs" applet to uninstall
my
application before they can install the update.

In the Deployment Project, I have "DetectNewerInstalledVersion" set to
True
and "RemovePreviousVersions" set to True, but the setup does not do this
whenever I send out an update.

In my Deployment Project, there is a section on PostBuildEvent and
PreBuildEvent, but I have not found anything that uses these properties to
handle removing of existing versions before installing newer ones. Is this
what I need to modify to ensure that my applications update correctly? If
so,
where can I find information on how to use the Macro Editor that pulls up
whenever I try to modify it?

Do I need a new Version number with every minor update?

Sep 8 '08 #3

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

Similar topics

2
by: Simon | last post by:
Hi, We have a small utility that uses a database. We are happy with the structure of the database but we cannot predict any updates. What we are particularly concerned about are updates vs....
3
by: Billg_sd | last post by:
I've been assigned a task to write an auto-update utility for our customers to update their software (n-tier dotnet , db app). I've written custom installers and WMI based installs using...
10
by: Steve Jorgensen | last post by:
Hi all, Over the years, I have had to keep dealing with the same Access restriction - that you can't update a table in a statement that joins it to another non-updateable query or employs a...
0
by: gl | last post by:
I'm currently using the old appudater util from asp.net, however this is very similar to the updater application block offered by microsoft. Basically, I set up a folder structure using a setup and...
2
by: Bishop | last post by:
I'm looking for any recommendations of tools or processes to develop an install that clients can run to install a web application on they're system. The web application is pretty simple; the...
4
by: Steven K | last post by:
Hello, I am trying to install vb.net and I am getting the following: Windows Component Update Setup has detected that some of the windows components that are installed on your computer do not...
4
by: DBC User | last post by:
Hi All, I asked this question in clickonce forum and no one seems to answer so I thought I will ask a border experts. I have an application, which uses 2 different set of files based on the...
1
by: mm123 | last post by:
Hello All, I need to build a setup update which will update an existing installed version of my application. Going into further detail: I had developed an .msi using Visual Studio, that...
2
by: Michael D. Reed | last post by:
I am using ClickOnce to distribute a program. It works well except for one detail. When a new version is installed, the program does not initialize properly immediately after the update. The...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.