HighTechTalks DotNet Forums  

Deploying to Vista - won't write to registry

Dotnet General Discussions microsoft.public.dotnet.general


Discuss Deploying to Vista - won't write to registry in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Pete
 
Posts: n/a

Default Deploying to Vista - won't write to registry - 11-16-2007 , 05:56 AM






Hi,

I have developed a VB application in VS2005 and deployed it sucessfully to
XP using an MSI file built with a standard VS setup project. The MSI creates
some keys under HKEY_LOCAL_MACHINE\Software. However when deploying to Vista,
although the setup completes without error, the registry entries are not
created. This occurs even when run by an administrator or when running the
setup.exe using "Run As Administrator".

I'm very new to Vista so I'm hoping there's a simple and very obvious
solution. Any ideas, anyone?

Pete

Reply With Quote
  #2  
Old   
Kevin Spencer
 
Posts: n/a

Default Re: Deploying to Vista - won't write to registry - 11-16-2007 , 06:21 AM






Add a manifest to the assembly. Here's an article on the subject:

http://blogs.msdn.com/shawnfa/archiv...06/568563.aspx

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

"Pete" <Pete (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

I have developed a VB application in VS2005 and deployed it sucessfully to
XP using an MSI file built with a standard VS setup project. The MSI
creates
some keys under HKEY_LOCAL_MACHINE\Software. However when deploying to
Vista,
although the setup completes without error, the registry entries are not
created. This occurs even when run by an administrator or when running the
setup.exe using "Run As Administrator".

I'm very new to Vista so I'm hoping there's a simple and very obvious
solution. Any ideas, anyone?

Pete



Reply With Quote
  #3  
Old   
Pete
 
Posts: n/a

Default Re: Deploying to Vista - won't write to registry - 11-18-2007 , 04:23 PM



Thanks Kevin for your reply. I'm starting to think that installation is just
the start of my problems and that the solution really needs to be re-designed
for Vista. I think UAC, although probably a good thing, is going to force
developers to rethink the way applications access the registry and file
system. That's probably the idea!

Thanks,

Pete

"Kevin Spencer" wrote:

Quote:
Add a manifest to the assembly. Here's an article on the subject:

http://blogs.msdn.com/shawnfa/archiv...06/568563.aspx

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

"Pete" <Pete (AT) discussions (DOT) microsoft.com> wrote in message
news:CF5AD9C0-13CD-4480-8958-40B2E90580DF (AT) microsoft (DOT) com...
Hi,

I have developed a VB application in VS2005 and deployed it sucessfully to
XP using an MSI file built with a standard VS setup project. The MSI
creates
some keys under HKEY_LOCAL_MACHINE\Software. However when deploying to
Vista,
although the setup completes without error, the registry entries are not
created. This occurs even when run by an administrator or when running the
setup.exe using "Run As Administrator".

I'm very new to Vista so I'm hoping there's a simple and very obvious
solution. Any ideas, anyone?

Pete




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.