|
-
Aug 8th, 2007, 08:22 AM
#1
Thread Starter
Hyperactive Member
[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?
-
Aug 8th, 2007, 08:40 AM
#2
Re: [02/03] Setup Project & Registry Entries
Moved To Application Deployment
-
Aug 8th, 2007, 08:41 AM
#3
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?
-
Aug 8th, 2007, 08:50 AM
#4
Thread Starter
Hyperactive Member
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
-
Aug 8th, 2007, 09:42 AM
#5
Thread Starter
Hyperactive Member
Re: [02/03] Setup Project & Registry Entries
OK, I feel dumb 
It was because of the Assemblyversion Number.
Thanx anyways gents!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|