« Inno Setup » : différence entre les versions
Aller à la navigation
Aller à la recherche
mAucun résumé des modifications |
|||
| Ligne 37 : | Ligne 37 : | ||
#define MyAppURL "http://phpage.fr/" | #define MyAppURL "http://phpage.fr/" | ||
#define MyAppURLTarget "http://kono.phpage.fr" | #define MyAppURLTarget "http://kono.phpage.fr" | ||
#define MyFavicon " | #define MyFavicon "PHPForm.ico" | ||
[Setup] | [Setup] | ||
| Ligne 65 : | Ligne 65 : | ||
[Icons] | [Icons] | ||
Name: "{commondesktop}\{#MyAppName}"; Filename: "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"; Parameters: "-inprivate {#MyAppURLTarget}"; IconFilename: "{app}\{#MyFavicon}" | Name: "{commondesktop}\{#MyAppName}"; Filename: "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"; Parameters: "-inprivate {#MyAppURLTarget}"; IconFilename: "{app}\{#MyFavicon}" | ||
</source> | |||
== Base de registre == | |||
Une fois l'application installée, la base de registre indique : | |||
<source> | |||
Windows Registry Editor Version 5.00 | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{6A1C9E11-A2A3-4C84-8B8E-C05F06B89EF3}_is1] | |||
"Inno Setup: Setup Version"="6.5.4" | |||
"Inno Setup: App Path"="C:\\Program Files (x86)\\PHPForm" | |||
"InstallLocation"="C:\\Program Files (x86)\\PHPForm\\" | |||
"Inno Setup: Icon Group"="PHPForm" | |||
"Inno Setup: User"="admin" | |||
"Inno Setup: Language"="french" | |||
"DisplayName"="PHPForm version 1.0" | |||
"UninstallString"="\"C:\\Program Files (x86)\\PHPForm\\unins000.exe\"" | |||
"QuietUninstallString"="\"C:\\Program Files (x86)\\PHPForm\\unins000.exe\" /SILENT" | |||
"DisplayVersion"="1.0" | |||
"Publisher"="PHP" | |||
"URLInfoAbout"="http://phpage.fr/" | |||
"HelpLink"="http://phpage.fr/" | |||
"URLUpdateInfo"="http://phpage.fr/" | |||
"NoModify"=dword:00000001 | |||
"NoRepair"=dword:00000001 | |||
"InstallDate"="20251022" | |||
"MajorVersion"=dword:00000001 | |||
"MinorVersion"=dword:00000000 | |||
"VersionMajor"=dword:00000001 | |||
"VersionMinor"=dword:00000000 | |||
"EstimatedSize"=dword:00000e86 | |||
</source> | </source> | ||
Version du 22 octobre 2025 à 08:17
Inno Setup
Généralité
Ressource
- http://jrsoftware.org/isinfo.php
- https://fr.wikipedia.org/wiki/Inno_Setup : l'article sur Wikipédia
Site JCZ :
Script
Création d'un raccourci vers URL
; Nom : INNAPP001
; Description : installateur pour la création d'un icone sur le bureau pour lancer une URL en mode privé avec le navigateur Microsoft Edge
; Usage : exercice avec Inno Setup
; Particularité : néant
; Auteur : fylip22
; Version : 1.0
; Révisions :
; - 1.0 (21/10/2025) : création du script
;
; Avec le dossier de travail "..\PHPForm\" contenant :
; * le script Inno Setup "PHPForm-010.iss" ;
; * le fichier d'icone "bing.ico" ;
; * le fichier d'installation y sera créé automatiquement, sous la forme :
; ** "PHPForm-numversion-setup.exe"
;
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "PHPForm"
#define MyAppVersion "1.0"
#define MyAppPublisher "PHP"
#define MyAppURL "http://phpage.fr/"
#define MyAppURLTarget "http://kono.phpage.fr"
#define MyFavicon "PHPForm.ico"
[Setup]
AppId = {{6A1C9E11-A2A3-4C84-8B8E-C05F06B89EF3}
AppName = {#MyAppName}
AppVersion = {#MyAppVersion}
;AppVerName = {#MyAppName} {#MyAppVersion}
AppPublisher = {#MyAppPublisher}
AppPublisherURL = {#MyAppURL}
AppSupportURL = {#MyAppURL}
AppUpdatesURL = {#MyAppURL}
DefaultDirName = {autopf}\{#MyAppName}
DefaultGroupName = {#MyAppName}
DisableDirPage = yes
DisableProgramGroupPage = yes
OutputDir = .\
OutputBaseFilename = {#MyAppName}-{#MyAppVersion}-setup
SolidCompression = yes
WizardStyle = modern
[Languages]
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
[Files]
Source: ".\{#MyFavicon}"; DestDir: "{app}"; Flags: ignoreversion
[Icons]
Name: "{commondesktop}\{#MyAppName}"; Filename: "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"; Parameters: "-inprivate {#MyAppURLTarget}"; IconFilename: "{app}\{#MyFavicon}"
Base de registre
Une fois l'application installée, la base de registre indique :
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{6A1C9E11-A2A3-4C84-8B8E-C05F06B89EF3}_is1]
"Inno Setup: Setup Version"="6.5.4"
"Inno Setup: App Path"="C:\\Program Files (x86)\\PHPForm"
"InstallLocation"="C:\\Program Files (x86)\\PHPForm\\"
"Inno Setup: Icon Group"="PHPForm"
"Inno Setup: User"="admin"
"Inno Setup: Language"="french"
"DisplayName"="PHPForm version 1.0"
"UninstallString"="\"C:\\Program Files (x86)\\PHPForm\\unins000.exe\""
"QuietUninstallString"="\"C:\\Program Files (x86)\\PHPForm\\unins000.exe\" /SILENT"
"DisplayVersion"="1.0"
"Publisher"="PHP"
"URLInfoAbout"="http://phpage.fr/"
"HelpLink"="http://phpage.fr/"
"URLUpdateInfo"="http://phpage.fr/"
"NoModify"=dword:00000001
"NoRepair"=dword:00000001
"InstallDate"="20251022"
"MajorVersion"=dword:00000001
"MinorVersion"=dword:00000000
"VersionMajor"=dword:00000001
"VersionMinor"=dword:00000000
"EstimatedSize"=dword:00000e86