My phone Explorer Linux Installation script!

For user who dont speak german please use this part of my forum
s0l1dsnak3123
Beiträge: 30
Registriert: So 23. Mär 2008, 17:55

My phone Explorer Linux Installation script!

Beitrag von s0l1dsnak3123 »

If you run Linux, and tried to follow the Guide, but you couldn't get it to work, then this script might be the thing for you ;)
  • 1] To ensure that this script works please make sure you have not already tried to install MPE (ie: delete all the files, remove all the registry keys). [edit] You may be able to use the "uninstall" feature of version 1.8 to get rid of anything you have left behind.

    2] Make sure you have an internet connection when running this script.
The script should (hopefully :P ) do the rest.
Please give me some feedback if you like it, or if you can't get it to work, and I'll try to help :D

NB: Please note that as I do not have a bluetooth dongle, I cannot automatically configure bluetooth in my script. If you have an old dongle you don't want, don't hesitate in sending it my way ;). Alternatively, if you can code in shell script, you can send me the code and i'll add it to my script :D

I hope you all enjoy my script :D

s0l1dsnak3123.
Bild
Zuletzt geändert von s0l1dsnak3123 am So 1. Jun 2008, 22:50, insgesamt 16-mal geändert.
FJ
Site Admin
Beiträge: 32107
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol
Kontaktdaten:

Beitrag von FJ »

I cannot test it cause i don't have a Linux-Version, but if this works really i will include your script to the Wine-Version of MPE.
So i'm also waiting for tests...
weinbi
Moderator
Beiträge: 929
Registriert: Mo 11. Jun 2007, 11:25
Wohnort: Kärnten
Kontaktdaten:

Beitrag von weinbi »

Hi!

As far as I'm working in Win I couldn't test it now. But I looked at the script and it seems to be good work.
But what are you doing with the reg-file? I can't recognize this...

Thanks a lot!
English FAQ || Deutsche FAQ
----------------------------------
HTC Desire
s0l1dsnak3123
Beiträge: 30
Registriert: So 23. Mär 2008, 17:55

Beitrag von s0l1dsnak3123 »

weinbi hat geschrieben:Hi!

As far as I'm working in Win I couldn't test it now. But I looked at the script and it seems to be good work.
But what are you doing with the reg-file? I can't recognize this...

Thanks a lot!
Hey there :D

All the regfile does is automatically make MPE load up in english ;)

the regfile is here if you are interested: http://revision.raelrode.co.uk/files/MP ... PE_reg.reg
Zuletzt geändert von s0l1dsnak3123 am Mo 31. Mär 2008, 17:03, insgesamt 1-mal geändert.
weinbi
Moderator
Beiträge: 929
Registriert: Mo 11. Jun 2007, 11:25
Wohnort: Kärnten
Kontaktdaten:

Beitrag von weinbi »

Okay!
Just wanted to know... :wink:

Will test it later...
English FAQ || Deutsche FAQ
----------------------------------
HTC Desire
s0l1dsnak3123
Beiträge: 30
Registriert: So 23. Mär 2008, 17:55

Beitrag von s0l1dsnak3123 »

New version uploaded.
  • Cleaned up the code to make it easier to understand and smaller physically. (its almost half the size it was :P)
    The script now cleans up after its self once it's finished installing MPE.
    The script is now licenced under the GPL.
    The script now has command args to download the GPL and show help.
Download here: myphoneinstaller1.5.sh
Okay!
Just wanted to know... ;)

Will test it later...
It's quite alright , thats what im here for :D
Ulyssess
Beiträge: 1
Registriert: Mo 31. Mär 2008, 11:16

Beitrag von Ulyssess »

s0l1dsnak3123, the link from your last message seems to be broken... Can you please have a look at it?

Thanks...
s0l1dsnak3123
Beiträge: 30
Registriert: So 23. Mär 2008, 17:55

Beitrag von s0l1dsnak3123 »

