Hello,
I'm
creating a new windows application. The application is a sort of a
popup system that notifies the user of new messages, events on a forum.
The program works fine, and now I've created a setup project. I added the project output of my application.
I
modified the setup custum applications to wirte some registry values
after installing, like auto start application when windows starts.
When I install the msi that the setup created, it works fine. Everything works like it should be.
My
only problem is that when I change the version from 1.0.0 of the setup
project to 1.1.0, Visual Studio pops asks me to create a new
productGuid. I click yes and build the setup again.
When I
install the new msi, with the higher version number, my system doesn't
remove the previous version?? Is this the cause of the custom actions??
I
google'ed a lot and find no answer. My only solution is to check by my
own code in the register on the OnPreInstall Event if there is an old
version, but that isn't that easy...
Is there something I forgot with the version property?
Tnx!
Loading
olivier ferranPosted Jan 12, 2009, 3:51 AM
Hi,
I get this problem when I have migrated from VS 2005 to 2008
The problem come from that in 2008 you have to version files mean filled the File Version of all your deployed files. If you deployed application contained one .exe and one .dll, both should have the same File Version, and when you deploy a new release your should changed This File Version. Select you project-> right click select Properties -> Select Application Tab-> Assembly Information -> file Version.
here are my sources:
http://groups.google.com/group/microsoft.public.vstudio.general/browse_thread/thread/35cbb20d0cd1076a/ca90e5e44bba140c?lnk=raot&pli=1#
by the way using this solution now I can't no more uninstall the DLL. The update version works fine but not the uninstall.
If some one have a solution
Thanks
GeertPosted Jan 6, 2009, 9:31 AM
Ryan AlfordPosted Jan 6, 2009, 9:27 AM