ayozzhero
Well-known member
I developed an application that needs a user to log in as Administrator to install, since it will install MDAC and .Net Framework 1.1. Every time it runs, the app will check for registry under:
HKEY_LOCAL_MACHINE/Software/MyCompany/MyApp
On certain PC, users are not Admin. The problem is, if a user is not logged as Administrator, Windows disallow my application from accessing the registry unless Admin sets permission for the user to access (read/write) the registry.
My question is, is there anyway in VB which we can modify the registry permission for this specific registry folder only (HKEY_LOCAL_MACHINE/Software/MyCompany/MyApp). I mean, Admin runs the app for the first time, the app sets permission for the registry to be accessible for all users (or specific user). Hence, when the actual user runs it the next time with his/her own login, the application is able to access the registry.
Thank you for helping. Any idea is most welcome.
HKEY_LOCAL_MACHINE/Software/MyCompany/MyApp
On certain PC, users are not Admin. The problem is, if a user is not logged as Administrator, Windows disallow my application from accessing the registry unless Admin sets permission for the user to access (read/write) the registry.
My question is, is there anyway in VB which we can modify the registry permission for this specific registry folder only (HKEY_LOCAL_MACHINE/Software/MyCompany/MyApp). I mean, Admin runs the app for the first time, the app sets permission for the registry to be accessible for all users (or specific user). Hence, when the actual user runs it the next time with his/her own login, the application is able to access the registry.
Thank you for helping. Any idea is most welcome.