473,473 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Create 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 2076
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
"Crouchie1998" <cr**********@discussions.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP15.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
"Crouchie1998" <cr**********@spamcop.net> wrote in message
news:uj**************@TK2MSFTNGP14.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
"Crouchie1998" <cr**********@spamcop.net> wrote in message
news:uj**************@TK2MSFTNGP14.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
"application 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**************@TK2MSFTNGP10.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
"Crouchie1998" <cr**********@spamcop.net> wrote in message
news:uj**************@TK2MSFTNGP14.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
by: krisk | last post by:
Could not find ansewr: in ProjectInstaller, RunInstallerAttribute: ..... this.serviceInstaller1.ServiceName = MyServiceName; in the code: public class MyService :...
5
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...
0
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. ...
4
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...
7
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....
4
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...
1
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,...
1
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...
3
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...
0
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...
0
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,...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.