[Wine] Re: Registry override?
vitamin
wineforum-user at winehq.org
Sun May 25 10:42:04 CDT 2008
jcfuller wrote:
> I first installed kchmviewer.
>
> I then created the file run_prog:
> #!/bin/sh
> $1 "`wine winepath -u "$2"`"
>
> I tested by running from a terminal
> run_prog kchmviewer c:\MyChmFile.chm
> This worked fine
>
> I edited the registry entry for chm.file to
> /usr/bin/run_prog kchmviewer %1
>
>
> >
> > Note:
> > While researching regedit I noticed the reference to wineprefixcreate at:
> > http://wiki.winehq.org/UsefulRegistryKeys
> >
> > Do you now call wineboot to update?
> >
>
>
> A windows program using ShellExecute with "open" on c:\MyChmFile.chm appears to still call HH.EXE
>
> Is it possible to override wine using HH.EXE?
>
> Last tested on clean install of rc2
>
>
> James
You need to associate that file extension properly - see [HKEY_CLASSES] registry hive. It works the same as on windows.
More information about the wine-users
mailing list