Unofficial magicJack Forum

Unofficial magicJack Forum

Your Unofficial magicJack and magicJack Plus phone service information resource
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Stroths MagicJack Update Script v1.3a

 
Post new topic   Reply to topic    Unofficial magicJack Forum -> magicJack Tips, Tricks, and Hacks
View previous topic :: View next topic  
Author Message
stroths
Dan isn't smart enough to hire me


Joined: 02 Apr 2008
Posts: 470
Location: Dallas, TX

PostPosted: Tue Dec 30, 2008 11:40 am    Post subject: Stroths MagicJack Update Script v1.3a

Stroths MagicJack Update Script 1.3a

UPDATE: As of 1/5/09, I have discontinued updates in this thread. This application has been incorporated into to my MagicJack Utilities Suite. Any future versions off this application will be in the suite. - LINK

I felt bad taking over Trebuin's thread, so I created my own here.

**WARNING** I take no responsibility for anything this may do to your system. Use at your own risk and please make a backup before running.

Download
Stroths MagicJack Update Script v1.3a

Description
This script will check if there is an updated version of upgrade.exe on the MJ servers. If so, it will download it and run the update.

Instructions
1. Unzip the whole MJAutoUpdate folder to the appropriate directory. The MJAutoUpdate folder should be at the same level your mjusbsp folder is at. For example, if your MJ data is at C:\users\Default\AppData\Roaming\mjusbspsp, then this folder should be at C:\users\Default\AppData\Roaming\MJAutoUpdate. See the example below for more clarification.

Code:
 Volume in drive C is Vista
 Directory of C:\Users\Default\AppData\Roaming

12/29/2008  02:13 AM    <DIR>          .
12/29/2008  02:13 AM    <DIR>          ..
12/29/2008  12:34 AM    <DIR>          MJAutoUpdate
12/28/2008  11:26 PM    <DIR>          mjusbsp
12/28/2008  10:31 PM    <DIR>          mjusbspbak
               0 File(s)              0 bytes
               6 Dir(s)  30,466,351,104 bytes free


2. Modify the variables in the MJUpdate.ini to match your system's configuration. You can use any text editor to do this (i.e. notepad).

3. Once done, you can run one of the 3 MJupdate files (described below) as needed.

4. (Optional) - Create a shortcut to CurrentMJ_Version.exe and the appropriate MJupdate executable on your desktop. This will make it easier to check your version or do an update in the future.

5. (Optional) Setup a scheduled task to run the appropriate MJUpdate executable as needed. Task Scheduler should be in your Windows Control Panel if installed. If you do no have it installed, you can try a freeware alternative like Pycron which is what I use.

NOTE: A backup of your files is made prior to an upgrade in a folder called mjusbspbak. You can see it in the example on step 1 above.

File Descriptions
MJupdate.exe - Main app designed for those running their MagicJacks as a service.
MJupdate_ThinClient.exe - Designed for thin clients or those running EWF. Same as above, but includes a command at the end to commit the changes.
MJupdate_NonService.exe - Designed for those running their MJ's in native mode (not as a service).
CurrentMJ_Version.exe - Provides the version number and date stamp for your magicjack.exe
MJUpdate.ini - This is the configuration file that you MUST update with your system's settings.

Changelog
1.3a
- Fixed a bad path variable (typo) introduced into v1.3

1.3
-Fixed issue where MJ would not restart if running in nonservice mode
-Reorganized MJUpdate.ini for clarification

1.2
- Corrected issues encountered if run from a shortcut with working directory not set

1.1
- Added support for those not running their MJ in service mode

1.0
- Initial Release
- Thin Client Support
- Vista and XP Compatible
- MJUpdate and MJupdate_ThinClient will delete the cdloader from the registry startup

Credits
The initial idea came from Trebuin, so I tip my hat to him.


Last edited by stroths on Mon Jan 05, 2009 11:14 am; edited 5 times in total
Back to top
View user's profile Send private message
OG1502
magicJack Apprentice


Joined: 22 May 2008
Posts: 17

PostPosted: Tue Dec 30, 2008 3:46 pm    Post subject: Invalid Path1

I try to run the updater and I get an error message telling me that my Path1 in the .ini file is wrong but I'm pretty sure it's correct.

How it looks:


[MJServiceMode]
Path1 = C:\Users\Default\AppData\Roaming
Path2 = C:\Users\Omar\AppData\Roaming
MJService = magicJack

[MJNONServiceMode]
MJFlashDriveLetter = E
Path1 = C:\users\Default\AppData\Roaming

[ScriptVer]
scriptver = v1.3

