installing

I’m following the installation guide but don’t know what it means in regards to QHOME? Where can I find this and what do I do with it?

Hello Ryan,

It doesn’t point to a specific location. So if you put your q executables under C:\q then you have to set your QHOME path environment variable as C:\q, if anywhere else just set the QHOME environment variable as the corresponding directory path.

Though the convention is to set it as C:\q.

Regards.

Hi Kadir,
Thanks for replying!

How do i set my QHOME environment variable as C:\q?

Regards

Hi  Ryan,
Are you on a Windows machine?

Click the Windows  Icon bottom left, type env, then follow the clicks in the attached screenshot.

Cheers,

Gary

Hi Gary, 
thanks for replying!

I have followed these steps but whenever I open command and type “q” it says it is not recognised, would you happen to know why?

Thanks

Well it depends on your OS but there are plenty of resources for each OS, for example: https://superuser.com/questions/949560/how-do-i-set-system-environment-variables-in-windows-10

Hope it helps!

Hi Ryan,

If you are on Windows, this indicates that HOME is not set. 

My CMD prompt starts at 

C:\Users\GWM2.

I (GWM2) have admin rights on my machine

The PATH from C:\ to q.exe is in my case 

C:\q\w64\q.exe

So before HOME is set to C:\q  I had to 

Get back to C:\ by

C:\Users\GWM2....

C:\C:\q\w64\q               to run q

If HOME is set that is not required.

From Windows START just type env anywhere, and you will see bottom right of the box  “Environment settings”

Then QHOME you need to see see in User variables  

NEW, Variable QHOME and VALUE C:\q

And set Home in System Variables

HOME C:\q

Under User variables for, in my case GWM2

I also added the following to the PATH file

..;..;C:\q\w64;..";C:\q\w64;

but not sure if that was a material change or not. 

If required 

in System Variables

Highlight (Leftclick)

PATH, Edit, then edit text

add your route from the CMD prompt to the q.exe directory

Cheers,

Gary

Hi Gary,
Where am I adding this to? 

..;..;C:\q\w64;..";C:\q\w64;
Regards

?Hi Ryan,

Same windows Start, type ENV,

Environment variables at lower right

then next box

System Variables

Highlight (Leftclick)

PATH, Edit,

Next box

then edit text

add your route from the CMD prompt to the q.exe directory

?see the attached screenshots ?


Does it all work now? I guess these real men don’t do InstallShield. LoL

Developers who want to release a Windows service that users can install and uninstall should use InstallShield. For more information, see Create an installer package (Windows client).

Na! Too easy! Keeps out the riffaff.

LoL


Gary