Normally gmStudio is started from an Icon, or a gmProj file and the OS finds the executable and starts the process. gmStudio also needs to know the folder where the running executable is located so it can find system configuration files. It can be difficult to find this location at runtime, so the folder location is stored in the registry. However, in special cases, a users might want to run a specific version of gmStudio rather than the last one installed and in that case, the location of the system configuration files can be determined by the Application.StartupPath. The steps for running a specific version of gmStudio other than the installed version are as follows:
1) Select the desired MSI
2) Extract to location using msiexec /a; for example:
msiexec /a gmStudioSetup.msi /qb TARGETDIR=c:\temp\gmStudio
3) In gmStudio.cfg, edit install folder to the location where you unpacked the files
"%AppExeFolder% -> install
4) Copy license file to gmStudio.exe location
4) run gmStudio using /CFG option on the command-line
c:\temp\gmStudio\gmStudio.exe /CFG=c:\temp\gmStudio\gmStudio.cfg