Outils pour utilisateurs

Outils du site


fr:documentation:make_a_portable_installation

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
fr:documentation:make_a_portable_installation [2013/11/13 20:42] – créée pchfr:documentation:make_a_portable_installation [2015/11/06 20:43] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
-FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// 
- 
 ~~NOTOC~~ ~~NOTOC~~
-======Make a portable installation of Skychart======+======Faire une installation portable======
  
-portable install mean you install Skychart on a removable media (USB stickand you can plug it to any PC to run the application without any further configuration.\\ +Une installation portable signifie que vous installez CdC sur un support amovible (clé USB, disque externeet vous pouvez le brancher à n'importe quel PC pour exécuter l'application sans autre configuration. La configuration est aussi écrit sur le support amovible, ainsi vous récupérez vos paramètres préférés sur n'importe quel ordinateur.\\ 
-This require a version more recent than 3.7-2196 to properly handle any change in the media mount point on different computer.+La version 3.8 ou plus récente est nécessaire pour ce processus.
  
-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.+L'exemple est donné ici pour Windows, mais vous pouvez faire à peu près la même chose sur Linux, dans ce cas utiliser l'installation tar pour une installation facile. \\  
 +Vous pouvez également utiliser la version portable pour Windows sur Linux/Mac en utilisant Wine. De cette façon, vous avez besoin d'une seule clé USB pour toute plate-forme.
  
-The commands suppose your removable media is mounted on E: change accordingly if it use another letter.+Les commandes supposent le support amovible est monté sur le lecteur E: changer en conséquence si il utilise une autre lettre.
  
-This description use mostly a command line window for the clarity of the explanation but you can also use the equivalent graphical tool.\\ +Cette description utilise principalement une fenêtre de ligne de commande pour la clarté de l'exposé, mais vous pouvez également utiliser l'outil graphique équivalent.\\ 
-To open a command line window use the Start menu -> Accessories -> Command Prompt+Pour ouvrir une fenêtre de ligne de commande, utilisez le menu Démarrer -> Accessoires -> Invite de commandes
  
- +**1)** Créez un nouveau dossier sur votre support amovible:
-**1)** Create a new folder on your removable media:+
 <code>E: <code>E:
 mkdir portable_skychart mkdir portable_skychart
 cd \portable_skychart cd \portable_skychart
 +mkdir Ciel
 </code> </code>
  
-**2)** Copy the program code: +**2)** Télécharger le fichier CdC  **Windows zip** depuis la page de [[fr:download|Téléchargement]]. Enregistrez le fichier zip dans le dossier **E:\portable_skychart\Ciel\**
-<code>xcopy /S "C:\Program Files\Ciel\* Ciel\ +
-</code> +
-If you not want to install the Skychart software on your computer, see the additional steps [[#Extract_Skychart_without_running_the_installer_setup|below]]+
  
 +**3)** Extraire le fichier zip dans ce dossier:
 +<code>cd \portable_skychart\Ciel
 +unzip skychart-3.8-2450-windows.zip 
 +</code>
  
-**3)** Create a folder for the program configuration:+**4)** Créez un dossier pour la configuration du programme:
 <code>cd \portable_skychart <code>cd \portable_skychart
 mkdir userdata</code> mkdir userdata</code>
  
  
-**4)** Create a startup script:+**5)**Créez un script de démarrage:
 <code>cd \portable_skychart <code>cd \portable_skychart
 notepad skychart.cmd</code> notepad skychart.cmd</code>
-Type the following and save the file:+Copiez les lignes suivantes et enregistrez le fichier:
 <file>@ECHO off <file>@ECHO off
 set basedir=%CD% set basedir=%CD%
 start %basedir%\Ciel\skychart.exe --config="%basedir%\userdata\skychart.ini" --userdir="%basedir%\userdata" start %basedir%\Ciel\skychart.exe --config="%basedir%\userdata\skychart.ini" --userdir="%basedir%\userdata"
 +   
 </file> </file>
  
-Now you can plug this USB stick on any (Windows) computer and run the program with a double click on skychart.cmd. +Maintenant, vous pouvez brancher cette clé USB sur n'importe quel ordinateur (Windows) et exécuter le programme en double-cliquant sur skychart.cmd. 
  
-===== Optional steps =====+===== Etapes facultatives =====
  
-==== Extract Skychart without running the installer setup ====+==== Ne pas laisser de trace dans le registre ====
  
-You need a specific program to extract the files from the Windows installer without to run it.\\+Si vous voulez ne pas laisser de trace dans le registre de l'ordinateur, vous devez désactiver la fonctionnalité de serveurSinon, une clé de registre indiquant le port de connexion est créé. 
 +<code>cd userdata 
 +notepad skychart.ini</code> 
 +Repérez la ligne commençant par AutostartServer, définir la valeur suivante et enregistrez le fichier: 
 +<file>[main] 
 +AutostartServer=0</file>
  
-**1)** Get innounp from http://sourceforge.net/projects/innounp/files/ and put the file in E:\portable_skychart :+==== Copiez la configuration du programme ====
  
-**2)** To extract the files use 7zip or the following command line: +Depuis la version 3.8, il est possible de copier le fichier de configuration [[directories_and_files|skychart.ini]] d'une installation existante dans le dossier userdata.
-<code>unrar e innounp036.rar</code>+
  
-**3)** Get CdC windows installer from http://ap-i.net/skychart \\ +Une autre option est de sauvegarder et recharger une carte à l'aide du menu Fichier Enregistrer sous, Fichier Ouvrir.
-A portable install require a version more recent than 3.7-2196. Copy the file in E:\portable_skychart+
  
-**4)** Extract the CdC files without running the installer:  
-<code>innounp.exe -x skychart-3.7-2196-windows.exe</code> 
  
-**5)** Rename the application directory: +==== Faire un script pour exécuter sur Linux avec Wine ====
-<code>move {app} Ciel</code>+
  
-**6)** Delete the unneeded files: +Montez la clé USB configurée sur votre système Linux.
-<code>del innounp036.rar  innounp.exe innounp.htm install_script.iss skychart-3.7-2196-windows.exe +
-rmdir /S {userappdata}</code>+
  
 +<code>cd /media/my-usb-key/portable_skychart
 +vi skychart.sh</code>
 +Copiez les lignes suivantes et enregistrez le fichier:
 +<file>
 +#!/bin/bash
 +wine cmd /C skychart.cmd
 +   
 +</file>
  
-==== Do not let any trace in the registry ==== +Comme vous ne pouvez pas régler le bit exécutable sur un système de fichiers FAT, utiliser la commande suivante pour l’exécuter: 
- +<code> 
-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. +cd /media/my-usb-key/portable_skychart 
-<code>cd userdata +bash skychart.sh 
-notepad skychart.ini</code> +</code>
-Locate the line starting with AutostartServer, set the following and save the file: +
-<file>[main] +
-AutostartServer=0</file> +
- +
-==== Copy the program setting ==== +
- +
-Since skychart-3.7-2196 it is possible to copy the configuration file [[directories_and_files|skychart.ini]] from an existing installation to the userdata folder.+
  
-Another option is to save and reload a chart using the menu File/Save as , File/Open. 
  
fr/documentation/make_a_portable_installation.1384371767.txt.gz · Dernière modification : 2015/11/06 20:37 (modification externe)