[RESOLVED] [02/03] Setup Project & Registry Entries
I have a program (wow). I've created a setup project for it, and everythings install perfectly and the program runs perfectly, thus far.
I make use of three registry keys in my program, and I save small bits of info in there.
I have noticed, with each new "update" of my program, that I have to manually go into the registry, and create these three keys again, and set their values again. This is because of the the (I think it's the program's version number), that keeps changing with each new build. It is frustrating me, because I would like to always save to the [b]same[/] registry key, irrespective of what the program's version number is.
How should I go about fixing it?
Should I set up the keys & values through my setup project? If so, How?
Or is there a different way?
Re: [02/03] Setup Project & Registry Entries
Moved To Application Deployment
Re: [02/03] Setup Project & Registry Entries
Are your registry entires being written by your program or by the installer.
Also what methods are you using for registry writing?
Re: [02/03] Setup Project & Registry Entries
I write to the registry from my application itself, via Application.UserAppDataRegistry
I've noticed that in my AssemblyInfo.vb file that I had something like this:
Code:
<Assembly: AssemblyVersion("1.0.*")>
Do you think, that is what is causing this?
I've changed it now to:
Code:
<Assembly: AssemblyVersion("2.0.135.789")>
But haven't tested it yet, but will it be fixed then?
Sorry for posting in the wrong forum, I never knew about the Application Deployement forum
Re: [02/03] Setup Project & Registry Entries
OK, I feel dumb :blush:
It was because of the Assemblyversion Number.
Thanx anyways gents! :)