473,396 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Deploying to Vista - won't write to registry

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
2 3156
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
by: Allen Browne | last post by:
If you develop for others, you probably have multiple versions of Access installed so you can edit and create MDEs for clients in different versions. This works fine under Windows XP, even with...
11
by: vovan | last post by:
I'm using this approach to read from registry. Dim f As New RegistryPermission(RegistryPermissionAccess.AllAccess, _ "HKEY_LOCAL_MACHINE\SOFTWARE\SRS Enterprises\Coordinator\Settings") 'Vlad...
6
by: vovan | last post by:
I'm asking for help one more time. Below are 2 procedures. The first one is used in VB 2005 Windows Form project. It works fine on XP, Vista. Private Sub RegistryReadingTest() Try Dim f As New...
5
by: =?Utf-8?B?Qkw=?= | last post by:
Hello friends In c# 2005 I have written a function to access "font file name" by "Font name" and it is working fine in all the windows version other than vista, in vista it is throughing an...
14
by: Keith | last post by:
I have an MDE application used by several hundred people in different parts of the world. The majority of users are of lesser experience computer experience. The app consists of a frontend (MDE)...
1
by: David Jackson | last post by:
Hello, I'm looking for some best practice advice on deploying a 32-bit WinForms app on 32-bit Vista as regards file locations. The app will be written in Visual Studio.NET 2005 and will be...
12
by: ARC | last post by:
I'm currently looking at the access developer extensions for creating an MSI installer package for a 2007 runtime app. Couple of observations and questions. 1) Doesn't look like we have the...
4
by: Kevin L | last post by:
I wrote a VB application for a friend's laptop. Originally, it was installed on an XP OS. He has since purchased a new laptop with Vista installed and has installed my VB application. I have a...
6
by: sd | last post by:
hello I need to keep my app entry under HKEY_LOCAL_MACHINE\Software\MyApp. (to support for all users).I need to update one key under MYApp. When I attempt to set value for this key...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.