Portable Tasha, multiple user profiles within one Tasha
If you need to create a portable Tasha or assign multiple user profiles to a single Tasha installation, do the following:
Portable Tasha (1 user profile - optimal for demos for traders etc.)
- Install Tasha as usual
- Run it, enter your login details and possibly other details (database access, HERE Api...)
- In AppData\Local\SolverTech_s.r.o\Tasha.exe_Url_somehash, find the corresponding "user.config" (if there are multiple Tasha.exe_Url... folders in Solvertech_s.r.o, look at the creation date)
- Copy it to the Tasha folder (safely to the Tasha root)
- Rename it to Tasha.config
- Run Tasha and test if it works.
Multiple user profiles in one Tasha installation
- Install Tasha as usual
- Run Tasha with the parameter --SettingsFile "uzivatel1.config" (so something like tasha.exe --SettingsFile "uzivatel1.config" - you can replace "uzivatel1.config" with any other name except Tasha.config, don't use diacritics)
- Enter login credentials and possibly other information (database access, HERE Api, path to layouts, plugins, etc....)
- Close Tasha
- Repeat steps 2 - 4 until you have created all required profiles
- Create as many .bat files as you have profiles, in each .bat reference the corresponding .config (tasha.exe --SettingsFile "uzivatel1.config") and pull the .bat files to the user's desktop (possibly edit the names/icons...) OR
- Create a .bat file for the user to select a profile (see below) and place it on the desktop
Example of a .bat file for selecting between two users:
1 @echo off
2 CHOICE /c 12u /m "Vyber uzivatele1 nebo uzivatele2 nebo ukonci spoustení"
3 SET vyber=%ERRORLEVEL%
4 IF %vyber% EQU 1 tasha.exe --SettingsFile "uzivatel1.config"
5 IF %vyber% EQU 2 tasha.exe --SettingsFile "uzivatel2.config"
6 IF %vyber% EQU 3 exit
/c - shortcuts for options (which keys .bat will respond to, by default it is not case sensitive)
/m - prompt to the user, message to be displayed
IF %select% EQU 3 exit - if option 3 was selected (i.e. the "u" key was pressed), execute the "exit" command