Results 1 to 10 of 10

Thread: [SCRIPT] Kazaa Lite Installer (Wine)

  1. #1
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159

    [SCRIPT] Kazaa Lite Installer (Wine)

    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



    Now, I have started to write a script to automate this

    Code:
    # 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/w...02_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.

  2. #2
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    22
    The only thing i can think of, is this:

    Code:
    # 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
    this piece of the script gets excecuted every time you run it and it doesn't look at what's allready in the config file.

    I think that config file is messed up and causes wine to crash

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Quote Originally Posted by Wirf
    this piece of the script gets excecuted every time you run it
    You run the script only once to install the thing. After you have installed it, you dont't have to run the script again, you should then be able to use the Kazaa desktop icon. (As I said, when I do everything by hand as in the instructions, Kazaa runs fine!)

  4. #4
    Member registered user
    Join Date
    Apr 2003
    Posts
    30

    How does this work?

    Are you guys remastering the image? Or do you install on the HD? Are you simply running persistent homes? How do you install new software under Knoppix, execially kazaa.

    thanks

    Cy

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    I run this from CD, with USB stick

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    You might try this site: http://frankscorner.org/

    It's a veritable treasure trove of help with wine. There is a forum as well. There is a link on the front page that gives some advice on how to get kazaa working under wine.

  7. #7
    Junior Member
    Join Date
    Jul 2003
    Posts
    1
    I followed the instruction but I got this errors message when I run the wine:

    .......
    .......
    Font metrics: 98.8% done
    Font metrics: 98.9% done
    Font metrics: 99.0% done
    X Error of failed request: BadValue (integer parameter out of range for operation)
    Major opcode of failed request: 45 (X_OpenFont)
    Value in failed request: 0x2000eac
    Serial number of failed request: 11428
    Current serial number in output stream: 11429
    Wine failed with return code 1


    Does anyone could know what the problem?

    Thank you

  8. #8
    Junior Member
    Join Date
    Aug 2003
    Posts
    1
    well I just came across this forum by search with google for kazaa to work with wine when I read your message and as I faced not long time ago the same problem and asked the same question (except it was the knoppix french forum..sometimes it can be informative!!) I got a post few minutes after and I cannot tell you how much happy i was when i discovered it was working so great after this little trick!

    All you've got to do is to copy from your windows font directory all items to your fake windows font directory and run wine once again.
    Don't ask me why as I got gobsmacked why a hell version 3.1 on my hdd was working well while in fact 3.2 needs those fonts nevertheless that's all you've got to do.

  9. #9
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Sorry I didn't see this before, but szp is right. I had the font problem happen before with an app that run under WINE. I discovered on my own that copying Windows fonts into .wine/fake_windows/Windows/Fonts/ solves the problem. This must be a recent bug, because the app used to work fine.

  10. #10
    Member registered user
    Join Date
    Sep 2003
    Posts
    41
    I succeeded using the new instructions at frankscorner for installing kazaa lite 2.4.2. The installed program finds and downloads files; I use xmms to play them back.

    I'm running Knoppix from the cd with a usb memory stick.

Similar Threads

  1. Replies: 11
    Last Post: 02-20-2005, 11:10 AM
  2. Wrong MBR for Lilo when using koppix 3.7 HD installer script
    By devellino in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 12-29-2004, 03:16 AM
  3. Script to run Dreamweaver in Wine?
    By probono in forum Ideas
    Replies: 0
    Last Post: 04-19-2003, 12:32 AM
  4. kazaA
    By super2man in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 01-03-2003, 01:23 AM
  5. Wine X (CVS) Script for HD Install
    By BionicToothpick in forum The Lounge
    Replies: 0
    Last Post: 12-11-2002, 06:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$6.40



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$29.99



KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$8.00



Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture

Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA

$19.99



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix 3.4 Linux installation CD picture

Knoppix 3.4 Linux installation CD

$10.00



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30