Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline mkraska  
#1 Posted : 06 October 2014 13:30:38(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,987
Germany

Was thanked: 1124 time(s) in 721 post(s)
When setting up a portable distribution with pre-installed plugins and handbook, then the link to the handbook is stored in the config file with absolute path. This is not portable, as the drive letter might change for an installation on mobile storage devices.

One can, however, edit the config file and just leave the relative path wrt. installation directory.
This works as long as the user does not switch the current directory after program startup.

Currently, in such situations, I have to recommend the students to run a separate pristine SMath instance and use the handbook there.

The question is, how can the path possibly refer to the installation directory (as found with SettingsDirectory() by Davide)?
Should not be too complicated as the extension manager finds the handbook anyways (after a useless error message).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.