Making a Portable Installation/de: Difference between revisions

From RawPedia
Jump to navigation Jump to search
(page added)
 
m (translation completed)
Line 1: Line 1:
Todo-List / State:
Todo-List / State:


* Translation: open
* Translation: completed
* Content completely cleared: open
* Content completely cleared: yes
* Expression and didactics checked: open
* Expression and didactics checked: open
* Spelling checked: open
* Spelling checked: open
Line 11: Line 11:
= Eine portable Installation erstellen =
= Eine portable Installation erstellen =


RawTherapee and the cache folder can be stored "self-contained" on a USB flash drive or any other mass-storage device.
RawTherapee und der Cache-Ordner können in sich geschlossen auf einem USB-Medium oder einem beliebigen anderen Massenspeichergerät gespeichert werden.  


== For Windows ==
== For Windows ==
Get the latest build of RawTherapee. Since we want it portable, we don't want the installer, just the bare, zipped program. If the latest version on our website is in simple zipped form without an installer, you can skip this step. However, if it is an installer, you need to first extract the RawTherapee files.
* If it is an Inno Setup installer (.exe extension, all recent Windows installers are Inno Setup ones at the time of writing, summer 2014), get [http://innounp.sourceforge.net/ innounp] or [http://constexpr.org/innoextract/ innoextract] to unpack it.
* If it is an MSI installer (no recent Windows builds use this at the time of writing), fire up a command prompt and type:
*: <pre>msiexec /a '''RawTherapee.msi''' TARGETDIR="'''C:\TargetDir'''" /qb</pre>
*: Replace the name of the MSI installer and the target directory as appropriate. Spaces in the TargetDir path are allowed, as the path is enclosed in quotes.


Let's assume that you've unzipped your archive into '''E:\RawTherapee''', where '''E:\''' is the drive letter of your USB flash drive. Now open the '''E:\RawTherapee\options''' file, and set the '''MultiUser''' option to '''false'''. That way, the cache directory will be located in a subdirectory of the installation path.
Nimm die neueste Version von RawTherapee. Weil wir eine portable Installation haben wollen benötigen wir nicht den Installer sondern nur das reine, gezippte Programm. Wenn die neuste Version auf unserer Webseite ohne Installer, in einfacher gezippter Form vorliegen sollte, dann kannst Du diesen Schritt übergehen (Stand 03/2017: das ist nicht der Fall, ein Installer wird verwendet). Wenn der Installer aber enthalten ist, musst du zuerst die RawTherapee-Files extrahieren:


== For Linux ==
* Wenn es sich um einen Inno-Setup-Installer handelt, dann ist die Dateierweiterung des Installationsprogramms ''.exe'' ('''Stand 03/2017'''). Lade in so einem Fall [http://innounp.sourceforge.net/ innounp] oder [http://constexpr.org/innoextract/ innoextract] herunter und entpacke damit das Installationsprogramm.
Getting RawTherapee to run off a portable medium such as a USB flash drive on various Linux systems is not straightforward due to the nature of Linux systems. While the Windows version of RawTherapee comes bundled with all required libraries to run on any Windows version, Linux distributions differ significantly from each other and as a result a version of RawTherapee built for one distribution is unlikely to run under a different distribution. Though it's unlikely that you can have a portable binary that runs from a USB stick on any distribution, what you can do is keep your configuration files portable, and then install RawTherapee on your target machine using that distribution's package manager, as builds of RawTherapee are available for most distributions. You could also put it on a live USB image, if you're ambihaxtrous :]


In order to backup your configuration you will want to copy RawTherapee's ''config'' folder onto your USB stick. Specifically, you want the "''options''" file, your custom "''camconst.json''" if you made one, and any custom PP3, ICC, DCP and LCP profiles. The [[File Paths]] article describes where to find these.
* Falls es sich aber um einen MSI-Installer handelt (das ist mit Stand 03/2017 für die Windows-Installationen nicht der Fall, könnte sich aber zukünftig ändern), dann verwende das Kommandozeilenprogramm ''msiexec'':
*: <pre>msiexec /a RawTherapee.msi TARGETDIR="C:\ZielVerzeichnis" /qb</pre>
*: Ersetze dabei den Namen des MSI-Installers (hier also das ''RawTherapee.msi'') mit dem aktuell gültigen Namen und ersetze auch das Zielverzeichnis (hier ''C:\ZielVerzeichnis'') mit dem von dir gewünschten Verzeichnis.
 
 
Nehmen wir an, dass du das entzippte Programm im Verzeichnis '''E:\RawTherapee''' gespeicht hast ('''E:\''' sei der Laufwerksbuchstabe z.B. eines USB-Mediums). Dann öffne das File '''E:\RawTherapee\options''' in einem Editor und setze die Option '''MultiUser''' auf '''false'''. Auf diese Art wird der Cache-Ordner auf einen Sub-Ordner des Installationsordners gestellt.
 
== Für Linux ==
 
Im Gegensatz zu Windows, wo alle benötigten Bibliotheken im mitgelieferten Programm enthalten sind, ist eine portable Variante auf Grund der Eigenheiten von Linux dort sehr schrierig zu erstellen. RawTherapee wird für die einzelnen Linux-Distributionen separat gepackt und ist über die Abhängigkeiten zu Bibliotheken der Distribution sehr eng mit einer solchen Distribution verknüpft. Es ist unwahrscheinlich, dass RawTherapee auf einer Distribution als portable eingerichtet, auch auf einer anderen Distribution läuft.
 
Was aber gut funktioniert: Auf allen Zielsystemen zwar RawTherapee mit dem dort vorhandenen Paketmanager separat installieren, jedoch die Konfigurationsdateien auf einem tragbaren Speichermedium abzulegen. Sichere dazu auf ein portables Medium den RawTherapee-Ordner ''config''. Insbesondere benötigst Du das "''options''"-File, das Nutzer-File "''camconst.json''", falls Du es erstellt hast, und sämtliche nutzerspezifischen PP3, ICC, DCP and LCP Profilefiles. Der [[File Paths/de Dateipfade]]-Artikel beschreibt, wo diese Files jeweils zu finden sind.

Revision as of 12:28, 18 March 2017

Todo-List / State:

  • Translation: completed
  • Content completely cleared: yes
  • Expression and didactics checked: open
  • Spelling checked: open

Ready for publishing: no


Eine portable Installation erstellen

RawTherapee und der Cache-Ordner können in sich geschlossen auf einem USB-Medium oder einem beliebigen anderen Massenspeichergerät gespeichert werden.

For Windows

Nimm die neueste Version von RawTherapee. Weil wir eine portable Installation haben wollen benötigen wir nicht den Installer sondern nur das reine, gezippte Programm. Wenn die neuste Version auf unserer Webseite ohne Installer, in einfacher gezippter Form vorliegen sollte, dann kannst Du diesen Schritt übergehen (Stand 03/2017: das ist nicht der Fall, ein Installer wird verwendet). Wenn der Installer aber enthalten ist, musst du zuerst die RawTherapee-Files extrahieren:

  • Wenn es sich um einen Inno-Setup-Installer handelt, dann ist die Dateierweiterung des Installationsprogramms .exe (Stand 03/2017). Lade in so einem Fall innounp oder innoextract herunter und entpacke damit das Installationsprogramm.
  • Falls es sich aber um einen MSI-Installer handelt (das ist mit Stand 03/2017 für die Windows-Installationen nicht der Fall, könnte sich aber zukünftig ändern), dann verwende das Kommandozeilenprogramm msiexec:
    msiexec /a RawTherapee.msi TARGETDIR="C:\ZielVerzeichnis" /qb
    Ersetze dabei den Namen des MSI-Installers (hier also das RawTherapee.msi) mit dem aktuell gültigen Namen und ersetze auch das Zielverzeichnis (hier C:\ZielVerzeichnis) mit dem von dir gewünschten Verzeichnis.


Nehmen wir an, dass du das entzippte Programm im Verzeichnis E:\RawTherapee gespeicht hast (E:\ sei der Laufwerksbuchstabe z.B. eines USB-Mediums). Dann öffne das File E:\RawTherapee\options in einem Editor und setze die Option MultiUser auf false. Auf diese Art wird der Cache-Ordner auf einen Sub-Ordner des Installationsordners gestellt.

Für Linux

Im Gegensatz zu Windows, wo alle benötigten Bibliotheken im mitgelieferten Programm enthalten sind, ist eine portable Variante auf Grund der Eigenheiten von Linux dort sehr schrierig zu erstellen. RawTherapee wird für die einzelnen Linux-Distributionen separat gepackt und ist über die Abhängigkeiten zu Bibliotheken der Distribution sehr eng mit einer solchen Distribution verknüpft. Es ist unwahrscheinlich, dass RawTherapee auf einer Distribution als portable eingerichtet, auch auf einer anderen Distribution läuft.

Was aber gut funktioniert: Auf allen Zielsystemen zwar RawTherapee mit dem dort vorhandenen Paketmanager separat installieren, jedoch die Konfigurationsdateien auf einem tragbaren Speichermedium abzulegen. Sichere dazu auf ein portables Medium den RawTherapee-Ordner config. Insbesondere benötigst Du das "options"-File, das Nutzer-File "camconst.json", falls Du es erstellt hast, und sämtliche nutzerspezifischen PP3, ICC, DCP and LCP Profilefiles. Der File Paths/de Dateipfade-Artikel beschreibt, wo diese Files jeweils zu finden sind.