Commit afc4b8ff authored by Yvan Masson's avatar Yvan Masson
Browse files

Improve InnoSetup building

- On uninstall, be carefull to delete only our files: what was done
  before was very dangerous (see http://www.jrsoftware.org/ishelp/index.php).
- Display icon also when going in the Windows "Add/remove programs" control
  panel applet.
- Various minor improvements.
parent 47764805
......@@ -6,7 +6,7 @@
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{396DB1FD-DA50-4D34-9EA2-E8217E3AB7E8}
AppName=My Remote Help Tool
AppVersion=1.1
AppVersion=2.1
AppPublisher=My Name
; Optional
AppPublisherURL=https://my-website.com
......@@ -14,16 +14,19 @@ AppPublisherURL=https://my-website.com
DefaultDirName={pf32}\{#SetupSetting("AppName")}
; The name of your icon
#define IconFile "My-icon.ico"
SetupIconFile=Sources\{#IconFile}
; The end of the following value will append version to the generated installer
OutputBaseFilename=my-remote-help-tool_{#SetupSetting("AppVersion")}
; You should not need to modify those variables
SourceDir=Sources\
OutputDir=..\Output\
SetupIconFile={#IconFile}
DisableProgramGroupPage=yes
LicenseFile=Sources\License.txt
LicenseFile=License.txt
Compression=lzma
SolidCompression=yes
[Languages]
; Leave only one language if you don't want the installer to ask which lang to use
Name: "en"; MessagesFile: "compiler:Default.isl"
Name: "fr"; MessagesFile: "compiler:Languages\French.isl"
......@@ -31,16 +34,14 @@ Name: "fr"; MessagesFile: "compiler:Languages\French.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
[Files]
Source: "Sources\RemoteHelp.vbs"; DestDir: "{app}"; Flags: ignoreversion
Source: "Sources\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: "RemoteHelp.vbs"; DestDir: "{app}"; Flags: ignoreversion
Source: "Changelog.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "License.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#IconFile}"; DestDir: "{app}"; Flags: ignoreversion
Source: "PuTTY\*"; DestDir: "{app}\PuTTY"; Flags: ignoreversion
Source: "UltraVNC\*"; DestDir: "{app}\UltraVNC"; Flags: ignoreversion
[Icons]
Name: "{commonprograms}\{#SetupSetting("AppName")}"; Filename: "{app}\RemoteHelp.vbs"; IconFilename: "{app}\{#IconFile}"
Name: "{commondesktop}\{#SetupSetting("AppName")}"; Filename: "{app}\RemoteHelp.vbs"; IconFilename: "{app}\{#IconFile}"; Tasks: desktopicon
[InstallDelete]
Type: files; Name: {app}\*
Type: files; Name: {app}\Putty*
Type: files; Name: {app}\UltraVNC*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment