This project is read-only.

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 Oct 7, 2015 at 1:55 PM by JimRNelson, version 15

Comments

JeffZanin Oct 19, 2015 at 12:14 AM 
Using Check for updates to installing VFP9SP2HelpFile get error dialog "RUN|! command failed" because file downloaded (dv_foxhelp_vfp9sp2_v1.07.exe) does not match RUN command (Run /N "C:\DOWNLOADS\VFPX\THOR\Thor\Tools\Components\VFP9SP2HelpFile\dv_foxhelp_vfp9sp2_b6.EXE").

Running the downloaded EXE manually provides the new file but it is not indicated as being installed in the Thor Update Status dialog.

JimRNelson Mar 21, 2014 at 2:06 AM 
I am astonished that there are any problems with paths when downloading or using Thor. It does not use paths or set paths.

There is an improvement to the installation instructions for Thor; after downloading and upzipping, just double-click on Thor.APP. That should start the installation process.

If you have any problem, I think it best if you simply report (as best you can) everything about the problem, rather than trying to fix it yourself. Show as much of the debugger information as possible, for instance. (You can send this directly to me -- JimRNelson@GMail.Com)

(I wonder if part of the problem could be the folder you are choosing to install it in)

As for PEM Editor, it is only available as part of Thor. This has been so for a number of years, actually.

beaver0kun Mar 20, 2014 at 11:32 PM 
A lot of bugs with paths. placed thor.app in my VFP9 folder, started. It began to dowonload different files and than http://imgdisk.ru/images/5LUk.png. I've tried to fixe it by changing the variables value "on the fly" with suspend mode. I had to do it many times, as it always tried to use wrong file/folder path, but, finally, I've done and it was installed. However, when I tried to run the plugin manager or close Thor window I've got an errors also. And all was about paths also...
BTW, where can I download PEM Editro 7 standalone?

Goofus828 Apr 26, 2012 at 11: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 6: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 6: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 6, 2011 at 12:57 AM 
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 5, 2011 at 12:41 AM 
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 ?!