-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTypicalReplyOutlook.iss
54 lines (49 loc) · 3.28 KB
/
TypicalReplyOutlook.iss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#define AppVersion GetFileVersion(SourcePath + "bin\Release\TypicalReply.dll")
[Setup]
AppName=TypicalReply
AppVerName=TypicalReply
VersionInfoVersion={#AppVersion}
AppVersion={#AppVersion}
AppPublisher=ClearCode Inc.
UninstallDisplayIcon={app}\tr.ico
DefaultDirName={commonpf}\TypicalReply
ShowLanguageDialog=no
Compression=lzma2
SolidCompression=yes
OutputDir=dest
OutputBaseFilename=TypicalReplySetup-{#SetupSetting("AppVersion")}
VersionInfoDescription=TypicalReplySetup
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
LicenseFile=LICENSE.txt
[Registry]
Root: HKLM; Subkey: "Software\Microsoft\Office\Outlook\Addins\TypicalReply"; Flags: uninsdeletekey
Root: HKLM; Subkey: "Software\Microsoft\Office\Outlook\Addins\TypicalReply"; ValueType: string; ValueName: "Description"; ValueData: "Addon for quick replying or transfering with template"
Root: HKLM; Subkey: "Software\Microsoft\Office\Outlook\Addins\TypicalReply"; ValueType: string; ValueName: "FriendlyName"; ValueData: "TypicalReply"
Root: HKLM; Subkey: "Software\Microsoft\Office\Outlook\Addins\TypicalReply"; ValueType: string; ValueName: "Manifest"; ValueData: "file:///{app}\TypicalReply.vsto|vstolocal"
Root: HKLM; Subkey: "Software\Microsoft\Office\Outlook\Addins\TypicalReply"; ValueType: dword; ValueName: "LoadBehavior"; ValueData: 3
; Install for 32bit Office as well
Root: HKLM32; Subkey: "Software\Microsoft\Office\Outlook\Addins\TypicalReply"; Flags: uninsdeletekey
Root: HKLM32; Subkey: "Software\Microsoft\Office\Outlook\Addins\TypicalReply"; ValueType: string; ValueName: "Description"; ValueData: "Addon for quick replying or transfering with template"
Root: HKLM32; Subkey: "Software\Microsoft\Office\Outlook\Addins\TypicalReply"; ValueType: string; ValueName: "FriendlyName"; ValueData: "TypicalReply"
Root: HKLM32; Subkey: "Software\Microsoft\Office\Outlook\Addins\TypicalReply"; ValueType: string; ValueName: "Manifest"; ValueData: "file:///{app}\TypicalReply.vsto|vstolocal"
Root: HKLM32; Subkey: "Software\Microsoft\Office\Outlook\Addins\TypicalReply"; ValueType: dword; ValueName: "LoadBehavior"; ValueData: 3
; Prevent Outlook from disabling .NET addon
Root: HKCU; Subkey: "Software\Microsoft\Office\16.0\Outlook\Resiliency\DoNotDisableAddinList"; ValueType: dword; ValueName: "TypicalReply"; ValueData: 1
[Languages]
Name: en; MessagesFile: "compiler:Default.isl"
Name: ja; MessagesFile: "compiler:Languages\Japanese.isl"
Name: zh_TW; MessagesFile: "compiler:Languages\ChineseTraditional.isl"
Name: zh_CN; MessagesFile: "compiler:Languages\ChineseSimplified.isl"
[Files]
Source: "bin\Release\*.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "bin\Release\TypicalReply.dll.manifest"; DestDir: "{app}"; Flags: ignoreversion
Source: "bin\Release\TypicalReply.dll.config"; DestDir: "{app}"; Flags: ignoreversion
Source: "bin\Release\TypicalReply.vsto"; DestDir: "{app}"; Flags: ignoreversion
Source: "bin\Release\TypicalReply.pdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "Resources\tr.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: "Licenses\*"; DestDir: "{app}\Licenses"; Flags: ignoreversion recursesubdirs
Source: "LICENSE.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "{src}\DefaultConfig\TypicalReplyConfig.json"; DestDir: "{app}\DefaultConfig"; Flags:external skipifsourcedoesntexist
[Dirs]
Name: "{userappdata}\TypicalReply"