shell extension - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Roschi
Posts: 2
Joined: Fri May 11, 2012 12:38 pm

shell extension

Hello

I am a beginner in this tool and I have a Problem for which I can't find a solution in forum or manual

My situation:

I want to add (!!) a shell extension for example for PDF, so user can send the selected file to my app

I tried to solve this by generate a file assiciation in the installer. But in that case it replaces the standard association and even a doubleclick send the pdf to my app and do not open it in adobe reader.


how can I add an additional context menu entry so user can choose what will be happend to the PDF?

regards Roschi
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: shell extension

Hi Roschi and welcome to Advanced Installer forums,

You can try to use the "FileAssociationsDlg" dialog functionality. Just enable "Place extension in a separate feature" -> "Show in FileAssociationsDlg dialog" from the extension properties in the right pane.

All the best,
Mihai>
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Roschi
Posts: 2
Joined: Fri May 11, 2012 12:38 pm

Re: shell extension

No I am sorry, but that is not what I am look for...

when I rightclick on a PDF-File I want to get a dialog such this one

* open with Adobe Reader X
* send to my app
* print
* open with
...

when I use the "file association" I get this context menu

* send to my app
* print
* open with

the standard program to open the file would be changed to my app and I only want to give the user the abability to open it with my app


regards Roschi
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: shell extension

Hi Roschi,

For a custom context menu item you'll have to author a shell extension. Here're a couple of MSDN articles to help:
http://msdn.microsoft.com/en-us/library ... s.85).aspx
http://msdn.microsoft.com/en-us/library ... s.85).aspx

Basically, Windows offers support to add custom functionality in Windows Explorer (which is a shell launcher). This can be achieved by having a shell extension which is a combination between a COM .DLL and its configuration registry entries.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”