473,327 Members | 1,920 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,327 software developers and data experts.

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 1596
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

"DetectNewerInstalledVersion - YES/NO"

and

"RemovePreviousVersions - 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***@discussions.microsoft.com> wrote in message
news:68**********************************@microsof t.com...
In the propeties of your instal project there are two properties you are
interested in

"DetectNewerInstalledVersion - YES/NO"

and

"RemovePreviousVersions - 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
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...
3
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...
11
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,...
1
by: peter1234 | last post by:
Is it possible to create Relationships in Microsoft Access versions prior to 2007?
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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: 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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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.