|
2 | 2 | #define ReleaseFilesPath "..\ReleaseFiles\" |
3 | 3 | #define ResourcesFilesPath "..\Resources\" |
4 | 4 | #define AppName "CalibreImport" |
5 | | -#define AppNameNice "Calibre Import Shell Extension" |
| 5 | +#define AppNameNice "Calibre Import shell extension" |
6 | 6 | #define MainDll "CalibreImport.dll" |
7 | 7 | #define AppIcon "MainAppIcon.ico" |
8 | 8 |
|
9 | 9 | [Setup] |
10 | 10 | ; Application metadata |
11 | 11 | AppName={#AppNameNice} |
12 | | -AppVersion=0.1.0.9 |
| 12 | +AppVersion=0.1.1.0 |
13 | 13 | DefaultDirName={autopf}\{#AppName} |
14 | 14 | DefaultGroupName={#AppName} |
15 | 15 | UninstallDisplayIcon={app}\{#MainDll} |
@@ -66,6 +66,21 @@ Source: "{#ReleaseFilesPath}*.dll"; DestDir: "{app}"; Flags: ignoreversion recur |
66 | 66 | Source: "{#ResourcesFilesPath}Wizard.bmp"; DestDir: "{tmp}"; Flags: dontcopy |
67 | 67 | Source: "{#ResourcesFilesPath}WizardLarge.bmp"; DestDir: "{tmp}"; Flags: dontcopy |
68 | 68 |
|
| 69 | +[Run] |
| 70 | +; Register SharpShell DLL first (prerequisite) |
| 71 | +Filename: "{win}\Microsoft.NET\Framework64\v4.0.30319\regasm.exe"; \ |
| 72 | + Parameters: "/codebase ""{app}\SharpShell.dll"""; \ |
| 73 | + Flags: runhidden waituntilterminated; \ |
| 74 | + StatusMsg: "Registering SharpShell..."; \ |
| 75 | + Check: Is64BitInstallMode |
| 76 | + |
| 77 | +; Register Main DLL |
| 78 | +Filename: "{win}\Microsoft.NET\Framework64\v4.0.30319\regasm.exe"; \ |
| 79 | + Parameters: "/codebase ""{app}\{#MainDll}"""; \ |
| 80 | + Flags: runhidden waituntilterminated; \ |
| 81 | + StatusMsg: "Registering {#AppNameNice}..."; \ |
| 82 | + Check: Is64BitInstallMode |
| 83 | + |
69 | 84 | [UninstallRun] |
70 | 85 | ; Unregister Main DLL |
71 | 86 | Filename: "{win}\Microsoft.NET\Framework64\v4.0.30319\regasm.exe"; \ |
|
0 commit comments