Wix Toolset add Program to file right click 'Open With' menu without making it the default program

Add-in Express™ Support Service
That's what is more important than anything else

Wix Toolset add Program to file right click 'Open With' menu without making it the default program
 
tttmack




Posts: 12
Joined: 2015-02-17
Hello,

I know how to make the WIX installer make my executable be the default association for a particular file extension, but how can I add it so that it isn't the default app, but still appears by default in the Open With menu?

For example this will make it the default app for the .txt file extension.
<ProgId Id="TXT" Advertise="yes" Description="Open with My App" Icon="MyAppIcon">
<Extension Id="txt">
<Verb Id="open" Command="&amp;Open" Argument="&quot;%1&quot;" Sequence="1" />
</Extension>
</ProgId>

However I don't want it to be the default, just to appear in the 'Open With' menu without having to browse to %LocalAppData%\MyApp.

also, is it possible to add an extra menu item to the context menu when a file is right clicked? For example Notepad++ has an 'Edit with Notepad++' directly underneath the Edit menu item in the context menu.

Thanks so much for your help!
Posted 07 Aug, 2016 13:22:26 Top
Andrei Smolin


Add-in Express team


Posts: 18827
Joined: 2006-05-11
Hello Taylour,

I don't know how to do this. I suggest that you ask this question on a WiX-related forum or on StackOverflow.com.


Andrei Smolin
Add-in Express Team Leader
Posted 08 Aug, 2016 07:22:12 Top