Daniel Cheng skrev:
> On Sat, Jan 31, 2009 at 6:20 PM, <Zero3 at freenetproject.org> wrote:
>
>> Author: Zero3
>> Date: 2009-01-31 10:20:50 +0000 (Sat, 31 Jan 2009)
>> New Revision: 25444
>>
>> Modified:
>> trunk/apps/wininstaller/src_freenethelpers/FreenetLauncher.ahk
>> Log:
>> Added support for Opera to the launcher
>>
>> Modified: trunk/apps/wininstaller/src_freenethelpers/FreenetLauncher.ahk
>> ===================================================================
>> --- trunk/apps/wininstaller/src_freenethelpers/FreenetLauncher.ahk
>> 2009-01-31 10:13:22 UTC (rev 25443)
>> +++ trunk/apps/wininstaller/src_freenethelpers/FreenetLauncher.ahk
>> 2009-01-31 10:20:50 UTC (rev 25444)
>> @@ -84,6 +84,22 @@
>> }
>>
>> ;
>> +; Try browser: Opera (Tested versions: 9.6)
>> +;
>> +RegRead, _OperaInstallDir, HKEY_LOCAL_MACHINE,
>> Software\Microsoft\Windows\CurrentVersion\Uninstall\{1BC4026B-1957-4514-9058-2B542557F143},
>> InstallLocation
>>
>
>
> using GUID certainly *won't* work on other versions,
> see http://my.opera.com/community/forums/topic.dml?id=38933 for
> another registry
>
Argh, you are most likely right. Would be better with a more generic
approach. My "Last CommandLine v2" contains:
D:\Programmer\Opera\\opera.exe "http://127.0.0.1:8888/"
I could fetch the .exe path out of that via a regex. Should be safe?
- Zero3