By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,965 Members | 1,505 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,965 IT Pros & Developers. It's quick & easy.

Deploying to Vista - won't write to registry

P: n/a
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
Nov 16 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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" <Pe**@discussions.microsoft.comwrote in message
news:CF**********************************@microsof t.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

Nov 16 '07 #2

P: n/a
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:
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" <Pe**@discussions.microsoft.comwrote in message
news:CF**********************************@microsof t.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


Nov 18 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.