24
24
; This adds the dll's in the bin directory to amide.exe's path
25
25
Root: HKLM; Subkey: "Software\Microsoft\Windows\CurrentVersion\App Paths\@PACKAGE@.exe"; Flags: uninsdeletekeyifempty
26
Root: HKLM; Subkey: "Software\Microsoft\Windows\CurrentVersion\App Paths\@PACKAGE@.exe"; ValueType: string; ValueData: "{app}\@PACKAGE@.exe"; Flags: uninsdeletevalue
26
Root: HKLM; Subkey: "Software\Microsoft\Windows\CurrentVersion\App Paths\@PACKAGE@.exe"; ValueType: string; ValueData: "{app}\bin\@PACKAGE@.exe"; Flags: uninsdeletevalue
27
27
Root: HKLM; Subkey: "Software\Microsoft\Windows\CurrentVersion\App Paths\@PACKAGE@.exe"; ValueType: string; ValueName: "Path"; ValueData: "{app};{app}\bin"; Flags: uninsdeletevalue
28
; old line below, this was prior to 0.9.0, when we used an external gtk runtime package
29
; Root: HKLM; Subkey: "Software\Microsoft\Windows\CurrentVersion\App Paths\@PACKAGE@.exe"; ValueType: string; ValueName: "Path"; ValueData: "{app};{app}\bin;{code:GetGtkPath}\lib"; Flags: uninsdeletevalue
31
29
; This allows .xif files to get sent to AMIDE
32
30
Root: HKCR; Subkey: ".xif"; ValueType: string; ValueName: ""; ValueData: "AmideXmlImageFormat"; Flags: uninsdeletevalue
33
31
Root: HKCR; Subkey: "AmideXmlImageFormat"; ValueType: string; ValueName: ""; ValueData: "amide"; Flags: uninsdeletekey
34
Root: HKCR; Subkey: "AmideXmlImageFormat\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\AMIDE.EXE,1"
35
Root: HKCR; Subkey: "AmideXmlImageFormat\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\AMIDE.EXE"" ""%1"""
32
Root: HKCR; Subkey: "AmideXmlImageFormat\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\bin\AMIDE.EXE,1"
33
Root: HKCR; Subkey: "AmideXmlImageFormat\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\bin\AMIDE.EXE"" ""%1"""
40
Source: "C:\Documents and Settings\loening\Desktop\@PACKAGE@-@VERSION@\amide.exe"; DestDir: "{app}"; Flags: ignoreversion
41
38
Source: "C:\Documents and Settings\loening\Desktop\@PACKAGE@-@VERSION@\bin\*"; DestDir: "{app}\bin"; Flags: ignoreversion
42
39
; Source: "C:\Documents and Settings\loening\Desktop\@PACKAGE@-@VERSION@\help\*"; DestDir: "{app}\help\"; Flags: ignoreversion recursesubdirs
43
; Source: "C:\Documents and Settings\loening\Desktop\@PACKAGE@-@VERSION@\lib\*"; DestDir: "{app}\lib"; Flags: ignoreversion recursesubdirs
40
Source: "C:\Documents and Settings\loening\Desktop\@PACKAGE@-@VERSION@\etc\*"; DestDir: "{app}\etc"; Flags: ignoreversion recursesubdirs
41
Source: "C:\Documents and Settings\loening\Desktop\@PACKAGE@-@VERSION@\lib\*"; DestDir: "{app}\lib"; Flags: ignoreversion recursesubdirs
44
42
; Source: "C:\Documents and Settings\loening\Desktop\@PACKAGE@-@VERSION@\man\*"; DestDir: "{app}\man"; Flags: ignoreversion recursesubdirs
45
43
Source: "C:\Documents and Settings\loening\Desktop\@PACKAGE@-@VERSION@\share\*"; DestDir: "{app}\share"; Flags: ignoreversion recursesubdirs
46
44
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
49
Name: "{group}\amide"; Filename: "{app}\amide.exe";
50
Name: "{userdesktop}\amide"; Filename: "{app}\amide.exe"; Tasks: desktopicon
54
; no longer used as of 0.9.0, see above note
55
;; CODE is taken from the example on the dropline page
62
;function GetGtkInstalled (): Boolean;
64
; Exists := RegQueryStringValue (HKLM, 'Software\GTK\2.0', 'Path', GtkPath);
65
; if not Exists then begin
66
; Exists := RegQueryStringValue (HKCU, 'Software\GTK\2.0', 'Path', GtkPath);
71
;function GetGtkPath (S: String): String;
76
;function InitializeSetup(): Boolean;
78
; Result := GetGtkInstalled ();
79
; if not Result then begin
80
; MsgBox ('Please install the GTK+ 2.0 Runtime Environment before installing AMIDE. You can obtain GTK+ from http://www.dropline.net/gtk.', mbError, MB_OK);
47
Name: "{group}\amide"; Filename: "{app}\bin\amide.exe";
48
Name: "{userdesktop}\amide"; Filename: "{app}\bin\amide.exe"; Tasks: desktopicon
b'\\ No newline at end of file'