Deploying to Vista - won"t write to registry
am 16.11.2007 11:56:01 von Pete
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
Re: Deploying to Vista - won"t write to registry
am 16.11.2007 12:21:33 von Kevin Spencer
Add a manifest to the assembly. Here's an article on the subject:
http://blogs.msdn.com/shawnfa/archive/2006/04/06/568563.aspx
--
HTH,
Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
"Pete" wrote in message
news:CF5AD9C0-13CD-4480-8958-40B2E90580DF@microsoft.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
Re: Deploying to Vista - won"t write to registry
am 18.11.2007 22:23:00 von Pete
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/archive/2006/04/06/568563.aspx
>
> --
> HTH,
>
> Kevin Spencer
> Chicken Salad Surgeon
> Microsoft MVP
>
> "Pete" wrote in message
> news:CF5AD9C0-13CD-4480-8958-40B2E90580DF@microsoft.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
>
>
>