Statistics
| Branch: | Revision:

root / trunk / Pithos.Installer / PithosPlus.iss @ 423e3705

History | View | Annotate | Download (44 kB)

1 4a1a5303 Panagiotis Kanavos
; Script generated by the Inno Setup Script Wizard.
2 4a1a5303 Panagiotis Kanavos
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3 4a1a5303 Panagiotis Kanavos
4 4a1a5303 Panagiotis Kanavos
#define MyAppName "Pithos+"
5 f41925e1 Panagiotis Kanavos
#define MyStartupName "Run Pithos on startup"
6 402f2f0c George Pantazis
#define SrcApp "..\Pithos.Client.WPF\bin\Debug\PithosPlus.exe"
7 4a1a5303 Panagiotis Kanavos
#define MyAppPublisher "GRNET"
8 4a1a5303 Panagiotis Kanavos
#define MyAppURL "http://pithos.grnet.gr/"
9 402f2f0c George Pantazis
#define MyAppExeName "PithosPlus.exe"
10 4a1a5303 Panagiotis Kanavos
#define MyAppVersion GetFileVersion(SrcApp)
11 4a1a5303 Panagiotis Kanavos
#define MyURL "http://www.grnet.gr/"
12 e3e406f6 George Pantazis
#define Manufacturer "GRNET"
13 4a1a5303 Panagiotis Kanavos
14 4a1a5303 Panagiotis Kanavos
[Setup]
15 4a1a5303 Panagiotis Kanavos
;WARNING: DO NOT CHANGE THE APP ID (AppId) or the update will not work correctly.
16 4a1a5303 Panagiotis Kanavos
;AppId is used to check if we are installed using this isntaller and not by other means.
17 479e9af2 George Pantazis
AppID={{926354B2-04D2-47CF-8FAA-04AB3682008B}}
18 4a1a5303 Panagiotis Kanavos
AppName={#MyAppName}
19 4a1a5303 Panagiotis Kanavos
AppVersion={#MyAppVersion}
20 4a1a5303 Panagiotis Kanavos
AppVerName={#MyAppName} {#MyAppVersion}
21 4a1a5303 Panagiotis Kanavos
UninstallDisplayName={#MyAppName} {#MyAppVersion}
22 4a1a5303 Panagiotis Kanavos
AppPublisher={#MyAppPublisher}
23 4a1a5303 Panagiotis Kanavos
AppPublisherURL={#MyAppURL}
24 4a1a5303 Panagiotis Kanavos
AppSupportURL={#MyAppURL}
25 4a1a5303 Panagiotis Kanavos
AppUpdatesURL={#MyAppURL}
26 4a1a5303 Panagiotis Kanavos
DefaultDirName={pf}\PithosPlus
27 4a1a5303 Panagiotis Kanavos
DefaultGroupName={#MyAppName}
28 479e9af2 George Pantazis
AllowNoIcons=true
29 4a1a5303 Panagiotis Kanavos
LicenseFile=Licenses\GRNET License.txt
30 4a1a5303 Panagiotis Kanavos
OutputBaseFilename=PithosPlus_Setupv{#MyAppVersion}
31 479e9af2 George Pantazis
SolidCompression=true
32 479e9af2 George Pantazis
UsePreviousSetupType=true
33 479e9af2 George Pantazis
UsePreviousTasks=true
34 402f2f0c George Pantazis
UsePreviousLanguage=True
35 479e9af2 George Pantazis
ShowTasksTreeLines=true
36 4a1a5303 Panagiotis Kanavos
AppCopyright=(c) 2011 - 2012 GRNET
37 479e9af2 George Pantazis
PrivilegesRequired=admin
38 479e9af2 George Pantazis
EnableDirDoesntExistWarning=true
39 4a1a5303 Panagiotis Kanavos
DirExistsWarning=yes
40 ce7c8a43 George Pantazis
AppContact=support@okeanos.grnet.gr
41 4a1a5303 Panagiotis Kanavos
AppSupportPhone=+30 210 0000000
42 4a1a5303 Panagiotis Kanavos
AppReadmeFile=My Readme
43 479e9af2 George Pantazis
UninstallDisplayIcon={app}\PithosPlus.exe
44 4a1a5303 Panagiotis Kanavos
WizardImageFile=Images\ppWZDImage.bmp
45 4a1a5303 Panagiotis Kanavos
WizardSmallImageFile=Images\ppWZDSmall.bmp
46 4a1a5303 Panagiotis Kanavos
VersionInfoVersion={#MyAppVersion}
47 4a1a5303 Panagiotis Kanavos
MinVersion=0,5.01sp3
48 ce7c8a43 George Pantazis
ArchitecturesInstallIn64BitMode=x64
49 479e9af2 George Pantazis
AppMutex=PITHOSMUTEX
50 479e9af2 George Pantazis
OutputDir={tmp}
51 479e9af2 George Pantazis
SetupLogging=true
52 479e9af2 George Pantazis
UninstallLogMode=append
53 479e9af2 George Pantazis
VersionInfoCompany=GRNET
54 479e9af2 George Pantazis
VersionInfoDescription=Pithos Plus
55 479e9af2 George Pantazis
VersionInfoCopyright=(c) 2011-2012 GRNET
56 479e9af2 George Pantazis
VersionInfoProductName=Pitho Plus
57 479e9af2 George Pantazis
VersionInfoProductVersion=1
58 479e9af2 George Pantazis
AppModifyPath="{app}\UninsHs.exe" /m0=AppId
59 4a1a5303 Panagiotis Kanavos
60 4a1a5303 Panagiotis Kanavos
[Languages]
61 4a1a5303 Panagiotis Kanavos
Name: "english"; MessagesFile: "compiler:Default.isl"
62 4a1a5303 Panagiotis Kanavos
Name: "greek"; MessagesFile: "compiler:Languages\Greek.isl"
63 4a1a5303 Panagiotis Kanavos
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
64 4a1a5303 Panagiotis Kanavos
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
65 4a1a5303 Panagiotis Kanavos
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
66 4a1a5303 Panagiotis Kanavos
67 4a1a5303 Panagiotis Kanavos
[CustomMessages]
68 031be0a5 George Pantazis
;Web=You can visit our web site for more info
69 4a1a5303 Panagiotis Kanavos
70 4a1a5303 Panagiotis Kanavos
[Tasks]
71 4a1a5303 Panagiotis Kanavos
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; Components: Documentation RequiredFiles
72 031be0a5 George Pantazis
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1; Components: Documentation RequiredFiles
73 031be0a5 George Pantazis
;Name: "visitweb"; Description: "{cm:Web}"; GroupDescription: "{cm:Web}"; Flags: unchecked; Components: Documentation RequiredFiles; Languages: english french german greek spanish
74 4a1a5303 Panagiotis Kanavos
75 4a1a5303 Panagiotis Kanavos
[Files]
76 4a1a5303 Panagiotis Kanavos
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
77 031be0a5 George Pantazis
; Executable
78 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\PithosPlus.exe"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Tasks: desktopicon; Languages: english french german spanish greek
79 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\PithosPlus.exe.config"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
80 479e9af2 George Pantazis
; Appearance
81 479e9af2 George Pantazis
Source: "Skin\ISSkin.dll"; DestDir: {app}; Flags: dontcopy
82 479e9af2 George Pantazis
Source: "Skin\GRNETWhite.cjstyles"; DestDir: {tmp}; Flags: dontcopy
83 479e9af2 George Pantazis
; Repair/Modify
84 479e9af2 George Pantazis
Source: "Tools\UninsHs.exe"; DestDir: "{app}"; Flags: restartreplace
85 479e9af2 George Pantazis
; Running Processes
86 479e9af2 George Pantazis
Source: "Tools\IssProc.dll"; DestDir: {tmp}; Flags: dontcopy
87 031be0a5 George Pantazis
; DLL
88 479e9af2 George Pantazis
Source: "..\Pithos.ShellExtensions\bin\x86\Debug\Pithos.ShellExtensions.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek; Check: not Is64BitInstallMode
89 479e9af2 George Pantazis
Source: "..\Pithos.ShellExtensions\bin\x64\Debug\Pithos.ShellExtensions.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek; Check: Is64BitInstallMode
90 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\AppLimit.NetSparkle.Net40.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
91 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\AsyncCtpLibrary.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
92 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\Caliburn.Micro.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
93 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\Castle.ActiveRecord.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
94 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\Castle.Components.Validator.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
95 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\Castle.Core.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
96 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\Hardcodet.Wpf.TaskbarNotification.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
97 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\Iesi.Collections.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
98 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\log4net.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
99 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\Newtonsoft.Json.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
100 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\NHibernate.ByteCode.Castle.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
101 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\NHibernate.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
102 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\NHibernate.Search.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
103 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\ParallelExtensionsExtras.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
104 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\Pithos.Core.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
105 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\Pithos.Interfaces.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
106 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\Pithos.Network.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
107 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\System.Data.SQLite.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
108 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\System.Threading.Tasks.Dataflow.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
109 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\System.Windows.Interactivity.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
110 479e9af2 George Pantazis
Source: "..\Pithos.Client.WPF\bin\Debug\WPFToolkit.Extended.dll"; DestDir: "{app}"; Flags: restartreplace ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
111 031be0a5 George Pantazis
; Tortoise
112 4a1a5303 Panagiotis Kanavos
Source: "TortoiseOverlays\License.txt"; DestDir: "{cf}/\TortoiseOverlays"; Flags: ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
113 479e9af2 George Pantazis
Source: "TortoiseOverlays\x86\TortoiseOverlays.dll"; DestDir: "{cf}/\TortoiseOverlays"; Flags: restartreplace; Components: RequiredFiles; Languages: english french german spanish greek; Check: not Is64BitInstallMode
114 479e9af2 George Pantazis
Source: "TortoiseOverlays\x64\TortoiseOverlays.dll"; DestDir: "{cf}/\TortoiseOverlays"; Flags: restartreplace; Components: RequiredFiles; Languages: english french german spanish greek; Check: Is64BitInstallMode
115 031be0a5 George Pantazis
Source: "TortoiseOverlays\icons\XPStyle\*"; DestDir: "{cf}/\TortoiseOverlays/icons/\XPStyle"; Flags: ignoreversion; Components: RequiredFiles; Languages: english french german spanish greek
116 4a1a5303 Panagiotis Kanavos
;Redistributables
117 4a1a5303 Panagiotis Kanavos
Source: "Redistributables\*"; DestDir: "{tmp}"; Flags: ignoreversion deleteafterinstall
118 031be0a5 George Pantazis
Source: "Redistributables\x86\msvcp100.dll"; DestDir: "{sys}"; Components: RequiredFiles; Languages: english french german spanish greek; Check: not Is64BitInstallMode
119 031be0a5 George Pantazis
Source: "Redistributables\x86\msvcr100.dll"; DestDir: "{sys}"; Components: RequiredFiles; Languages: english french german spanish greek; Check: not Is64BitInstallMode
120 031be0a5 George Pantazis
Source: "Redistributables\x64\msvcp100.dll"; DestDir: "{syswow64}"; Components: RequiredFiles; Languages: english french german spanish greek; Check: Is64BitInstallMode
121 031be0a5 George Pantazis
Source: "Redistributables\x64\msvcr100.dll"; DestDir: "{syswow64}"; Components: RequiredFiles; Languages: english french german spanish greek; Check: Is64BitInstallMode
122 031be0a5 George Pantazis
; Wizard Images
123 4a1a5303 Panagiotis Kanavos
Source: "Images\grnet-logo.bmp"; Flags: dontcopy
124 4a1a5303 Panagiotis Kanavos
Source: "Images\account.bmp"; Flags: dontcopy
125 4a1a5303 Panagiotis Kanavos
126 4a1a5303 Panagiotis Kanavos
[Icons]
127 4a1a5303 Panagiotis Kanavos
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
128 4a1a5303 Panagiotis Kanavos
Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"
129 4a1a5303 Panagiotis Kanavos
Name: "{group}\{cm:ProgramOnTheWeb,GRNET}"; Filename: "{#MyURL}"
130 479e9af2 George Pantazis
;Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
131 479e9af2 George Pantazis
Name: "{group}\Uninstall {#MyAppName}"; Filename: "{app}\UninsHs.exe"; Parameters: /u0=AppId
132 f41925e1 Panagiotis Kanavos
Name: "{commonstartup}\{#MyStartupName}"; Filename: "{app}\{#MyAppExeName}"; Parameters: "startup"
133 4a1a5303 Panagiotis Kanavos
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
134 4a1a5303 Panagiotis Kanavos
;Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
135 4a1a5303 Panagiotis Kanavos
136 4a1a5303 Panagiotis Kanavos
[Run]
137 4a1a5303 Panagiotis Kanavos
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
138 4a1a5303 Panagiotis Kanavos
139 4a1a5303 Panagiotis Kanavos
[Registry]
140 031be0a5 George Pantazis
;Startup >>> Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "Pithos+"; ValueData: """{app}\{#MyAppExeName}"""; Flags: createvalueifdoesntexist uninsdeletevalue
141 b1337ede George Pantazis
Root: "HKCR"; Subkey: "*\shellex\ContextMenuHandlers\Pithos.FileContextMenu"; ValueType: string; ValueData: "{{b1f1405d-94a1-4692-b72f-fc8caf8b8700}"
142 872c3437 George Pantazis
143 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{0CFB4119-DABE-4E32-AB2D-2D41873BC599}"; ValueType: String; ValueData: "PithosContextMenu";  
144 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{0CFB4119-DABE-4E32-AB2D-2D41873BC599}\InprocServer32"; ValueType: String; ValueData: "ThreadingModel";  
145 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{0CFB4119-DABE-4E32-AB2D-2D41873BC599}\InprocServer32"; ValueType: String; ValueData: "{app}\PithosExtensions.dll";  
146 872c3437 George Pantazis
147 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.UnversionedIconOverlay";  
148 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\Implemented Categories";  
149 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\Implemented Categories\{{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}"; ValueType: String;  
150 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\InprocServer32"; ValueType: String; ValueData: "mscoree.dll";  
151 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\InprocServer32"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
152 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\InprocServer32"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Overlays.UnversionedIconOverlay";  
153 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\InprocServer32"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll";  
154 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\InprocServer32"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319"; Components: RequiredFiles
155 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\InprocServer32"; ValueType: String; ValueName: "ThreadingModel"; ValueData: "Both";  
156 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\InprocServer32\1.0.0.0"; ValueType: String;  
157 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
158 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Overlays.UnversionedIconOverlay";  
159 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll";  
160 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319"; Components: RequiredFiles
161 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}\ProgId"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.UnversionedIconOverlay";  
162 872c3437 George Pantazis
163 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{11051AB4-D786-4248-BC6E-369F25EC74E4}"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.DeletedIconOverlay";  
164 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{11051AB4-D786-4248-BC6E-369F25EC74E4}\Implemented Categories\{{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}";  
165 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{11051AB4-D786-4248-BC6E-369F25EC74E4}\InprocServer32"; ValueType: String; ValueData: "mscoree.dll";  
166 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{11051AB4-D786-4248-BC6E-369F25EC74E4}\InprocServer32"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
167 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{11051AB4-D786-4248-BC6E-369F25EC74E4}\InprocServer32"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Overlays.DeletedIconOverlay";  
168 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{11051AB4-D786-4248-BC6E-369F25EC74E4}\InprocServer32"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll"; Components: RequiredFiles
169 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{11051AB4-D786-4248-BC6E-369F25EC74E4}\InprocServer32"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319";  
170 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{11051AB4-D786-4248-BC6E-369F25EC74E4}\InprocServer32"; ValueType: String; ValueName: "ThreadingModel"; ValueData: "Both";  
171 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{11051AB4-D786-4248-BC6E-369F25EC74E4}\ProgId"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.DeletedIconOverlay";  
172 872c3437 George Pantazis
173 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.UnversionedIconOverlay";  
174 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\Implemented Categories";  
175 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\Implemented Categories\{{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}"; ValueType: String;  
176 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\InprocServer32"; ValueType: String; ValueData: "mscoree.dll";  
177 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\InprocServer32"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
178 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\InprocServer32"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Overlays.NormalIconOverlay";  
179 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\InprocServer32"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll";  
180 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\InprocServer32"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319";  Components: RequiredFiles
181 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\InprocServer32"; ValueType: String; ValueName: "ThreadingModel"; ValueData: "Both";  
182 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\InprocServer32\1.0.0.0"; ValueType: String;  
183 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
184 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Overlays.NormalIconOverlay";  
185 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll";  
186 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319"; Components: RequiredFiles
187 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}\ProgId"; ValueType: String; ValueName: "(Default)"; ValueData: "Pithos.ShellExtensions.Overlays.NormalIconOverlay";  
188 872c3437 George Pantazis
189 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.UnversionedIconOverlay";  
190 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\Implemented Categories";  
191 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\Implemented Categories\{{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}"; ValueType: String;  
192 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\InprocServer32"; ValueType: String; ValueData: "mscoree.dll";  
193 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\InprocServer32"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
194 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\InprocServer32"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Overlays.ModifiedIconOverlay";  
195 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\InprocServer32"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll";  
196 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\InprocServer32"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319"; Components: RequiredFiles
197 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\InprocServer32"; ValueType: String; ValueName: "ThreadingModel"; ValueData: "Both";  
198 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\InprocServer32\1.0.0.0"; ValueType: String;  
199 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
200 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Overlays.ModifiedIconOverlay";  
201 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll";  
202 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319"; Components: RequiredFiles
203 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}\ProgId"; ValueType: String; ValueName: "(Default)"; ValueData: "Pithos.ShellExtensions.Overlays.ModifiedIconOverlay";  
204 872c3437 George Pantazis
205 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.UnversionedIconOverlay";  
206 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\Implemented Categories";  
207 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\Implemented Categories\{{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}"; ValueType: String;  
208 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\InprocServer32"; ValueType: String; ValueData: "mscoree.dll";  
209 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\InprocServer32"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
210 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\InprocServer32"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Overlays.ConflictIconOverlay";  
211 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\InprocServer32"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll";  
212 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\InprocServer32"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319"; Components: RequiredFiles
213 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\InprocServer32"; ValueType: String; ValueName: "ThreadingModel"; ValueData: "Both";  
214 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\InprocServer32\1.0.0.0"; ValueType: String;  
215 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
216 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Overlays.ConflictIconOverlay";  
217 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll";  
218 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319";  Components: RequiredFiles
219 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}\ProgId"; ValueType: String; ValueName: "(Default)"; ValueData: "Pithos.ShellExtensions.Overlays.ConflictIconOverlay";  
220 872c3437 George Pantazis
221 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.UnversionedIconOverlay";  
222 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\Implemented Categories";  
223 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\Implemented Categories\{{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}"; ValueType: String;  
224 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\InprocServer32"; ValueType: String; ValueData: "mscoree.dll";  
225 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\InprocServer32"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
226 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\InprocServer32"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Menus.FileContextMenu";  
227 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\InprocServer32"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll";  
228 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\InprocServer32"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319"; Components: RequiredFiles
229 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\InprocServer32"; ValueType: String; ValueName: "ThreadingModel"; ValueData: "Both";  
230 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\InprocServer32\1.0.0.0"; ValueType: String;  
231 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
232 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Menus.FileContextMenu";  
233 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll";  
234 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319"; Components: RequiredFiles
235 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}\ProgId"; ValueType: String; ValueName: "(Default)"; ValueData: "Pithos.ShellExtensions.Menus.FileContextMenu";  
236 872c3437 George Pantazis
237 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.UnversionedIconOverlay";  
238 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\Implemented Categories";  
239 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\Implemented Categories\{{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}"; ValueType: String;  
240 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\InprocServer32"; ValueType: String; ValueName: "(Default)"; ValueData: "mscoree.dll";  
241 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\InprocServer32"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
242 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\InprocServer32"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Overlays.AddedIcodOverlay";  
243 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\InprocServer32"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll";  
244 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\InprocServer32"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319"; Components: RequiredFiles
245 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\InprocServer32"; ValueType: String; ValueName: "ThreadingModel"; ValueData: "Both";  
246 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "(Default)";  
247 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "Assembly"; ValueData: "Pithos.ShellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de";  
248 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "Class"; ValueData: "Pithos.ShellExtensions.Overlays.AddedIcodOverlay";  
249 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "CodeBase"; ValueData: "{app}\Pithos.ShellExtensions.dll";  
250 f7767e1e George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\InprocServer32\1.0.0.0"; ValueType: String; ValueName: "RuntimeVersion"; ValueData: "v4.0.30319"; Components: RequiredFiles
251 b1337ede George Pantazis
Root: "HKCR"; Subkey: "CLSID\{{EAD1663B-9A03-4E92-80D3-B01B981CD828}\ProgId"; ValueType: String; ValueName: "(Default)"; ValueData: "Pithos.ShellExtensions.Overlays.AddedIcodOverlay";  
252 479e9af2 George Pantazis
  
253 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Directory\Background\shellex\ContextMenuHandlers\Pithos.FileContextMenu"; ValueType: String; ValueData: "{{b1f1405d-94a1-4692-b72f-fc8caf8b8700}";  
254 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Directory\shellex\ContextMenuHandlers\Pithos.FileContextMenu"; ValueType: String; ValueData: "{{b1f1405d-94a1-4692-b72f-fc8caf8b8700}";  
255 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.FileContextMenu"; ValueType: String; ValueData: "Pithos.ShellExtensions.Menus.FileContextMenu";  
256 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.FileContextMenu\CLSID"; ValueType: String; ValueData: "{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}";  
257 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Menus.FileContextMenu"; ValueType: String; ValueData: "Pithos.ShellExtensions.Menus.FileContextMenu";  
258 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Menus.FileContextMenu\CLSID"; ValueType: String; ValueData: "{{B1F1405D-94A1-4692-B72F-FC8CAF8B8700}";  
259 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.AddedIconOverlay"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.AddedIconOverlay";  
260 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.AddedIconOverlay\CLSID"; ValueType: String; ValueData: "{{EAD1663B-9A03-4E92-80D3-B01B981CD828}";  
261 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.ConflictIconOverlay"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.ConflictIconOverlay";  
262 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.ConflictIconOverlay\CLSID"; ValueType: String; ValueData: "{{3EFA16FC-C6B6-4673-BFEC-BD9518F1EFCE}";  
263 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.DeletedIconOverlay"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.DeletedIconOverlay";  
264 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.DeletedIconOverlay\CLSID"; ValueType: String; ValueData: "{{11051AB4-D786-4248-BC6E-369F25EC74E4}";  
265 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.ModifiedIconOverlay"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.ModifiedIconOverlay";  
266 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.ModifiedIconOverlay\CLSID"; ValueType: String; ValueData: "{{3D05BCB0-733B-49CD-B340-9D79C17C73CC}";  
267 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.NormalIconOverlay"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.NormalIconOverlay";  
268 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.NormalIconOverlay\CLSID"; ValueType: String; ValueData: "{{1941D8CA-2727-491B-BC03-9E8CA4FE972B}";  
269 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.UnversionedIconOverlay"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.UnversionedIconOverlay";  
270 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.UnversionedIconOverlay\CLSID"; ValueType: String; ValueData: "{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}";  
271 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.UnversionedOverlay"; ValueType: String; ValueData: "Pithos.ShellExtensions.Overlays.UnversionedOverlay";  
272 b1337ede George Pantazis
Root: "HKCR"; Subkey: "Pithos.ShellExtensions.Overlays.UnversionedOverlay\CLSID"; ValueType: String; ValueData: "{{10CF08FE-1252-4AAB-BE78-971B0C5E8AE0}";  
273 dd4c36e2 George Pantazis
;
274 b1337ede George Pantazis
Root: "HKCU"; Subkey: "Software\{#Manufacturer}";  
275 b1337ede George Pantazis
Root: "HKLM"; Subkey: "Software\{#Manufacturer}\Pithos"; ValueType: dword; ValueName: "ShowOnlyInExplorer"; ValueData: "0";  
276 dd4c36e2 George Pantazis
;
277 b1337ede George Pantazis
Root: "HKLM"; Subkey: "Software\TortoiseOverlays\Added"; ValueType: String; ValueName: "Pithos"; ValueData: "{{ead1663b-9a03-4e92-80d3-b01b981cd828}";  
278 b1337ede George Pantazis
Root: "HKLM"; Subkey: "Software\TortoiseOverlays\Conflict"; ValueType: String; ValueName: "Pithos"; ValueData: "{{3efa16fc-c6b6-4673-bfec-bd9518f1efce}";  
279 b1337ede George Pantazis
Root: "HKLM"; Subkey: "Software\TortoiseOverlays\Deleted"; ValueType: String; ValueName: "Pithos"; ValueData: "{{11051AB4-D786-4248-BC6E-369F25EC74E4}";  
280 f7767e1e George Pantazis
Root: "HKLM"; Subkey: "Software\TortoiseOverlays\Modified"; ValueType: String; ValueName: "Pithos"; ValueData: "{{3d05bcb0-733b-49cd-b340-9d79c17c73cc}"; Components: RequiredFiles
281 b1337ede George Pantazis
Root: "HKLM"; Subkey: "Software\TortoiseOverlays\Normal"; ValueType: String; ValueName: "Pithos"; ValueData: "{{1941d8ca-2727-491b-bc03-9e8ca4fe972b}";  
282 b1337ede George Pantazis
Root: "HKLM"; Subkey: "Software\TortoiseOverlays\Unversioned"; ValueType: String; ValueName: "Pithos"; ValueData: "{{10cf08fe-1252-4aab-be78-971b0c5e8ae0}";  
283 e3e406f6 George Pantazis
284 f7767e1e George Pantazis
Root: "HKLM"; Subkey: "Software\{#Manufacturer}\{#MyAppName}\{{56EDB812-2F78-060D-D5D1-6AA27B1165A5}"; ValueType: String; ValueData: "_D9DCD31A441A4B7B845F98CB12D6BFBA"; Components: RequiredFiles
285 e3e406f6 George Pantazis
286 4a1a5303 Panagiotis Kanavos
[Components]
287 4a1a5303 Panagiotis Kanavos
Name: "RequiredFiles"; Description: "Required Files"; Types: Advanced Default; Flags: checkablealone fixed; Languages: english french german greek spanish
288 4a1a5303 Panagiotis Kanavos
Name: "Documentation"; Description: "Documentation"; Types: Default Advanced; Flags: dontinheritcheck; Languages: english french german greek spanish
289 4a1a5303 Panagiotis Kanavos
290 4a1a5303 Panagiotis Kanavos
[Types]
291 4a1a5303 Panagiotis Kanavos
Name: "Default"; Description: "Default Installation"; Languages: english french german greek spanish
292 4a1a5303 Panagiotis Kanavos
Name: "Advanced"; Description: "Custom Installation"; Flags: iscustom; Languages: english german french greek spanish
293 4a1a5303 Panagiotis Kanavos
294 4a1a5303 Panagiotis Kanavos
[Dirs]
295 4a1a5303 Panagiotis Kanavos
Name: "{cf}/\TortoiseOverlays"; Components: RequiredFiles; Tasks: desktopicon; Languages: english french german greek spanish
296 4a1a5303 Panagiotis Kanavos
Name: "{cf}/\TortoiseOverlays/\icons"
297 4a1a5303 Panagiotis Kanavos
Name: "{cf}/\TortoiseOverlays/icons/\XPStyle"
298 4a1a5303 Panagiotis Kanavos
299 4a1a5303 Panagiotis Kanavos
300 4a1a5303 Panagiotis Kanavos
[Code]
301 4a1a5303 Panagiotis Kanavos
const 
302 4a1a5303 Panagiotis Kanavos
  WM_QUIT = 18;
303 031be0a5 George Pantazis
  MyAppMutex = 'PITHOSMUTEX';
304 ce7c8a43 George Pantazis
  XMLURL = 'https://code.grnet.gr/projects/pithos-ms-client/repository/revisions/master/raw/trunk/Pithos.Installer/versioninfo.xml';
305 ce7c8a43 George Pantazis
  XMLUpdate = 'MYLatest.xml';
306 031be0a5 George Pantazis
  
307 4a1a5303 Panagiotis Kanavos
var 
308 4a1a5303 Panagiotis Kanavos
dotNET40Missing: Boolean;
309 ce7c8a43 George Pantazis
       IsUpdate: Boolean;
310 4a1a5303 Panagiotis Kanavos
      UsagePage: TOutputMsgWizardPage;
311 4a1a5303 Panagiotis Kanavos
      Wz1, Wz2 : TOutputMsgWizardPage;
312 ce7c8a43 George Pantazis
         ChkBox: TCheckBox;
313 ce7c8a43 George Pantazis
        LicenseID: Integer;      
314 4a1a5303 Panagiotis Kanavos
315 479e9af2 George Pantazis
// IssFindModule called on in/uninstall
316 479e9af2 George Pantazis
function IssFindModule(hWnd: Integer; Modulename: String; Language: PAnsiChar; Silent: Boolean; CanIgnore: Boolean ): Integer;
317 479e9af2 George Pantazis
external 'IssFindModuleW@files:IssProc.dll stdcall setuponly';
318 479e9af2 George Pantazis
319 479e9af2 George Pantazis
function IssFindModuleU(hWnd: Integer; Modulename: String; Language: PAnsiChar; Silent: Boolean; CanIgnore: Boolean ): Integer;
320 479e9af2 George Pantazis
external 'IssFindModuleW@{app}\IssProc.dll stdcall uninstallonly';
321 479e9af2 George Pantazis
322 479e9af2 George Pantazis
//Call this to enable search for any in use file type
323 479e9af2 George Pantazis
function IssEnableAnyFileInUseCheck(Folder: String): Integer;
324 479e9af2 George Pantazis
external 'IssEnableAnyFileInUseCheckW@files:IssProc.dll stdcall setuponly';
325 479e9af2 George Pantazis
326 479e9af2 George Pantazis
//IssEnableAnyFileInUseCheck called on uninstall
327 479e9af2 George Pantazis
function IssEnableAnyFileInUseCheckU(Folder: String): Integer;
328 479e9af2 George Pantazis
external 'IssEnableAnyFileInUseCheckW@{app}\IssProc.dll stdcall uninstallonly';
329 479e9af2 George Pantazis
330 479e9af2 George Pantazis
//Register for commercial use on install
331 479e9af2 George Pantazis
function IssRegister(rName: PAnsiChar; rKey: PAnsiChar): Integer;
332 479e9af2 George Pantazis
external 'IssRegister@files:IssProc.dll stdcall setuponly';
333 479e9af2 George Pantazis
334 479e9af2 George Pantazis
//Register for commercial use on uninstall
335 479e9af2 George Pantazis
function IssRegisterU(rName: PAnsiChar; rKey: PAnsiChar): Integer;
336 479e9af2 George Pantazis
external 'IssRegister@{app}\IssProc.dll stdcall uninstallonly';
337 479e9af2 George Pantazis
338 479e9af2 George Pantazis
// Importing LoadSkin API from ISSkin.DLL
339 479e9af2 George Pantazis
procedure LoadSkin(lpszPath: String; lpszIniFileName: String);
340 479e9af2 George Pantazis
external 'LoadSkin@files:isskin.dll stdcall';
341 479e9af2 George Pantazis
342 479e9af2 George Pantazis
procedure UnloadSkin();
343 479e9af2 George Pantazis
external 'UnloadSkin@files:isskin.dll stdcall';
344 479e9af2 George Pantazis
345 479e9af2 George Pantazis
// Importing ShowWindow Windows API from User32.DLL
346 479e9af2 George Pantazis
function ShowWindow(hWnd: Integer; uType: Integer): Integer;
347 479e9af2 George Pantazis
external 'ShowWindow@user32.dll stdcall';
348 479e9af2 George Pantazis
349 4a1a5303 Panagiotis Kanavos
function IsDotNetDetected(version: string; service: cardinal): boolean;
350 4a1a5303 Panagiotis Kanavos
//    'v1.1.4322'     .NET Framework 1.1
351 4a1a5303 Panagiotis Kanavos
//    'v2.0.50727'    .NET Framework 2.0
352 4a1a5303 Panagiotis Kanavos
//    'v3.0'          .NET Framework 3.0
353 4a1a5303 Panagiotis Kanavos
//    'v3.5'          .NET Framework 3.5
354 4a1a5303 Panagiotis Kanavos
//    'v4\Client'     .NET Framework 4.0 Client Profile
355 4a1a5303 Panagiotis Kanavos
//    'v4\Full'       .NET Framework 4.0 Full Installation
356 4a1a5303 Panagiotis Kanavos
// service pack
357 4a1a5303 Panagiotis Kanavos
//    0               No service packs required
358 4a1a5303 Panagiotis Kanavos
//    1, 2, etc.      Service pack 1, 2, etc. required
359 4a1a5303 Panagiotis Kanavos
//    if not IsDotNetDetected('v4\Client', 0) then begin
360 4a1a5303 Panagiotis Kanavos
var
361 4a1a5303 Panagiotis Kanavos
    key: string;
362 4a1a5303 Panagiotis Kanavos
    install, serviceCount: cardinal;
363 4a1a5303 Panagiotis Kanavos
    success: boolean;
364 ce7c8a43 George Pantazis
   
365 4a1a5303 Panagiotis Kanavos
begin
366 4a1a5303 Panagiotis Kanavos
    key := 'SOFTWARE\Microsoft\NET Framework Setup\NDP\' + version;
367 4a1a5303 Panagiotis Kanavos
    // .NET 3.0 uses value InstallSuccess in subkey Setup
368 4a1a5303 Panagiotis Kanavos
    if Pos('v3.0', version) = 1 then begin
369 4a1a5303 Panagiotis Kanavos
        success := RegQueryDWordValue(HKLM, key + '\Setup', 'InstallSuccess', install);
370 4a1a5303 Panagiotis Kanavos
    end else begin
371 4a1a5303 Panagiotis Kanavos
        success := RegQueryDWordValue(HKLM, key, 'Install', install);
372 4a1a5303 Panagiotis Kanavos
    end;
373 4a1a5303 Panagiotis Kanavos
    // .NET 4.0 uses value Servicing instead of SP
374 4a1a5303 Panagiotis Kanavos
    if Pos('v4', version) = 1 then begin
375 4a1a5303 Panagiotis Kanavos
        success := success and RegQueryDWordValue(HKLM, key, 'Servicing', serviceCount);
376 4a1a5303 Panagiotis Kanavos
    end else begin
377 4a1a5303 Panagiotis Kanavos
        success := success and RegQueryDWordValue(HKLM, key, 'SP', serviceCount);
378 4a1a5303 Panagiotis Kanavos
    end;
379 4a1a5303 Panagiotis Kanavos
    result := success and (install = 1) and (serviceCount >= service);
380 4a1a5303 Panagiotis Kanavos
end;
381 4a1a5303 Panagiotis Kanavos
382 479e9af2 George Pantazis
function NextButtonClick(CurPage: Integer): Boolean;
383 479e9af2 George Pantazis
var
384 479e9af2 George Pantazis
  hWnd: Integer;
385 479e9af2 George Pantazis
  sModuleName: String;
386 479e9af2 George Pantazis
  nCode: Integer;  {IssFindModule returns: 0 if no module found; 1 if cancel pressed; 2 if ignore pressed; -1 if an error occured }
387 479e9af2 George Pantazis
begin
388 479e9af2 George Pantazis
  Result := true;
389 479e9af2 George Pantazis
390 479e9af2 George Pantazis
 if CurPage = wpReady then
391 479e9af2 George Pantazis
   begin
392 479e9af2 George Pantazis
      Result := false;
393 479e9af2 George Pantazis
            
394 479e9af2 George Pantazis
      hWnd := StrToInt(ExpandConstant('{wizardhwnd}'));                     { get main wizard handle }
395 479e9af2 George Pantazis
      IssEnableAnyFileInUseCheck(ExpandConstant('{app}'));
396 423e3705 George Pantazis
      sModuleName :=ExpandConstant('pithos*.dll;PithosPlus.exe');            
397 479e9af2 George Pantazis
      nCode:=IssFindModule(hWnd,sModuleName,'en',false,true);                { search for module and display files-in-use window if found  }
398 479e9af2 George Pantazis
     if nCode=1 then  begin                                                 { cancel pressed or files-in-use window closed }
399 479e9af2 George Pantazis
          PostMessage (WizardForm.Handle, $0010, 0, 0);                     { quit setup, $0010=WM_CLOSE }
400 479e9af2 George Pantazis
     end else if (nCode=0) or (nCode=2) then begin                          { no module found or ignored pressed}
401 479e9af2 George Pantazis
          Result := true;                                                   { continue setup  }
402 479e9af2 George Pantazis
     end;
403 479e9af2 George Pantazis
  end;
404 479e9af2 George Pantazis
end;
405 479e9af2 George Pantazis
406 4a1a5303 Panagiotis Kanavos
function InitializeSetup(): Boolean;
407 4a1a5303 Panagiotis Kanavos
begin
408 479e9af2 George Pantazis
  //Unpack The Skin
409 e6faf02b George Pantazis
  ExtractTemporaryFile('GRNETWhite.cjstyles');
410 e6faf02b George Pantazis
  LoadSkin(ExpandConstant('{tmp}\GRNETWhite.cjstyles'), '');
411 479e9af2 George Pantazis
    
412 479e9af2 George Pantazis
  // Test the presence of .NET 4.0
413 479e9af2 George Pantazis
  if (not(RegKeyExists(HKLM, 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4'))) then
414 479e9af2 George Pantazis
      dotNET40Missing := True;
415 479e9af2 George Pantazis
    
416 479e9af2 George Pantazis
  Result := True;
417 479e9af2 George Pantazis
end;
418 4a1a5303 Panagiotis Kanavos
419 479e9af2 George Pantazis
procedure DeinitializeSetup();
420 479e9af2 George Pantazis
begin
421 479e9af2 George Pantazis
  //Hide Window widget
422 479e9af2 George Pantazis
  ShowWindow(StrToInt(ExpandConstant('{wizardhwnd}')), 0);
423 479e9af2 George Pantazis
  UnloadSkin();
424 4a1a5303 Panagiotis Kanavos
end;
425 4a1a5303 Panagiotis Kanavos
426 4a1a5303 Panagiotis Kanavos
function ShouldInstalldotNET40(): Boolean;
427 4a1a5303 Panagiotis Kanavos
begin
428 4a1a5303 Panagiotis Kanavos
    Result := dotNET40Missing;
429 4a1a5303 Panagiotis Kanavos
end;
430 4a1a5303 Panagiotis Kanavos
431 4a1a5303 Panagiotis Kanavos
procedure CurPageChanged(CurPageID: Integer);
432 4a1a5303 Panagiotis Kanavos
begin
433 4a1a5303 Panagiotis Kanavos
  if CurPageID = wpInstalling then
434 4a1a5303 Panagiotis Kanavos
    IsUpdate := FileExists(ExpandConstant('{app}\{#MyAppExeName}'));
435 ce7c8a43 George Pantazis
  if CurPageID = LicenseID then
436 ce7c8a43 George Pantazis
    Wizardform.NextButton.Enabled := False;
437 479e9af2 George Pantazis
  if (Pos('/SP-', UpperCase(GetCmdTail)) > 0) and (CurPageID = wpSelectComponents) then
438 479e9af2 George Pantazis
    WizardForm.BackButton.Visible := False;
439 4a1a5303 Panagiotis Kanavos
end;
440 4a1a5303 Panagiotis Kanavos
441 4a1a5303 Panagiotis Kanavos
function NotAnUpdate: Boolean;
442 4a1a5303 Panagiotis Kanavos
begin
443 4a1a5303 Panagiotis Kanavos
  result := not IsUpdate;
444 4a1a5303 Panagiotis Kanavos
end;
445 4a1a5303 Panagiotis Kanavos
446 4a1a5303 Panagiotis Kanavos
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
447 4a1a5303 Panagiotis Kanavos
var
448 4a1a5303 Panagiotis Kanavos
mRes : integer;
449 4a1a5303 Panagiotis Kanavos
begin
450 4a1a5303 Panagiotis Kanavos
  case CurUninstallStep of
451 4a1a5303 Panagiotis Kanavos
    usUninstall:
452 4a1a5303 Panagiotis Kanavos
      begin
453 4a1a5303 Panagiotis Kanavos
        mRes := MsgBox('Do you want to remove your settings?', mbConfirmation, MB_YESNO or MB_DEFBUTTON2)
454 4a1a5303 Panagiotis Kanavos
        if mRes = IDYES then
455 031be0a5 George Pantazis
          begin            
456 ce7c8a43 George Pantazis
            DelTree(ExpandConstant('{localappdata}')+'\GRNET\PithosPlus.exe_StrongName_1vmy3hmn3mscykecwcnmpvno4d4mqi52',true,true,true);     
457 031be0a5 George Pantazis
            DelTree(ExpandConstant('{localappdata}')+'\GRNET\PITHOS\',true,true,true);
458 ce7c8a43 George Pantazis
            
459 4a1a5303 Panagiotis Kanavos
          End
460 4a1a5303 Panagiotis Kanavos
        else
461 4a1a5303 Panagiotis Kanavos
          MsgBox ('Settings will not be removed', mbInformation, MB_OK);        
462 4a1a5303 Panagiotis Kanavos
      end;
463 4a1a5303 Panagiotis Kanavos
  end;
464 4a1a5303 Panagiotis Kanavos
end;
465 4a1a5303 Panagiotis Kanavos
466 4a1a5303 Panagiotis Kanavos
procedure BitmapImageOnClick(Sender: TObject);
467 4a1a5303 Panagiotis Kanavos
var
468 4a1a5303 Panagiotis Kanavos
  ErrCode: integer;
469 4a1a5303 Panagiotis Kanavos
begin
470 4a1a5303 Panagiotis Kanavos
  ShellExec('open', 'http://pithos.grnet.gr','', '', SW_SHOW, ewNoWait, ErrCode);
471 4a1a5303 Panagiotis Kanavos
end;
472 4a1a5303 Panagiotis Kanavos
473 ce7c8a43 George Pantazis
procedure LicenseOnClick(Sender: TObject);
474 ce7c8a43 George Pantazis
begin
475 ce7c8a43 George Pantazis
  if chkBox.checked Then
476 ce7c8a43 George Pantazis
  Wizardform.NextButton.Enabled := True else
477 ce7c8a43 George Pantazis
  Wizardform.NextButton.Enabled := False;  
478 ce7c8a43 George Pantazis
end;
479 ce7c8a43 George Pantazis
480 4a1a5303 Panagiotis Kanavos
procedure CreateTheWizardPages;
481 4a1a5303 Panagiotis Kanavos
var
482 4a1a5303 Panagiotis Kanavos
  Page: TWizardPage;
483 4a1a5303 Panagiotis Kanavos
  Button, FormButton: TNewButton;
484 4a1a5303 Panagiotis Kanavos
  BitmapImage,BitmapImage1: TBitmapImage;
485 4a1a5303 Panagiotis Kanavos
  BitmapFileName: String;
486 4a1a5303 Panagiotis Kanavos
  Memo: TMemo;
487 4a1a5303 Panagiotis Kanavos
  LabelWz: TLabel;
488 4a1a5303 Panagiotis Kanavos
489 ce7c8a43 George Pantazis
begin  
490 4a1a5303 Panagiotis Kanavos
  Page := CreateCustomPage(wpWelcome, 'GRNET Pithos+ Dev Build {#MyAppVersion}', 'Software License');
491 4a1a5303 Panagiotis Kanavos
  BitmapFileName := ExpandConstant('{tmp}\grnet-logo.bmp');
492 4a1a5303 Panagiotis Kanavos
  ExtractTemporaryFile(ExtractFileName(BitmapFileName));
493 4a1a5303 Panagiotis Kanavos
  
494 4a1a5303 Panagiotis Kanavos
  Page.Surface.Color := clWhite;
495 4a1a5303 Panagiotis Kanavos
  BitmapImage := TBitmapImage.Create(Page);
496 4a1a5303 Panagiotis Kanavos
  BitmapImage.AutoSize := True;
497 4a1a5303 Panagiotis Kanavos
  BitmapImage.Bitmap.LoadFromFile(BitmapFileName);
498 4a1a5303 Panagiotis Kanavos
  BitmapImage.Cursor := crHand;
499 4a1a5303 Panagiotis Kanavos
  BitmapImage.Left := (Page.Surfacewidth - BitmapImage.Width) / 2;
500 4a1a5303 Panagiotis Kanavos
  BitmapImage.Top := Page.Surface.Top;
501 4a1a5303 Panagiotis Kanavos
  BitmapImage.OnClick := @BitmapImageOnClick;
502 4a1a5303 Panagiotis Kanavos
  BitmapImage.Parent := Page.Surface;
503 4a1a5303 Panagiotis Kanavos
  
504 4a1a5303 Panagiotis Kanavos
  Memo := TMemo.Create(Page);
505 4a1a5303 Panagiotis Kanavos
  Memo.Top := BitmapImage.Height;
506 4a1a5303 Panagiotis Kanavos
  Memo.Width := Page.SurfaceWidth;
507 ce7c8a43 George Pantazis
  Memo.Height := Page.SurfaceHeight - (BitmapImage.Height + 20);
508 4a1a5303 Panagiotis Kanavos
  Memo.ScrollBars := ssVertical;
509 4a1a5303 Panagiotis Kanavos
  Memo.Text := 'This software is provided by GRNET S.A. "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall GRNET S.A. or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.';
510 4a1a5303 Panagiotis Kanavos
  Memo.Parent := Page.Surface;
511 4a1a5303 Panagiotis Kanavos
  
512 ce7c8a43 George Pantazis
  ChkBox := TCheckBox.Create(Page);
513 ce7c8a43 George Pantazis
  ChkBox.Top := BitmapImage.Height + Memo.Height;
514 ce7c8a43 George Pantazis
  ChkBox.Width := Page.SurfaceWidth;
515 2d537530 George Pantazis
  ChkBox.Caption := 'I agree with the above terms';
516 ce7c8a43 George Pantazis
  ChkBox.Checked := cbUnChecked;
517 ce7c8a43 George Pantazis
  chkBox.OnClick := @LicenseOnClick;
518 ce7c8a43 George Pantazis
  ChkBox.Parent := Page.Surface;
519 ce7c8a43 George Pantazis
  LicenseID := Page.ID;
520 ce7c8a43 George Pantazis
  
521 4a1a5303 Panagiotis Kanavos
  Page := CreateCustomPage(wpInfoAfter, 'First Steps', 'Setup your account');
522 4a1a5303 Panagiotis Kanavos
  BitmapFileName := ExpandConstant('{tmp}\account.bmp');
523 4a1a5303 Panagiotis Kanavos
  ExtractTemporaryFile(ExtractFileName(BitmapFileName));
524 4a1a5303 Panagiotis Kanavos
525 4a1a5303 Panagiotis Kanavos
  Page.Surface.Color := clWhite;
526 4a1a5303 Panagiotis Kanavos
  BitmapImage1 := TBitmapImage.Create(Page);
527 4a1a5303 Panagiotis Kanavos
  BitmapImage1.width := Page.SurfaceWidth;
528 4a1a5303 Panagiotis Kanavos
  BitmapImage1.height := PAge.SurfaceHeight;
529 4a1a5303 Panagiotis Kanavos
  BitmapImage1.Bitmap.LoadFromFile(BitmapFileName);
530 031be0a5 George Pantazis
  BitmapImage1.Left := 0 
531 4a1a5303 Panagiotis Kanavos
  BitmapImage1.Top := Page.Surface.Top;
532 4a1a5303 Panagiotis Kanavos
  BitmapImage1.Parent := Page.Surface;
533 4a1a5303 Panagiotis Kanavos
  
534 4a1a5303 Panagiotis Kanavos
  LabelWz := Tlabel.Create(Page);
535 4a1a5303 Panagiotis Kanavos
  LabelWz.Top := 0;
536 4a1a5303 Panagiotis Kanavos
  LabelWz.Caption := 'To setup your account right click on the Pithos+ icon in the taskbar.';
537 4a1a5303 Panagiotis Kanavos
  LabelWz.Parent := Page.Surface;
538 4a1a5303 Panagiotis Kanavos
end;
539 4a1a5303 Panagiotis Kanavos
540 4a1a5303 Panagiotis Kanavos
procedure InitializeWizard;
541 4a1a5303 Panagiotis Kanavos
var
542 4a1a5303 Panagiotis Kanavos
winHwnd: longint;
543 4a1a5303 Panagiotis Kanavos
retVal : boolean;
544 4a1a5303 Panagiotis Kanavos
strProg: string;
545 4a1a5303 Panagiotis Kanavos
begin
546 031be0a5 George Pantazis
  winHwnd := FindWindowByClassName('{MyAppMutex}');
547 031be0a5 George Pantazis
  if winHwnd<>0 then begin { no module found or ignore pressed}
548 300caaab George Pantazis
      msgbox('mutexfound', mbInformation,mb_OK);
549 4a1a5303 Panagiotis Kanavos
      postmessage(winHwnd,WM_QUIT,0,0);
550 d137ce33 George Pantazis
   //abort();
551 031be0a5 George Pantazis
  end;
552 ce7c8a43 George Pantazis
  CreateTheWizardPages; 
553 4a1a5303 Panagiotis Kanavos
end;
554 4a1a5303 Panagiotis Kanavos
555 479e9af2 George Pantazis
function ShouldSkipPage(CurPage: Integer): Boolean;
556 479e9af2 George Pantazis
    begin
557 479e9af2 George Pantazis
      if Pos('/SP-', UpperCase(GetCmdTail)) > 0 then
558 479e9af2 George Pantazis
        case CurPage of
559 479e9af2 George Pantazis
          wpLicense, wpPassword, wpInfoBefore, wpUserInfo,
560 479e9af2 George Pantazis
          wpSelectDir, wpSelectProgramGroup, wpInfoAfter:
561 479e9af2 George Pantazis
            Result := True;
562 479e9af2 George Pantazis
        end;
563 479e9af2 George Pantazis
    end;
564 479e9af2 George Pantazis
    
565 4a1a5303 Panagiotis Kanavos
[Run]
566 e8fb5bcb George Pantazis
;Kill Running Task
567 87d5f2ad George Pantazis
Filename: cmd; parameters: /c taskkill /f /im pithos.exe;Flags: runhidden
568 87d5f2ad George Pantazis
Filename: cmd; parameters: /c taskkill /f /im pithos.client.WPF.exe;Flags: runhidden
569 e8fb5bcb George Pantazis
;Launch Redist
570 479e9af2 George Pantazis
Filename: {tmp}\dotNetFx40_Client_setup.exe; Description: Install Microsoft .Net Framework 4.0; Parameters: /q /noreboot; Flags: skipifdoesntexist; Check: ShouldInstalldotNET40
571 479e9af2 George Pantazis
Filename: {app}\UninsHs.exe; Parameters: /r0=AppId,{language},{srcexe}; Flags: runminimized