I have created a little script for the purposes of keeping your SEOW Mission Planners up to date without the need for downloading ~600Mb releases each time.
For users that are using the initial release MP AutoUpdater, it is recommended that you uninstall "CVSNT" from your PC and let v1.1 install the updated version of CVSNT.
Any future questions regarding this feature should be directed to me rather than 4Shades.
At the end of the install process, you should have a shortcut on your desktop which will automatically update your Mission Planner (MP) to the latest public release. The Updater will check each file & folder that is in your 'MP4public' directory and compare it with the latest official release on the SourceForge Repository.
Pre-Installation:
Navigate to your current Mission Planner directory
Modify the following files to your server's configuration:
MP-Connection.php
MP-Configuration.php
If you have multiple sectors defined in your Mission Planner and would like them re-instated in the updated MP, you need to simply open the MP-Connection.php file that you backed up prior to running setup and enter each sector's connection string into the "Databases" area of the MP.
v1.1 Changelog wrote:
Found & Included an updated version of CVSNT
Changed the way the installation process occurs
Added 'extra smartness' to the 'create.vbs' script (;))
Changed cvs command from "checkout" to "update"
Added in ignore commands for
MP-Connection.php
MP-Configuration.php
Last edited by No457_Squog on Fri 02 Dec 2011 10:28 pm, edited 7 times in total.
Great Squog! It seems like UltraPack update function, isn't it? e.g. I guess if Shades add a new MP sector it will be automatically added to our MP folder?
PA-Dore wrote:Great Squog! It seems like UltraPack update function, isn't it? e.g. I guess if Shades add a new MP sector it will be automatically added to our MP folder?
Not exactly - it uses the "CVS Repository" which is already embedded into the SEOW Development methodology
Correct
By-the-way JP - did you get an e-mail from me a little while back?
I tried it on a old MP4 folder, (computer XP) it works very well Some questions:
- Does it work well with XP, Vista or W7?
- What about CVSNT? Have we to stop it after updating?
- What happens when we have different releases of MP4 (4.671 e.g. or oldiest?)
PA-Dore wrote:Some questions:
- Does it work well with XP, Vista or W7?
- What about CVSNT? Have we to stop it after updating?
- What happens when we have different releases of MP4 (4.671 e.g. or oldiest?)
My testing was done almost exclusively on a Windows Home Server computer, and external beta testing was done on a machine running Windows XP. There shouldn't be any problem with Vista/7, but I do recommend running the installer "As Administrator".
After the updating process is complete, the black box should disappear. This means that CVSNT has closed.
No matter what version of the MP you have installed, it will update it to whatever is on the CVS repository (latest public stable version).
--> Mirko, Squog: It seems that the release included in this AutoUpdater is the new one? (Mission Planner v.4.706)
I ran it, it works well until the intel.php windows, then I have errors: Trying to get property of non-object in C:\....\MP4\Scripts\MP-SQL.php on line ....
.... Fatal error: Call to a member function Close() on a non-object...
PA-Dore wrote:I ran it, it works well until the intel.php windows, then I have errors: Trying to get property of non-object in C:\....\MP4\Scripts\MP-SQL.php on line ....
.... Fatal error: Call to a member function Close() on a non-object...
No457_Squog wrote:Special Note:
If you choose to use the AutoUpdater, your MP will not work until SEDB32F has been released/installed.