473,581 Members | 2,489 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installer isn't removing previous version

I've created a Windows setup project in VS.NET 2003. The first setup ran
fine minus creating the Program's group. I made some changes and rebuilt
the MSI and setup.exe files. Now when I run the setup.exe, I get this
popup:

Windows Installer:
Another version of this product is already installed.
Installation of this version cannot continue. To
configure or remove the existing version of this product,
use Add/Remove Programs on the Control Panel.

In Project Deployment Properties, I have remove previous versions set to
True. Why doesn't this work? How else can I install without having the
user do add/remove programs? Most installers will remove previous versions
or just install without asking.

Thanks,
Brett
Nov 21 '05 #1
6 2092
I have had the same problem for over a year with Windows Installer too

You set it to remove previous & it doesn't

There are a few bugs in Windows Installer. Another is adding your own icon
to the add/remove group. If you say you want it, it creates a folder. If you
say you don't want it then it creates the icon.

If you find the solution to this then let me know please, not that I create
that many Windows Installer projects any more.

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #2
I'm only using it for av EXE, couple of DLLs, and CHM files. Wouldn't a
ZipEXE work just as good? It won't create all the directory structure but
at least it doesn't require more work than the Win Installer bug.

Brett
"Crouchie19 98" <cr**********@d iscussions.micr osoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
I have had the same problem for over a year with Windows Installer too

You set it to remove previous & it doesn't

There are a few bugs in Windows Installer. Another is adding your own icon
to the add/remove group. If you say you want it, it creates a folder. If
you
say you don't want it then it creates the icon.

If you find the solution to this then let me know please, not that I
create
that many Windows Installer projects any more.

Crouchie1998
BA (HONS) MCP MCSE

Nov 21 '05 #3
Make sure the the directories you've creates are set to 'Always Create =
True'

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #4
Is there a better free installer available?

Thanks,
Brett
"Crouchie19 98" <cr**********@s pamcop.net> wrote in message
news:uj******** ******@TK2MSFTN GP14.phx.gbl...
Make sure the the directories you've creates are set to 'Always Create =
True'

Crouchie1998
BA (HONS) MCP MCSE

Nov 21 '05 #5
Try incrementing the version of your installer in the project. I did that
on my machine here and it works. Going to try it on the machine tomorrow
that's giving me the error.

Let me know if it works for you.

Also, the program group is created in the Start | Programs menu. But the
folder is empty. How do I tell the installer to put a short cut to the
program in the folder?

thanks,
Brett
"Crouchie19 98" <cr**********@s pamcop.net> wrote in message
news:uj******** ******@TK2MSFTN GP14.phx.gbl...
Make sure the the directories you've creates are set to 'Always Create =
True'

Crouchie1998
BA (HONS) MCP MCSE

Nov 21 '05 #6
To create an icon in the Start | Programs menu, you need to view the file
system within the installer project by right clicking the installer project
and selecting View > File System.

You will see a list of directories you can update, one of which will be
"Users Programs Menu". Create a sub-folder under that for your program
group (the name of this folder will be the name of your program group).
Then select this foler and then in the right hand "pane", right click and
select "Create New Shortcut". A list of folders will be displayed, find
"applicatio n folder" and there should be a short cut to your project
executeable displayed. This will create a shortcut to your executeable
within this program group.

The properties of the shortcut include the icon you wish to give it It
doesn't appear to default to any icon within your project or startup form,
you will need to include the icon manually in the files uploaded and then
link it here.

I hope that this answers the question you were asking and that I've not
insulted your intelligence by making step by step notes! I too have
struggled with the Installer, which although in the main appears to work,
doesn't appear to be very well documented!

Hope this helps.

Regards

Simon
"Brett" <no@spam.net> wrote in message
news:eA******** ******@TK2MSFTN GP10.phx.gbl...
Try incrementing the version of your installer in the project. I did that
on my machine here and it works. Going to try it on the machine tomorrow
that's giving me the error.

Let me know if it works for you.

Also, the program group is created in the Start | Programs menu. But the
folder is empty. How do I tell the installer to put a short cut to the
program in the folder?

thanks,
Brett
"Crouchie19 98" <cr**********@s pamcop.net> wrote in message
news:uj******** ******@TK2MSFTN GP14.phx.gbl...
Make sure the the directories you've creates are set to 'Always Create =
True'

Crouchie1998
BA (HONS) MCP MCSE


Nov 21 '05 #7

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

Similar topics

5
14457
by: krisk | last post by:
Could not find ansewr: in ProjectInstaller, RunInstallerAttribute: ..... this.serviceInstaller1.ServiceName = MyServiceName; in the code: public class MyService : System.ServiceProcess.ServiceBase { string MyServiceName = "configSendmailA";
5
4901
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET 1.1 -> MsiNetAssembly Support.) I have a few issues and questions regarding the MSI and its properties. * This may be my biggest annoyance at the...
0
2084
by: Arun Bhalla | last post by:
I'm having some inconsistency problems with my deployment project ("Setup") and its custom actions ("Installer"). I'm using Visual Studio .NET 2003 (.NET 1.1, no service pack) on Windows XPSP1. My main project is a band object (Explorer Bar) in an assembly (.DLL) that needs to be registered on installation and unregisted on uninstallation. ...
4
1891
by: Michael A. Covington | last post by:
Greetings, I am working on a program that is in beta testing and goes through a new version every week or so. When there's a new version, go into the setup project change the Product Code but leave the Upgrade Code and version number unchanged. RemovePreviousVersions is set to True.
7
1405
by: al | last post by:
Greetings, I have just finished packaging and deploying winapp. Packing went fine and so did the deplo. However, I have noticed that there are two files, not one, that were created by VB.NET. One is application.exe and the other one is installer that has all the dependencies. Any idea why is that?? MTIA, Grawsha
4
1329
by: sklett | last post by:
I'm having a very frustrating time with the .NET installer project. I can't make it uninstall a previous installation succsessfully. I also need to create an uninstall icon in the program group and can't figure out how to do that. Do any of you know a site where I might find some tips on using the .NET installer? What other installer...
1
2855
by: lyl209 | last post by:
Hi, I am trying to create a web setup project for my asp.net 2.0 website and I had some problems. It worked fine until I want to add some custom actions into it. As some of you already knew, custom actions get fired AFTER the real installation is done. I want to do some things like 1) check if some required software is in position if not...
1
1745
by: Mr. Roboto | last post by:
I need PyWin under the covers, that is, to install it as part of an application, but in such a way that it isn't visible to users. I'm concerned about a so-called "power-user", seeing the Python directory and/or the corresponding entry in the 'Add/Remove Programs' list, breaking my app by uninstalling what he/she thinks is removing an...
3
5089
by: Scewbedew | last post by:
I have a C# service where I have included a ProjectInstaller class to handle the installation. I experiance a number of oddities, and I don't know if I'm doing anything wrong, or if the Installer class is behaving odd. 1. I added code in the Committed event handler to start the service. It never ran. I added code to *all* events in order to...
0
7873
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8153
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. ...
0
6558
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...
1
5679
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...
0
5365
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3830
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2304
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1405
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1141
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...

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.