Ulyssess hat geschrieben:s0l1dsnak3123, the link from your last message seems to be broken... Can you please have a look at it?

Thanks...
sorry about that... fixed :)
weinbi
Moderator
Beiträge: 929
Registriert: Mo 11. Jun 2007, 11:25
Wohnort: Kärnten
Kontaktdaten:

Beitrag von weinbi »

Hi!

Sorry, it took some time but now i just tested your script...
Altough it seems to be good (as I said before), it doesn't work for me.

Code: Alles auswählen

Runninng My Phone Explorer...
wine: cannot find '/home/vampy/.wine/drive_c/Program Files/MyPhoneExplorer/MyPhoneExplorer.exe'
I figured it out: The path is wrong cause I have a german-version: It's not 'Program Files', it's 'Programme'.
Would it be possible to handle the difference? - I will change the script to fit my needs.

However, your script shows that all is good and it overwrites all error-messages...
English FAQ || Deutsche FAQ
----------------------------------
HTC Desire
weinbi
Moderator
Beiträge: 929
Registriert: Mo 11. Jun 2007, 11:25
Wohnort: Kärnten
Kontaktdaten:

Beitrag von weinbi »

I changed all paths from 'program files' to 'Programme':

Interesting:

Code: Alles auswählen

myphoneinstaller1.5.sh: line 237: Successfully: command not found
myphoneinstaller1.5.sh: line 238: Successfully: command not found
myphoneinstaller1.5.sh: line 239: Successfully: command not found
myphoneinstaller1.5.sh: line 240: Successfully: command not found
myphoneinstaller1.5.sh: line 241: Successfully: command not found
myphoneinstaller1.5.sh: line 242: Successfully: command not found
Successfully although a command was not found!? Hmm...

However, MPE started.
And by using my prepared com2 (for bluetooth) it worked fine.

Your .reg-file for English as default language didn't work at all. It's German. For me it's good but I wanted to say it cause it doesn't work as expected.
English FAQ || Deutsche FAQ
----------------------------------
HTC Desire
s0l1dsnak3123
Beiträge: 30
Registriert: So 23. Mär 2008, 17:55

Beitrag von s0l1dsnak3123 »

I figured it out: The path is wrong cause I have a german-version: It's not 'Program Files', it's 'Programme'.
Thanks for that, I am currently working on a way to auto-detect your language (if its possible, that is :P).

Code: Alles auswählen

myphoneinstaller1.5.sh: line 237: Successfully: command not found
myphoneinstaller1.5.sh: line 238: Successfully: command not found
myphoneinstaller1.5.sh: line 239: Successfully: command not found
myphoneinstaller1.5.sh: line 240: Successfully: command not found
myphoneinstaller1.5.sh: line 241: Successfully: command not found
myphoneinstaller1.5.sh: line 242: Successfully: command not found 
An annoying yet trivial bug. What it is spitting out is actually the output of the command. "Successfully" is good. Anything else is bad.
Your .reg-file for English as default language didn't work at all. It's German. For me it's good but I wanted to say it cause it doesn't work as expected.
hmm... that is annoying. I think I'll have to talk to FJ then, to make sure I have the right key.

Thanks for the info - i'll get to work straight away! :lol:
FJ
Site Admin
Beiträge: 32107
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol
Kontaktdaten:

Beitrag von FJ »

The key in the regfile is OK
Gast

Beitrag von Gast »

Thanks FJ
s0l1dsnak3123
Beiträge: 30
Registriert: So 23. Mär 2008, 17:55

Beitrag von s0l1dsnak3123 »

1.7 is out!
I changed all paths from 'program files' to 'Programme':
Now my script automatically checks for the German and English directories, and will ask the user for the path otherwise.
myphoneinstaller1.5.sh: line 237: Successfully: command not found
myphoneinstaller1.5.sh: line 238: Successfully: command not found
myphoneinstaller1.5.sh: line 239: Successfully: command not found
myphoneinstaller1.5.sh: line 240: Successfully: command not found
myphoneinstaller1.5.sh: line 241: Successfully: command not found
myphoneinstaller1.5.sh: line 242: Successfully: command not found


