GanttProject v2.xx – Installation silencieuse

Voici un rapide tuto pour réaliser une installation silencieuse de GanttProject v2 sous Windows 7.

Téléchargement de l’installeur

Télécharger la dernière version de l’installeur ici.

Création de l’arborescence

Créer un dossier GanttProject :
GanttProject
|--GanttProject.exe
|--install.bat

Création du fichier batch

[shell]@echo off
title Installation de GanttProject
echo Installation de GanttProject en cours, veuillez patienter …
@echo off
if %PROCESSOR_ARCHITECTURE%==x86 (
set RepertoireInstallation=%ProgramFiles(x86)%
) else (
set RepertoireInstallation=%ProgramFiles%
)
GanttProject /S /D=%RepertoireInstallation%[/shell]

Source : http://forum.ganttproject.biz/view/20110510075640_16zvl9memegaexcdn5mmqc98t