I have created a shell extension for Windows using SharpShell. The creators of SharpShell recommend using their ServerRegistrationManager.exe to register the DLL and that works fine when run in a CMD window with:
Code: Select all
ServerRegistrationManager.exe install shellextension.dll -codebase
I have set the parameters to:
File to launch: [#ServerRegistrationManager.exe]
Command line: install [shellextension.dll] -codebase
Working directory: [Installable_Dir]
I have ticked the option to 'Run as Administrator' but changing this seem to make no difference.
The MSI runs fine and installs and uninstalls all the required files without a problem, but whilst I can see it running the ServerRegistrationManager.exe, the DLL is not registered.
BTW in the "Execution Time" section I get the feeling that I should select 'After the system has been successfully modified (commit)' , but this and the other options are greyed out so that 'Immediately' is selected and can't be changed.
What am I doing wrong?