probono
04-18-2003, 04:49 AM
I managed to get Kazaa lite to run on my system, simply by following the instructions from http://www.jbisbee.com/files/kazaa_howto.txt
http://www.image-hosting.net/images/messageboard/demo/kazaa.jpg
Now, I have started to write a script to automate this
# knx-kazaa 0.1
# downloads, installs and configures Kazaa lite (not pretty, but works...)
# make sure you have the neccessary licenses in order to use the .dlls
# by probono
# GPL
echo "Starting winesetup. Please click 2x 'Next' and then 'finish' in the following screens. The script will then continue."
winesetup
cd ~
wget ftp://ftp.freenet.de/pub/filepilot/windows/filesharing/kazaa_lite_202_english.exe
# move original dlls
cd ~/.wine/fake_windows/Windows/System
mv commctrl.dll commctrl.dll.orig
mv comctl32.dll comctl32.dll.orig
mv comdlg32.dll comdlg32.dll.orig
mv msvcrt.dll msvcrt.dll.orig
mv rasapi32.dll rasapi32.dll.orig
mv shdoclc.dll shdoclc.dll.orig
mv shdocvw.dll shdocvw.dll.orig
mv shlwapi.dll shlwapi.dll.orig
mv urlmon.dll urlmon.dll.orig
mv wininet.dll wininet.dll.orig
# Get required dlls to get KaZaA Lite to work
cd ~/.wine/fake_windows/Windows/System
wget http://www.drd.dyndns.org/softlib/win98se/commctrl.dll
wget http://www.drd.dyndns.org/softlib/win98se/comctl32.dll
wget http://www.drd.dyndns.org/softlib/win98se/comdlg32.dll
wget http://www.drd.dyndns.org/softlib/win98se/msvcrt.dll
wget http://www.drd.dyndns.org/softlib/win98se/rasapi32.dll
wget http://www.drd.dyndns.org/softlib/win98se/shdoclc.dll
wget http://www.drd.dyndns.org/softlib/win98se/shdocvw.dll
wget http://www.drd.dyndns.org/softlib/win98se/shlwapi.dll
wget http://www.drd.dyndns.org/softlib/win98se/urlmon.dll
wget http://www.drd.dyndns.org/softlib/win98se/wininet.dll
# edit wine config
cat >> ~/.wine/config <<EOF
[Version]
"Windows" = "win98"
[AppDefaults\\Kazaa.exe\\DllOverrides]
"*" = "builtin, native, so"
"commctrl" = "native"
"comctl32" = "builtin"
"shdoclc" = "native"
"shdocvw" = "native"
"shlwapi" = "native"
"comdlg32" = "native"
EOF
echo "Starting Kazaa Lite installation. Please click 7x 'Next' and then 'Install' and 'Finish' in the following screens."
wine kazaa_lite_202_english.exe
echo "Congratulations, you now can start Kazaa lite from the desktop icon!"
However, this crashes Wine when starting Kazaa. What am I doing wrong? As I said, everything works when I install it manually following the instructions from the link above.
http://www.image-hosting.net/images/messageboard/demo/kazaa.jpg
Now, I have started to write a script to automate this
# knx-kazaa 0.1
# downloads, installs and configures Kazaa lite (not pretty, but works...)
# make sure you have the neccessary licenses in order to use the .dlls
# by probono
# GPL
echo "Starting winesetup. Please click 2x 'Next' and then 'finish' in the following screens. The script will then continue."
winesetup
cd ~
wget ftp://ftp.freenet.de/pub/filepilot/windows/filesharing/kazaa_lite_202_english.exe
# move original dlls
cd ~/.wine/fake_windows/Windows/System
mv commctrl.dll commctrl.dll.orig
mv comctl32.dll comctl32.dll.orig
mv comdlg32.dll comdlg32.dll.orig
mv msvcrt.dll msvcrt.dll.orig
mv rasapi32.dll rasapi32.dll.orig
mv shdoclc.dll shdoclc.dll.orig
mv shdocvw.dll shdocvw.dll.orig
mv shlwapi.dll shlwapi.dll.orig
mv urlmon.dll urlmon.dll.orig
mv wininet.dll wininet.dll.orig
# Get required dlls to get KaZaA Lite to work
cd ~/.wine/fake_windows/Windows/System
wget http://www.drd.dyndns.org/softlib/win98se/commctrl.dll
wget http://www.drd.dyndns.org/softlib/win98se/comctl32.dll
wget http://www.drd.dyndns.org/softlib/win98se/comdlg32.dll
wget http://www.drd.dyndns.org/softlib/win98se/msvcrt.dll
wget http://www.drd.dyndns.org/softlib/win98se/rasapi32.dll
wget http://www.drd.dyndns.org/softlib/win98se/shdoclc.dll
wget http://www.drd.dyndns.org/softlib/win98se/shdocvw.dll
wget http://www.drd.dyndns.org/softlib/win98se/shlwapi.dll
wget http://www.drd.dyndns.org/softlib/win98se/urlmon.dll
wget http://www.drd.dyndns.org/softlib/win98se/wininet.dll
# edit wine config
cat >> ~/.wine/config <<EOF
[Version]
"Windows" = "win98"
[AppDefaults\\Kazaa.exe\\DllOverrides]
"*" = "builtin, native, so"
"commctrl" = "native"
"comctl32" = "builtin"
"shdoclc" = "native"
"shdocvw" = "native"
"shlwapi" = "native"
"comdlg32" = "native"
EOF
echo "Starting Kazaa Lite installation. Please click 7x 'Next' and then 'Install' and 'Finish' in the following screens."
wine kazaa_lite_202_english.exe
echo "Congratulations, you now can start Kazaa lite from the desktop icon!"
However, this crashes Wine when starting Kazaa. What am I doing wrong? As I said, everything works when I install it manually following the instructions from the link above.