First-Time and Manual Installation of Thor

 

Note:  Starting with Thor Version 1.1, updates to Thor can be obtained by using One-Click Update of ThorThis page applies to the initial installation of Thor or should it happen that the One-Click Update is not working.

Choosing an installation folder

Thor must be installed in a permanent folder; it creates some folders and tables which must always be available. It is suggested that it be installed in a folder that you regularly back up.

There are two different strategies for selecting an installation folder for Thor:
  1. Install it in a common folder (such as in your path), so that Thor.App can be easily accessed
  2. Install it in its own separate folder, and then use RunThor.PRG (see below) to access Thor.App 

 

Click here to download the current version of Thor  

 

Installing Thor

After you have downloaded the Zip file into its installation folder, do the following:

     Clear All
     Do Thor.APP

This will
  • create a folder named Thor in the installation folder
  • create some sub-folders and files in that folder
  • update the VFP system menu (by adding a menu pad for Thor)
  • run "Check for Updates" so that you it can download and install PEM Editor and The Thor Repository, which are necessary components for Thor
  • and open the Thor form.

Note the installation does not affect VFP in any other way (it does not SET any variables, modify foxcode, etc.) and may safely be repeated as many times as desired.

Last edited Sep 9, 2012 at 10:56 PM by JimRNelson, version 14

Comments

Goofus828 Apr 26, 2012 at 10:02 PM 
Hi,
When I try to run Thor.app it crashes here in thor_proc_extractfilesfromzip.prg, line 10.
If UnzipOpen(tcSource).

The VFPCompression.fll does not like variables to be passed. I paused the code and in the command box typed UnZipOpen("C:\temp\apps\thor...........zip") and that worked.

Any ideas?

JimRNelson Jul 10, 2011 at 5:50 PM 
RE: problems with SET EXACT ON .... I will investigate. This should not be that hard to correct in the next update. Thanks for reporting it / Jim

kopavel Jul 10, 2011 at 5:06 PM 
It seems to me, that Thor is very sensitive for the SET EXACT setting. When running with SET EXACT OFF, all is running fine. But when running with SET EXACT ON (my usual setting), most of the tools using the construction "loTools = ExecScript(_Screen.cThorDispatcher, 'class= tools from pemeditor')" etc. don't work, as the loTools is not an object. The problem lays in the cThorDispatcher script, where the comparison "Case lcLower = [class=]" does not work with SET EXACT ON. Any suggestion ?

JimRNelson Jul 5, 2011 at 11:57 PM 
No, that is not a dumb question at all.

Since Thor is not yet in Production, you should indeed re-install Thor each time there is a new release on VFPx.

Note that the installation does NOT make any modifications to anything other than the tables and other files in its own folder, and then only if it is necessary.

So it can be done safely with each new release.

edyshor Jul 4, 2011 at 11:41 PM 
Maybe this is a dumb question, but since i already have Thor installed and setup to run with vfp, could you include here some clarification about performing an upgrade ?! would a simple replacement of thor.app will suffice or after the replacement i'd have to launch thor.app from my ide as in 'do thor.app' (without the 'Run' parameter)
Are there any changes done in the installation setup to vfp SET's / variables / foxcode.dbf ?!