AirV's Blog

Just another blog

Installation de logiciels sous windows

Assistant d’installation

  • Iexpress
    Intégré à windows XP voir le post suivant

Installation de logiciels en ligne

Installation de logiciels via une GUI

  • AppSnap
    Plus travaillé voir le post suivant

Installation de logiciels via un CD ou une clé USB

  • Install-It
    Simple mais efficace voir le post suivant
  • Multi-install
    Plus complexe voir le post suivant

Mise à jour de logiciels en ligne

Installation de logiciels via un CD

Multi-Install

Multi-Install est un logiciel plus complexe à manipuler mais beaucoup plus fini.
Un tutoriel du côté de chez Framasoft

Install-It

Install-It est un logiciel gratuit qui permet de créer de simple menu vous permettant de lancer l’installation de vos logiciels.

Ce menu se lance automatiquement lors de l’insertion du CD (ou d’un clé USB et tout autre lecteur).

installit Install It, créez des CD dinstallation de vos logiciels pour Windows

Pour l’installer, il suffit d’extraire les fichiers et d’éditer Install.ini. Ce dernier liste les fichiers présents sur le disque et leur donne un nom.

installini2 Install It, créez des CD dinstallation de vos logiciels pour Windows

Pour insérer vos programmes, il suffit d’insérer un couple nom/emplacement séparés par une virgule. Ensuite placez tous les fichiers à la racine du disque et gravez.

 

Installation de logiciels via une GUI

Généralités

AppSpan est une application permettant de créer une installation automatique de logiciels via une GUI.

  • Application intéressante car possibilité d’avoir la main sur le fichier db.ini et de le configurer  pour télécharger les fichiers sur son propre serveur.
  • Possibilité d’avoir un dossier cache distant pour éviter les téléchargements en local.
  • Impossible de faire fonctionner un fichier db.ini de référence sur le serveur distant si la maj de l’application n’est pas opérationnelle.

Configuration

  • Le chemin d’accès au fichier latest.html,  localisé sur le serveur ftp (le-sau.emn.fr/ftp/latest.html), qui va être « scrapé » afin de définir la dernière version est spécifié dans le fichier config.ini local
  • La maj du fichier db.ini local fonctionne en cliquant sur l’icône Mise à jour. Le chemin d’accès au fichier de référence db.ini est spécifié dans le fichier config.ini local
  • Le fichie db.ini est sensible à la casse.
  • instversion = REGISTRY_SEARCH:DisplayVersion=FormatDeMaVersion
  • unintall=MaCléLogiciel (le joker * ne marche pas) ou alors
  • uninstall = REGISTRY_SEARCH:DisplayName=MaCléLogiciel*

NB : Fonctionnement « aléatoire » de la recherche des versions dans la base de registre, dommage 🙁

Liens

Blog : http://appsnap.wordpress.com/

Assistant d’installation sous windows

From CommentCaMarche :

Vous avez pu développer un petit logiciel et il vous manque un assistant simple et rapide d’installation de votre logiciel. La solution est simple et disponible sous Windows XP et Vista, sans avoir besoin d’un autre logiciel.
Cette astuce peut être aussi utilisée pour créer des archives auto-extractibles. Ces archives peuvent être utilisées sans aucun logiciel de compression, et sur n’importe quel PC.

  • Sous XP : tapez iexpress dans la commande Exécuter du menu démarrer et validez.
  • Sous Vista : tapez iexpress dans la barre Rechercher du menu démarrer et validez.

Cette fenêtre s’affiche :

  • La case Create new Self Extraction Directive file permet de créer une nouvelle archive auto-extractible.
  • La case Open existing Self Extraction Directive file permet d’ouvrir un ancien projet pour la création de ces archives.

Pour notre cas, on s’intéresse à la première case. Cliquez ensuite sur Suivant :

  • La première case créera l’assistant qu’on cherche.
  • La deuxième créera un archive auto-extractible simple.
  • La troisième créera un fichier compressé (cab), extractible manuellement.

