Associate File extension to an application - differentiate b/w current user and all users

  • Thread starter Thread starter Karthik.R
  • Start date Start date
K

Karthik.R

Hi,

I am trying to associate an application to a file extension while installing
my software. Based on this I observed the following tests:

1) If the software is installed for current user, I should write the file
association info in HKCU\Software\Classes.

2) If the software is installed for all users, I should write the file
association info in HKLM\Software\Classes. Doing this way will ensure that
the applied association applies to all users who logs in and use the
software. But if by chance the user logging in has a entry of this file
association in HKCU\Software\Classes, will this not take the precedence and
screw the setup that is intended while installing my software? How does this
work? I am confused..Please throw some light on this.

Regards,
Karthik.
 
This article may help.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257592

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hi,
|
| I am trying to associate an application to a file extension while
installing
| my software. Based on this I observed the following tests:
|
| 1) If the software is installed for current user, I should write the file
| association info in HKCU\Software\Classes.
|
| 2) If the software is installed for all users, I should write the file
| association info in HKLM\Software\Classes. Doing this way will ensure that
| the applied association applies to all users who logs in and use the
| software. But if by chance the user logging in has a entry of this file
| association in HKCU\Software\Classes, will this not take the precedence
and
| screw the setup that is intended while installing my software? How does
this
| work? I am confused..Please throw some light on this.
|
| Regards,
| Karthik.
|
|
 
Back
Top