en:documentation:make_a_portable_installation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:documentation:make_a_portable_installation [2012/05/25 10:20] – pch | en:documentation:make_a_portable_installation [2015/11/06 20:43] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ======Make a portable installation of Skychart====== | ======Make a portable installation of Skychart====== | ||
| - | A portable install mean you install Skychart on a removable media (USB stick) and you can plug it to any PC to run the application without any further configuration.\\ | + | A portable install mean you install Skychart on a removable media (USB stick, external disk) and you can plug it to any PC to run the application without any further configuration. |
| - | This require a version more recent than 3.7-2196 | + | The version 3.8 or more recent is required for this process |
| - | The example is given here for Windows but you can do almost the same on Linux, in this case use the tar installer for an easy setup. | + | The example is given here for Windows but you can do almost the same on Linux, in this case use the tar installer for an easy setup. \\ |
| + | You can also use the portable version for Windows on Linux/Mac by using Wine. This way you need a single USB stick for any platform. | ||
| - | The commands suppose your removable media is mounted on E: change accordingly if it use another letter. | + | The commands suppose your removable media is mounted on the drive E: change accordingly if it use another letter. |
| This description use mostly a command line window for the clarity of the explanation but you can also use the equivalent graphical tool.\\ | This description use mostly a command line window for the clarity of the explanation but you can also use the equivalent graphical tool.\\ | ||
| To open a command line window use the Start menu -> Accessories -> Command Prompt | To open a command line window use the Start menu -> Accessories -> Command Prompt | ||
| - | |||
| **1)** Create a new folder on your removable media: | **1)** Create a new folder on your removable media: | ||
| Line 17: | Line 17: | ||
| mkdir portable_skychart | mkdir portable_skychart | ||
| cd \portable_skychart | cd \portable_skychart | ||
| + | mkdir Ciel | ||
| </ | </ | ||
| - | **2)** | + | **2)** |
| - | < | + | |
| - | </ | + | |
| - | If you not want to install | + | |
| + | **3)** Extract the zip file in this folder: | ||
| + | < | ||
| + | unzip skychart-3.8-2450-windows.zip | ||
| + | </ | ||
| - | **3)** Create a folder for the program configuration: | + | **4)** Create a folder for the program configuration: |
| < | < | ||
| mkdir userdata</ | mkdir userdata</ | ||
| - | **4)** Create a startup script: | + | **5)** Create a startup script: |
| < | < | ||
| notepad skychart.cmd</ | notepad skychart.cmd</ | ||
| - | Type the following and save the file: | + | Copy the following |
| < | < | ||
| set basedir=%CD% | set basedir=%CD% | ||
| - | start %basedir%\skychart\skychart.exe --config=" | + | start %basedir%\Ciel\skychart.exe --config=" |
| + | |||
| </ | </ | ||
| Line 43: | Line 46: | ||
| ===== Optional steps ===== | ===== Optional steps ===== | ||
| - | ==== Extract Skychart without running | + | ==== Do not let any trace in the registry |
| - | You need a specific program | + | If you not want to let any trace in the registry of the computer you need to inactivate the server functionality. Otherwise a registry key indicating the connection port is created. |
| + | < | ||
| + | notepad skychart.ini</ | ||
| + | Locate the line starting with AutostartServer, | ||
| + | < | ||
| + | AutostartServer=0</ | ||
| - | **1)** Get innounp from http:// | + | ==== Copy the program setting ==== |
| - | **2)** To extract | + | Since the version 3.8 it is possible to copy the configuration file [[directories_and_files|skychart.ini]] from an existing installation to the userdata folder. |
| - | < | + | |
| - | **3)** Get CdC windows installer from http://ap-i.net/ | + | Another option is to save and reload a chart using the menu File/Save as , File/Open. |
| - | A portable install require a version more recent than 3.7-2196. Copy the file in E: | + | |
| - | **4)** Extract the CdC files without running the installer: | ||
| - | < | ||
| - | **5)** Rename the application directory: | + | ==== Make a script to run on Linux with Wine ==== |
| - | < | + | |
| - | **6)** Delete | + | Mount the configured USB key on your Linux system. |
| - | < | + | |
| - | rmdir /S {userappdata}</ | + | |
| + | < | ||
| + | vi skychart.sh</ | ||
| + | Copy the following lines and save the file: | ||
| + | < | ||
| + | #!/bin/bash | ||
| + | wine cmd /C skychart.cmd | ||
| + | |||
| + | </ | ||
| - | ==== Do not let any trace in the registry ==== | + | As you cannot set the executable bit on a FAT file system do the following to run: |
| + | < | ||
| + | cd / | ||
| + | bash skychart.sh | ||
| + | </ | ||
| - | If you not want to let any trace in the registry of the computer you need to inactivate the server functionality. Otherwise a registry key indicating the connection port is created. | ||
| - | < | ||
| - | notepad skychart.ini</ | ||
| - | Locate the line starting with AutostartServer, | ||
| - | < | ||
| - | AutostartServer=0</ | ||
en/documentation/make_a_portable_installation.1337934040.txt.gz · Last modified: 2015/11/06 20:33 (external edit)
