[Wine] Re: Script to add key to the WINE/Windows registry?

argolance wineforum-user at winehq.org
Fri Oct 22 10:48:31 CDT 2010


Hello,
Thank you dimesio & vitamin!
This is what I finally did:
- Script (seems too much simple to be 'honest' but... runs! [Shocked]  :D ):
Code:
#!/bin/sh

exec wine regedit /tmp/seamonkey.reg



- seamonkey.reg:
> REGEDIT4
> 
> [HKEY_CLASSES_ROOT\ftp\shell\open\command]
> @="C:\\windows\\system32\\winebrowser.exe -nohome \"%1\""
> [HKEY_CLASSES_ROOT\htmlfile\shell\open\command]
> @="C:\\windows\\system32\\winebrowser.exe -nohome \"%1\""
> [HKEY_CLASSES_ROOT\http\shell\open\command]
> @="C:\\windows\\system32\\winebrowser.exe -nohome \"%1\""
> HKEY_CLASSES_ROOT\https\shell\open\command]
> @="C:\\windows\\system32\\winebrowser.exe -nohome \"%1\""
> [HKEY_CLASSES_ROOT\mailto\shell\open\command]
> @="C:\\windows\\system32\\winebrowser \"%1\""
> HKEY_CLASSES_ROOT\xmlfile\shell\open\command]
> @="C:\\windows\\system32\\winebrowser.exe -nohome \"%1\""
> [HKEY_CURRENT_USER\Software\Wine\WineBrowser]
> @="(valeur non définie)"
> "Browsers"="seamonkey"
> "Mailers"="/usr/bin/seamonkey_wrapper"


- seamonkey_wrapper:

Code:
#!/bin/sh

seamonkey -compose $@



It seems running quite well (and comes after [Arrow] this topic (http://forum.winehq.org/viewtopic.php?t=9966)) but please, is there something wrong or incorrect?

Best regards!







More information about the wine-users mailing list