Il n’y a pas une grande différence entre ces trois modes de création, juste quelques étapes sont omises.

On s’intéresse au cas le plus général : créer un assistant d’installation.
Cliquez sur Suivant :

Dans le champs du texte, entrez le texte qui va apparaître comme titre des fenêtres pendant l’installation du logiciel. Cliquez sur Suivant :

Si vous désirez que votre assistant d’installation envoie une petite confirmation avant l’installation, remplissez le texte à afficher, sinon laissez la case No Prompt cochée.
Cliquez sur Suivant :

Cette fenêtre est réservée aux logiciels protégés par des droits d’auteur et d’utilisation. Si vous souhaitez ajouter une licence à votre logiciel, c’est l’endroit où vous pouvez le faire. Il suffit juste de cocher la case Display a licence et ajoutez votre licence comme étant un fichier texte (txt). Le contenu de ce fichier sera affiché pendant l’installation. Cliquez sur Suivant :

Ici, c’est l’endroit où ajouter les fichiers à votre archive. Vous pouvez ajouter plusieurs fichiers simultanément.
L’essentiel dans tout ça, c’est d’avoir créé un fichier BATCH (bat) responsable de l’installation. Ce fichier est capable de copier, supprimer et renommer les fichiers ou bien copier, supprimer, renommer et créer des dossiers, suivant le besoin. Il contient des commandes en DOS (copy, xcopy, del, cd, …etc). Pour les non experts en DOS, voir ici ou bien ici.

Il faudra aussi ajouter ce fichier dans la liste des fichiers. Identiquement pour le fichier BATCH qui lancera le logiciel automatiquement à la fin de l’installation (si vous le désirez bien sûr).
Quand vous aurez terminé d’ajouter les fichiers, cliquez sur Suivant :

Dans la zone rouge, sélectionnez le fichier BATCH de l’installation. Et dans la zone bleue, sélectionnez celui responsable du lancement automatique du programme à la fin de l’installation. Puis cliquez sur Suivant :
Ici, ce sont les modes d’apparition de la fenêtre d’installation (Par défaut, invisible, réduit ou bien maximisé). Faites votre choix et cliquez sur Suivant :
Vous pouvez ajouter un message à la fin de l’installation, sinon cochez No message.
Cliquez sur Suivant :
Choisissez l’endroit où vous allez sauvegarder votre petit fichier exécutable final. Et ne touchez pas aux autres options, elles ne sont pas très utiles. Cliquez sur Suivant :
Si besoin d’un redémarrage du PC, c’est ici qu’on va configurer ça :

  • No restart : redémarrage non nécessaire.
  • Always restart : forcez le redémarrage.
  • Only restart if needed : redémarrez si c’est nécessaire.
  • La case Do not prompt user before restarting forcera le redémarrage sans demander à l’utilisateur.

Suivant :
Vous pouvez sauvegarder votre projet et si vous voulez y faire des modifications plus tard, il suffit de cocher la case Open existing Self Extraction Directive file, tout à fait au début, puis de donner le fichier (sed) sauvegardé.
Cochez Don’t save si vous ne voulez pas sauvegarder votre projet. Cliquez sur Suivant :
Un dernier Suivant.
La compression de votre archive va commencer, attendez jusqu’à la fin (suivant la taille totale de vos fichiers), puis cliquez sur Terminer.

Votre archive auto-extractible est créée, vous allez la retrouver à l’endroit que vous avez précisé à l’étape Package Name and Options. Il suffit de faire un double-clic dessus et l’installation va commencer.

Remarque importante :
Cette astuce n’ajoute pas votre programme dans la liste des programmes installés sur votre PC, donc la désinstallation de ce logiciel doit se faire manuellement.

Backup Google

From HowToGeek :

 

How To Download/Backup Your Gmail, Google+, Calendar, and Docs Data

Google has a tremendous number of free services they offer which many of your probably take advantage of. But have you ever considered what you might lose if all of a sudden you lost access to your account? Just like all import data on your hard drive, your critical data in “the cloud” should also have backup consideration.

