PC Review


Reply
Thread Tools Rate Thread

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

 
 
Karthik.R
Guest
Posts: n/a
 
      9th Jul 2005
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.


 
Reply With Quote
 
 
 
 
Dave Patrick
Guest
Posts: n/a
 
      9th Jul 2005
This article may help.

http://support.microsoft.com/default...;EN-US;q257592

--
Regards,

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

"Karthik.R" wrote:
| 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.
|
|


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
file extension will not associate with a program Nathan Windows XP General 0 21st Jun 2008 11:37 PM
Associate an Empty File Extension? Brian Bradley Windows Vista General Discussion 2 26th Jun 2007 07:24 PM
Associate program with the .iso file extension Luminore Windows XP General 3 14th Mar 2007 03:54 PM
How do I dis-associate an file extension from a program =?Utf-8?B?S2FyZW4gTGV3aXM=?= Microsoft Frontpage 2 14th Sep 2005 12:33 PM
Associate a File Extension cox Microsoft Dot NET Compact Framework 1 5th Apr 2004 06:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:09 PM.