Successfully although a command was not found!? Hmm...
I need someone to check if I have fixed this...
Your .reg-file for English as default language didn't work at all. It's German. For me it's good but I wanted to say it cause it doesn't work as expected.
Fixed, this was due to an old URL in the script.
weinbi
Moderator
Beiträge: 929
Registriert: Mo 11. Jun 2007, 11:25
Wohnort: Kärnten
Kontaktdaten:

Beitrag von weinbi »

Sorry, but it does not work for me.
At first, here's the output:

Code: Alles auswählen

-= s0l1dsnak3123's my phone explorer auto-installer :D =-
Directory ~/myphoneexplorer not found, Making directory
Wine is installed. Good!
MyPhoneInstaller has detected that you are running a non-english version of wine
Please type in the equivilent "program files" directory in ~/.wine/drive_c/

                Trying German language...
                ( ~/.wine/drive_c/Programme)
                Wine is configured in German!
vampy@Musicmaker:~/Desktop>
So I tried to figure the problem out... but I can't!

Code: Alles auswählen

Wine is configured in German!
is the last statement it gives to me, so until row number 153 it works fine, "Programme" is also correct, no typing mistake.

Hey, just a minute: on line 177 - after checking the path and so you write I can be completely wrong now but I think here you leave the script!? - I'm going to test...
Zuletzt geändert von weinbi am Do 10. Apr 2008, 01:00, insgesamt 1-mal geändert.
English FAQ || Deutsche FAQ
----------------------------------
HTC Desire
weinbi
Moderator
Beiträge: 929
Registriert: Mo 11. Jun 2007, 11:25
Wohnort: Kärnten
Kontaktdaten:

Beitrag von weinbi »

Yes - that's the problem!
So please delete the "exit"-command in line 177!

Now I get another error:

Code: Alles auswählen

Registering other DLLs...
/home/vampy/Desktop/myphoneinstaller1.7.sh: line 277: /home/vampy/.wine/drive_c/Programme/MyPhoneExplorer/DLL/wine regsvr32 ~/.wine/drive_c/Programme/MyPhoneExplorer/DLL/ccrpDtp6.ocx: Datei oder Verzeichnis nicht gefunden
/home/vampy/Desktop/myphoneinstaller1.7.sh: line 277: exec: /home/vampy/.wine/drive_c/Programme/MyPhoneExplorer/DLL/wine regsvr32 ~/.wine/drive_c/Programme/MyPhoneExplorer/DLL/ccrpDtp6.ocx: cannot execute: Datei oder Verzeichnis nicht gefunden
And then it stops! Altough the path is correct and the file exists it says the opposite...
Sorry, but I couldn't figure it out (now) what the problem is. Do you have any ideas?
English FAQ || Deutsche FAQ
----------------------------------
HTC Desire
guest

Beitrag von guest »

Hi, urls from first post return "Error 404". Where can i get install script?
weinbi
Moderator
Beiträge: 929
Registriert: Mo 11. Jun 2007, 11:25
Wohnort: Kärnten
Kontaktdaten:

Beitrag von weinbi »

It seems that s0l1dsnak3123 (author of it) deleted it from the server...
Although, i have the scripts at home - I can send them to you if you want.

But if we can solve the few problems there are in the script, hopefully FJ will provide them... :?: :wink:
English FAQ || Deutsche FAQ
----------------------------------
HTC Desire
s0l1dsnak3123
Beiträge: 30
Registriert: So 23. Mär 2008, 17:55

Beitrag von s0l1dsnak3123 »

sorry about this guys... server problems :(

I'll sort it out shortly...
FJ
Site Admin
Beiträge: 32107
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol
Kontaktdaten:

Beitrag von FJ »

I will put the script on my server and in the Linux-FAQ if you tell me that you think its stable and good ;-)
Antworten