Re: [WiX-users] Associating Icons to File Types

2007-11-04 Thread Cryptonomicon



Follow the directions at
http://msdn2.microsoft.com/en-us/library/aa969376.aspx,
http://msdn2.microsoft.com/en-us/library/aa969377.aspx, and optionally
http://msdn2.microsoft.com/en-us/library/aa969375.aspx. 


Links are dead I am afraid

http://msdn2.microsoft.com/en-us/library/ms123402.aspx




 
-- 
View this message in context: 
http://www.nabble.com/Associating-Icons-to-File-Types-tf4355421.html#a13571157
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Associating Icons to File Types

2007-09-04 Thread Dan Beall
Thanks for all the help... much appreciated. 

 

From: James Finnigan [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 03, 2007 5:17 PM
To: James Finnigan [MSFT]; Rob Mensching; Dan Beall;
wix-users@lists.sourceforge.net
Subject: RE: Associating Icons to File Types

 

Follow the directions at
http://msdn2.microsoft.com/en-us/library/aa969376.aspx,
http://msdn2.microsoft.com/en-us/library/aa969377.aspx, and optionally
http://msdn2.microsoft.com/en-us/library/aa969375.aspx.  Make sure you
populate OpenWithProgids so that your registration isn't.  

 

A shellexecute with any file path will do launch it with the association
program.

 

The first two are just a set of best practices and an example scenario
following them.  The third is for set user defaults.  This allows users
to set your application as default from the windows UI, (or yours), and
is capable of updating the userchoice registry key that overrides the
regular registration mechanisms.

 

I'm happy to answer any questions that you may have in this space as
I've been looking at it a lot lately.  (Also, the documentation is a
little wrong - MSDN has been notified but this was only brought up
yesterday.  Dashes in file extensions are very much allowed, and it
doesn't mention that extension characters need to be kept in the ASCII
range (so no fancy Unicode characters).  Also, don't register a long and
short file extension - just register the long file extension.)

 

HTH,

James

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Mensching
Sent: Monday, September 03, 2007 2:05 PM
To: Dan Beall; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Associating Icons to File Types

 

You want an Extension and possibly a ProgId.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan Beall
Sent: Thursday, August 30, 2007 09:34
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Associating Icons to File Types

 

Can anybody point me to instructions for:

 

(1) Associating an icon to a particular file type

(2)Launching the application to which that file type is associated
when the icon is double-clicked

 

Thanks! 

Dan 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Associating Icons to File Types

2007-09-03 Thread Rob Mensching
You want an Extension and possibly a ProgId.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Beall
Sent: Thursday, August 30, 2007 09:34
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Associating Icons to File Types

Can anybody point me to instructions for:


(1) Associating an icon to a particular file type

(2)Launching the application to which that file type is associated when the 
icon is double-clicked

Thanks!
Dan
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Associating Icons to File Types

2007-08-31 Thread Thomas Leigh
Just create a few registry entries: 
http://msdn2.microsoft.com/en-us/library/aa969377.aspx


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Beall
Sent: 30 August 2007 17:34
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Associating Icons to File Types

Can anybody point me to instructions for:


(1) Associating an icon to a particular file type

(2)Launching the application to which that file type is associated when the 
icon is double-clicked

Thanks!
Dan
-- This message has been scanned for viruses by Sophos PureMessage.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Associating Icons to File Types

2007-08-31 Thread John Hall
 

Can anybody point me to instructions for:

 

(1) Associating an icon to a particular file type

(2)Launching the application to which that file type is
associated when the icon is double-clicked

Dan,

 

Here is some example XML taken from one of my products (it's WiX 3.0,
but should be adaptable for v2):

Component Id=FileTypes.BSDL Guid=...
  File Id=bsdl.ico Name=BSDL.ico /

  RegistryValue Id=Reg.Extn.BSD  Root=HKCR Key=.bsd
Value=BSDLfile Type=string /
  RegistryKey Id=Reg.Class.BSDL Root=HKCR Key=BSDLfile
Action=createAndRemoveOnUninstall
RegistryValue Id=Reg.Class.BSDL.Value Value=BSDL File
Type=string /
RegistryValue Id=Reg.Class.BSDL.Icon Key=DefaultIcon
Value=[#bsdl.ico],0 Type=string /
  /RegistryKey
/Component

I have my icon for the filetype in an icon file, but you could reference
an exe or dll that you've installed instead.

 

Regards,

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users