473,588 Members | 2,635 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ignore Previously Installed Versions

I have created an Installer using the "Setup Wizard" in Visual Studio.
I've added a custom action to this as a seperate DLL written in C#.
The custom action has to install files from another location on the
network.

Everything is working and going well.

The problem I am having now is that once it has been installed once, I
am unable to install it again as I get an "Another version of this
product is already installed" error message.

As I understand it I can get around this problem by changing the
Product Code in the installer, but this is not possible as the files on
the network are constantly changing and I can not change the product
code and regenerate the installer every time a file changes.

What I need to do is force my Installer to just ignore any versions
previously installed and just proceed as if it is always the first
time.

Does anyone know how I can do this?

Thanks
Kevin

Sep 1 '05 #1
3 1613
Tom
Same request here!
Also - could anyone tell me where the Setup options are documented?

-- Tom

What I need to do is force my Installer to just ignore any versions
previously installed and just proceed as if it is always the first
time.

Does anyone know how I can do this?

Thanks
Kevin

Sep 2 '05 #2
In the propeties of your instal project there are two properties you are
interested in

"DetectNewerIns talledVersion - YES/NO"

and

"RemovePrevious Versions - YES/NO"

There is also a version number property which you'll need to increment so it
knows its a different version.

I am new to this so this could be totally not what you after but have a
look, it seems to work for me.
"Tom" wrote:
Same request here!
Also - could anyone tell me where the Setup options are documented?

-- Tom

What I need to do is force my Installer to just ignore any versions
previously installed and just proceed as if it is always the first
time.

Does anyone know how I can do this?

Thanks
Kevin


Sep 2 '05 #3
Tom
Thanks. Finally found them documented under 'Deployment Properties'.
Once you know what they are called (as a group) they can be found in the
documentation -- until then -- it's tough sledding...

-- Tom


"Steve" <St***@discussi ons.microsoft.c om> wrote in message
news:68******** *************** ***********@mic rosoft.com...
In the propeties of your instal project there are two properties you are
interested in

"DetectNewerIns talledVersion - YES/NO"

and

"RemovePrevious Versions - YES/NO"

There is also a version number property which you'll need to increment so
it
knows its a different version.

I am new to this so this could be totally not what you after but have a
look, it seems to work for me.
"Tom" wrote:
Same request here!
Also - could anyone tell me where the Setup options are documented?

-- Tom
>
> What I need to do is force my Installer to just ignore any versions
> previously installed and just proceed as if it is always the first
> time.
>
> Does anyone know how I can do this?
>
> Thanks
> Kevin
>


Sep 2 '05 #4

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

Similar topics

0
917
by: krose | last post by:
I have created an Installer using the "Setup Wizard" in Visual Studio. I've added a custom action to this as a seperate DLL written in C#. The custom action has to install files from another location on the network. Everything is working and going well. The problem I am having now is that once it has been installed once, I am unable to install it again as I get an "Another version of this product is already installed" error message.
3
252
by: krose | last post by:
I have created an Installer using the "Setup Wizard" in Visual Studio. I've added a custom action to this as a seperate DLL written in C#. The custom action has to install files from another location on the network. Everything is working and going well. The problem I am having now is that once it has been installed once, I am unable to install it again as I get an "Another version of this product is already installed" error message.
11
520
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. It is greatly appreciated. Is there a way to programmatically check for .NET Framework versions installed on the computer? -- Michael Bragg, President eSolTec, Inc. a 501(C)(3) organization MS Authorized MAR looking for used laptops for developmentally disabled.
1
1278
by: peter1234 | last post by:
Is it possible to create Relationships in Microsoft Access versions prior to 2007?
0
7857
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
8220
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
7981
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
6632
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
5723
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
3846
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...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1457
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1194
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.