/Path1 is the correct location of my mjusbsp folder, path2 has been changed with my user name but there isn't any folder affiliated with magicjack in there as I am running it as a service and thus it has been relocated to path1. The Service name is "magicJack" (with out quotation marks). The drive letter is J on my computer but I dont believe it's of any importance since I am running it as a service although I have tried running the program with that modification.

Any suggestions?
Back to top
View user's profile Send private message
stroths
Dan isn't smart enough to hire me


Joined: 02 Apr 2008
Posts: 470
Location: Dallas, TX

PostPosted: Tue Dec 30, 2008 8:17 pm    Post subject:

OG1502,

Make sure you are running the 1.3a version (latest). I had a bug in 1.3 with the paths that I fixed in 1.3a.

You only have to update the fields below since you are running in Service mode. The Path2 is required because if you run the update manually it will run as your user (Omar). The files end up being installed to your directory and the script will move them to Path1 at the end.

The only other thing I can think of is that your MJAutoUpdate folder is not in the correct location. It should be at C:\Users\Default\AppData\Roaming\MJAutoUpdate in your setup.

Let me know if any of this helps.


[MJServiceMode]
Path1 = C:\Users\Default\AppData\Roaming
Path2 = C:\Users\Omar\AppData\Roaming
MJService = magicJack
Back to top
View user's profile Send private message
OG1502
magicJack Apprentice


Joined: 22 May 2008
Posts: 17

PostPosted: Tue Dec 30, 2008 8:45 pm    Post subject: Path1 Error

Figured it out. I was running version 1.3 not 1.3a, weird thing is that I downloaded the program, through the link on the post, just a couple of minutes before I posted my problem. When did you update the link?

Anyway thanks, it seems to work.
Back to top
View user's profile Send private message
stroths
Dan isn't smart enough to hire me


Joined: 02 Apr 2008
Posts: 470
Location: Dallas, TX

PostPosted: Tue Dec 30, 2008 9:10 pm    Post subject: Re: Path1 Error

OG1502 wrote:
Figured it out. I was running version 1.3 not 1.3a, weird thing is that I downloaded the program, through the link on the post, just a couple of minutes before I posted my problem. When did you update the link?

Anyway thanks, it seems to work.


I'm glad that fixed it. I should have updated it somewhere between 12 and 12:30 CST.
Back to top
View user's profile Send private message
OG1502
magicJack Apprentice


Joined: 22 May 2008
Posts: 17

PostPosted: Wed Dec 31, 2008 2:24 am    Post subject: Path1 Error

Ah, I downloaded the file at 11:56 am CST. I see.
Back to top
View user's profile Send private message
stroths
Dan isn't smart enough to hire me


Joined: 02 Apr 2008
Posts: 470
Location: Dallas, TX

PostPosted: Mon Jan 05, 2009 4:29 am    Post subject:

UPDATE: As of 1/5/09, I have discontinued updates in this thread. This application has been incorporated into to my MagicJack Utilities Suite. Any future versions off this application will be in the suite. - LINK

Last edited by stroths on Mon Jan 05, 2009 11:15 am; edited 3 times in total
Back to top
View user's profile Send private message
mcbelisle
MagicJack Contributor


Joined: 16 Feb 2008
Posts: 56

PostPosted: Mon Jan 05, 2009 4:33 am    Post subject:

that link doesn't work. just points to the main board
Back to top
View user's profile Send private message
stroths
Dan isn't smart enough to hire me


Joined: 02 Apr 2008
Posts: 470
Location: Dallas, TX

PostPosted: Mon Jan 05, 2009 4:37 am    Post subject:

mcbelisle wrote:
that link doesn't work. just points to the main board


Works for me..hmm. I updated it with a different link that might work better for you. See if that works.
Back to top
View user's profile Send private message
Günter Höhn
magicJack Apprentice


Joined: 28 Feb 2008
Posts: 10
Location: Germany

PostPosted: Mon Jan 05, 2009 9:10 am    Post subject:

stroths wrote:
UPDATE: As of 1/5/09, I have discontinued updates in this thread. All work has been moved to my MagicJack Utilities Suite - LINK

Mr. Stroths,

Your links do not work because they are missing the www in front of the magicjacksupport.

Change your link to www.phoneservicesupport.com/stroths-mj-utilities-suite-sip-grabber-upgrader-and-more-t4230.html

and people will be able to view and use your extremely creative tool. The same logic needs to be applied to your signature, for those links to work as well.

Your humble servant,

Günter
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Unofficial magicJack Forum -> magicJack Tips, Tricks, and Hacks All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB Ultra Turbo Extended Edition Live © 2001-9999, phpBB Group
magicJack and magicJack Plus are trademarks of magicJack LLP. This website is in no way affiliated, endorsed, or sponsored by magicJack LLP, and is an unofficial forum for consumers to openly communicate regarding their experiences with the magicJack products.