It seems like Wix doesn't support the ShellNew/FileName registry key under
Extensions in order to allow Windows Explorer's New command to create a new
file. Is it better to start with what Wix does provide using Extension and then
add some extra registry keys to extend it or to do the whole
To answer my own question, the bit that was causing the problem was, of course,
the duplicated Verb, not the duplicated Extension. The Verb is stored under the
ProgId, not under the extension, despite the way things are laid out in Wix and
therefore there can only be one Verb per ProgId. The
OK, done this, which seems to work:
ProgId Id=MyApp.MyFileType Description=My File Type Icon=ID_GUID1
IconIndex=4
Extension Id=my-file-type
Verb Id=Open Command=open TargetFile=ID_GUID1 Argument=/dde /
/Extension
/ProgId
File Id=ID_GUID2 Source=Sample.my-file-type
The following code causes
MyApp.wxs(MyLineNo) : error LGHT0130 : The primary key
'regCEECC3C927D10BCB192BEE13F4F46715' is duplicated in table 'Registry'.
Please remove one of the entries or rename a part of the primary key to avoid
the collision.
Directory Id=ProgramFilesFolder
4 matches
Mail list logo