So if your Google account contains data you can’t afford to lose or you simply would like to have a local copy of it for yourself, you can easily download just about everything.

Backup All Your Gmail Messages

Gmail offers the ability to download all your messages into a POP client. As you may know, a POP client downloads and stores local copies of emails to your hard disk so you can access them off-line or if you delete a message (which you have previously downloaded) from your Gmail account.

Once logged into Gmail, in the upper right corner click the gear icon and go to Mail Settings.

image

Under the Forwarding and POP/IMAP tab, select the option to Enable POP for all mail. Selecting this option will flag every email in your account to be downloaded to your POP client. Also be sure to select the option to keep Gmail’s copy in the inbox in step 2 so that when your messages are downloaded, they are not removed from your Gmail inbox.

Once you have set these options, save your changes.

image

Once POP access has been enabled on your account, you simply need to download the messages into your POP client. Google provides detailed instructions for several common email clients via the link in step 3. Rather than re-inventing the wheel in this article, check out their walkthroughs.

Backup All Your Gmail Contacts

After using Gmail for a while you will, no doubt, have many email contacts that you will want to backup as well.

On the left side menu, click the Contacts link. You can optionally select the contacts you want to export (if you are only exporting certain ones) or leave individual contacts unchecked and export groups.

Under the More actions menu, select the Export option.

image

Select the contacts you want to export (typically All contacts) and then the format. If you are unsure, select a CSV format because this will be readable in Excel or Notepad and just about every email client supports importing via a CSV file.

Once you have your options set, click Export.

image

Save the resulting file.

image

Download Your Google Plus Data

If you have a Google Plus account, you can easily download just about everything you have made available on the service.

Once logged into your Google Plus account, click on the gear icon in the upper left corning and select Google+ settings.

image

Select the Data liberation option on the right side menu and click Download your data.

image

The data included in the download is as follows:

  • +1′s = Web pages you have +1′d (which show in the +1 tab of your Google profile) in HTML format. This does not include every post or comment you have +1′d in the Google+ system.
  • Buzz = Google Buzz posts and replies in HTML format.
  • Contacts and Circles = Contact information by circle/group in VCF format.
  • Picasa Web Albums = Pictures uploaded to Picasa. These are organized in folders with the respective album name.
  • Profile = JSON file which contains the information in your Google profile. Don’t worry if you don’t know what this type of file is, you can open it and Notepad and read all the information.
  • Stream = Posts you have made in Google+ in HTML format. This does not include comments to posts you have replied to, only “top level” posts you have made.

You can download everything (as we do in this guide) or individual pieces. To download everything, click the Create Archive button.

image

Depending on the amount of data you have, this can take a while but once finished you will be presented with a Download button.

image

Once your download is ready, save it to your hard disk.

image

When you open the resulting zip file, you can see the data is organized into folders making it easy to navigate.

image

Download Your Google Calendars

If you utilize Google Calendars, you can easily export this information into ICAL format.

Once in your Google Calendar, click the gear icon in the upper left corner and select Calendar settings.

image

Under the Calendars tab, click the Export calendars link.

image

Save the resulting file to your hard drive.

image

When you open the downloaded zip file, you will have an ICAL file for each Google Calendar.

image

Download Your Google Reader Subscriptions

To download your Google reader subscriptions (note this downloads the source RSS feed links, not the content), click the gear icon in the upper left corner and select Reader settings.

image

Under the Import/Export tab, select the option to Export your subscriptions as an OPML file. This is simply a type of XML formatted file that you can open in Notepad to view the contents of.

image

Save the file to your hard drive.

image

Downloading Your Google Docs

If you make use of Google Docs, you can easily download selected or all documents at once. If you want only certain documents, pick the ones you want.

Once ready, under the Actions menu, select Download.

image

You will have some options with the format you want to download certain documents types in. For the most part the default settings will do but you can customize to fit your needs. Click the Download button once you are ready.

image

Save the resulting zip file to your hard drive.

image

When you open the zip file, the documents are in the format and folder structure used in Google Docs.

image