Page 1 of 1

How to create a new instance / custom db instance

Posted: Wed Jul 01, 2020 2:13 pm
by martin@rootjazz
Multiple versions of the software can be opened on the same machine, but each instance will need to run from it's own database. To do this:

FILE > NEW DB INSTANCE

Give the instance an instance_name(this name will be used to re-open the instance later). NOTE single word only no spaces


Additionally: Find the exe in the program files folder:
c:\program files (x86)\APP_NAME\

right click the exe
select CREATE SHORTCUT (this will probably put it on your desktop
Find the short cut and right click > PROPERTIES
In the target box you will see
c:\program files (x86)\APP_NAME\APP_NAME.exe

Change this to:
c:\program files (x86)\APP_NAME\APP_NAME.exe instance_name
WARNING instance_name must be one word
Click ok to save

Now when you double click this shortcut, the program will open in a new instance with a database specified by instance_name. This is the same instance that would load if you opened a new instance from within the app via:
FILE > NEW DB INSTANCE > instance_name


* where APP_NAME is the name of the app



When the instance opens, a new database folder is created:
%appdata%\rootjazz\APP_NAMEinstance_name



There is no limit to how many instances you can run on a single machine as set by us, but the upper limit is probably around 20 before the machine has resource issues


Regards,
Martin

Re: How to create a new instance / custom db instance

Posted: Thu Aug 17, 2023 12:37 pm
by martin@rootjazz
Image
Create the shortcut on desktop. If you create a shortcut in c:\program files the OS will put it on the desktop

Re: How to create a new instance / custom db instance

Posted: Thu Aug 17, 2023 12:41 pm
by martin@rootjazz
right click > properties

Image


Then in the target, set a space after the path to the exe, then enter the instance name
Image
"C:\Program Files (x86)\Twitterdub\Twitter.exe" instance_name

WARNING

instance name must be one word, if you want to use multiple words, you must enclose in "
"C:\Program Files (x86)\Twitterdub\Twitter.exe" "instance name"