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? 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.
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?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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....
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
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
|
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...
| |