[WiX-users] ShellNew/FileName

2009-04-04 Thread nathanjphillips
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

Re: [WiX-users] Multiple file extensions per ProgID

2009-04-04 Thread nathanjphillips
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

Re: [WiX-users] ShellNew/FileName

2009-04-04 Thread nathanjphillips
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

[WiX-users] Multiple file extensions per ProgID

2009-04-03 Thread nathanjphillips
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