mcandre
Posts: 7
Joined: Fri Sep 14, 2012 10:36 pm

Adding a program to Explorer context menu

I want my installer to add runemacs.exe as an Explorer context menu item "Edit with Emacs" whenever a user right-clicks on a file. How can I do this in Advanced Installer?

Update 1: I followed this guide to use the registry to add Emacs to the Explorer context menu. But when I used Advanced Installer to modify the registry, it doesn't work completely.

Emacs installs just fine, and my "Edit with Emacs" shows up in the context menu. But when I click it, Explorer pops up an error:

"This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel."

What am I doing wrong?

Update 2: Advanced Installer is not correctly modifying the "(Default)" value. Instead, Advanced Installer is adding a "Default" value, which is ignored by Explorer.
mcandre
Posts: 7
Joined: Fri Sep 14, 2012 10:36 pm

Re: Adding a program to Explorer context menu

Update 3: Deleting the AdvancedInstaller cache fixed it. There's some minor bug happening that fails to update registry tinkering in the cache.

My new Emacs installer now adds it to the right-click Explorer context menu!

http://www.yellosoft.us/helpers#emacs

Return to “Building Installers”