Fix message references for inches and feet
[survex.git] / survex.iss.in
blob6196e96456703730e525a176c18eaaa119e4485a
1 ; @configure_input@
2 [Setup]
3 AppName=@PRETTYPACKAGE@
4 DefaultDirName={autopf}\@PRETTYPACKAGE@
5 DefaultGroupName=@PRETTYPACKAGE@
6 OutputBaseFilename=@PACKAGE@-microsoft-windows-@VERSION@
7 ; FIXME translate this!
8 ;AppComments=Survex Cave Surveying Software
9 AppPublisher=The Survex Project
10 AppPublisherURL=https://survex.com/
11 AppVersion=@VERSION@
12 VersionInfoTextVersion=@VERSION@
13 VersionInfoVersion=@VERSION@
14 ChangesAssociations=yes
15 LicenseFile=COPYING.txt
16 Uninstallable=yes
17 AppCopyright=@COPYRIGHT_MSG@
18 ;WizardImageFile=survey.bmp
19 ;WizardSmallImageFile=??? (up to 55x58)
20 LZMANumFastBytes=273
21 SolidCompression=yes
22 ; Only show the "choose language" dialog if there isn't an exact match for
23 ; the UI language the user has set.
24 ShowLanguageDialog=auto
25 ;SetupIconFile=FIXME ; file in installation source directory
26 ;UninstallDisplayIcon=FIXME
27 ;AppReadmeFile=FIXME
28 ;AppSupportURL=FIXME
29 ;AppUpdatesURL=FIXME
30 AppContact=olly@survex.com
31 ; Install file timestamps correctly!
32 TimeStampsInUTC=yes
33 ; SignedUninstaller ???
34 ; If upgrading, default to the language selected last time.
35 UsePreviousLanguage=yes
36 WizardStyle=modern
37 ; Allow installing without admin rights.
38 PrivilegesRequiredOverridesAllowed=dialog
40 [Languages]
41 ; Official translations:
42 Name: "bg"; MessagesFile: "compiler:Languages/Bulgarian.isl"
43 Name: "ca"; MessagesFile: "compiler:Languages/Catalan.isl"
44 Name: "cs"; MessagesFile: "compiler:Languages/Czech.isl"
45 Name: "de"; MessagesFile: "compiler:Languages/German.isl"
46 Name: "en"; MessagesFile: "compiler:Default.isl"
47 Name: "es"; MessagesFile: "compiler:Languages/Spanish.isl"
48 Name: "fr"; MessagesFile: "compiler:Languages/French.isl"
49 Name: "hu"; MessagesFile: "compiler:Languages/Hungarian.isl"
50 Name: "it"; MessagesFile: "compiler:Languages/Italian.isl"
51 Name: "pl"; MessagesFile: "compiler:Languages/Polish.isl"
52 Name: "pt"; MessagesFile: "compiler:Languages/Portuguese.isl"
53 Name: "pt_br"; MessagesFile: "compiler:Languages/BrazilianPortuguese.isl"
54 Name: "ru"; MessagesFile: "compiler:Languages/Russian.isl"
55 Name: "sk"; MessagesFile: "compiler:Languages/Slovak.isl"
56 ; Unofficial:
57 Name: "el"; MessagesFile: "Greek.isl"
58 Name: "en_gb"; MessagesFile: "EnglishBritish.isl"
59 Name: "id"; MessagesFile: "Indonesian.isl"
60 Name: "ro"; MessagesFile: "Romanian.isl"
61 Name: "zh_CN"; MessagesFile: "ChineseSimplified.isl"
62 Name: "zh_TW"; MessagesFile: "ChineseTraditional.isl"
64 [Dirs]
65 Name: "{app}\manual"
66 Name: "{app}\images"
67 Name: "{app}\proj"
69 ; Remove any cad3d.exe from a previous install - it has now been replaced
70 ; by survexport.exe.
71 [InstallDelete]
72 Type: files; Name: "{app}\cad3d.exe"
74 [Files]
75 Source: "*.exe"; Excludes: "aven.exe,survexport.exe,wrapaven.exe,wrapsurvexport.exe"; DestDir: "{app}"
76 ; Install aven.exe as ave_.exe and survexport.exe as survexpor_.exe.
77 Source: "aven.exe"; DestDir: "{app}"; DestName: "ave_.exe"
78 Source: "survexport.exe"; DestDir: "{app}"; DestName: "survexpor_.exe"
79 ; Install wrapper versions under real name.
80 Source: "wrapaven.exe"; DestDir: "{app}"; DestName: "aven.exe"
81 Source: "wrapsurvexport.exe"; DestDir: "{app}"; DestName: "survexport.exe"
82 ; Also install wrapsurvexport.exe as 3dtopos.exe so existing Tunnel releases work.
83 Source: "wrapsurvexport.exe"; DestDir: "{app}"; DestName: "3dtopos.exe"
84 Source: "*.dll"; DestDir: "{app}"; Flags: skipifsourcedoesntexist
85 Source: "*.svx"; DestDir: "{app}"
86 Source: "*.ico"; DestDir: "{app}"
87 Source: "*.pixelfont"; DestDir: "{app}"
88 Source: "*.png"; DestDir: "{app}\images"
89 Source: "*.msg"; DestDir: "{app}"
90 Source: "*.htm"; DestDir: "{app}"
91 Source: "proj\*"; DestDir: "{app}\proj"
92 Source: "manual\*.*"; DestDir: "{app}\manual"
93 ; Generate iss file for including the wxstd.mo files
94 #include "i18nfiles.iss"
96 ; FIXME This should be translated (think there's a standard custommessage)
97 ;[Run]
98 ;Filename: "{app}\aven.exe"; Description: "Launch aven"; Flags: postinstall nowait skipifsilent unchecked
100 [Icons]
101 ; Name: "{group}\SvxEdit"; Filename: "{app}\editwrap.exe"; Comment: "Enter survey data"
102 Name: "{group}\Aven"; Filename: "{app}\aven.exe"; Comment: "View processed surveys"
103 Name: "{group}\Documentation"; Filename: "{app}\index.htm"; Comment: "View the documentation for Survex"
104 Name: "{group}\{cm:UninstallProgram,@PRETTYPACKAGE@}"; Filename: "{uninstallexe}"
106 [CustomMessages]
107 CompassPlotFile=Compass Plot File
108 CMapProcessedData=CMAP Processed Data
109 SurvexRawSurveyData=Survex Raw Survey Data
110 SurvexProcessedData=Survex Processed Data
111 SurvexLoopClosureErrors=Survex Loop Closure Errors
112 SurvexStationPositions=Survex Station Positions
113 OutputLog=Output Log
115 [Registry]
116 ; Support for loading Compass Plot files
117 Root: HKA; Subkey: "Software\Classes\.plt"; ValueType: string; ValueData: "CompassPlotFile"
118 Root: HKA; Subkey: "Software\Classes\.plf"; ValueType: string; ValueData: "CompassPlotFile"
119 Root: HKA; Subkey: "Software\Classes\CompassPlotFile"; ValueType: string; ValueData: "{cm:CompassPlotFile}"
120 Root: HKA; Subkey: "Software\Classes\CompassPlotFile\DefaultIcon"; ValueType: string; ValueData:"{app}\plt.ico"
121 Root: HKA; Subkey: "Software\Classes\CompassPlotFile\shell\Open with Aven\command"; ValueType: string; ValueData: """{app}\aven.exe"" ""%1"""; Flags: uninsdeletekey
122 ; Support for loading CMAP XYZ files
123 Root: HKA; Subkey: "Software\Classes\.xyz"; ValueType: string; ValueData: "CMAP.XYZ"
124 Root: HKA; Subkey: "Software\Classes\CMAP.XYZ"; ValueType: string; ValueData: "{cm:CMapProcessedData}"
125 ;Root: HKA; Subkey: "Software\Classes\CMAP.XYZ\DefaultIcon"; ValueType: string; ValueData:"{app}\plt.ico"
126 Root: HKA; Subkey: "Software\Classes\CMAP.XYZ\shell\Open with Aven\command"; ValueType: string; ValueData: """{app}\aven.exe"" ""%1"""; Flags: uninsdeletekey
128 Root: HKA; Subkey: "Software\Classes\.svx"; ValueType: string; ValueData: "survex.source"; Flags: uninsdeletevalue
129 Root: HKA; Subkey: "Software\Classes\.3d"; ValueType: string; ValueData: "survex.bin"; Flags: uninsdeletevalue
130 Root: HKA; Subkey: "Software\Classes\.err"; ValueType: string; ValueData: "survex.error"; Flags: uninsdeletevalue
131 Root: HKA; Subkey: "Software\Classes\.pos"; ValueType: string; ValueData: "survex.pos"; Flags: uninsdeletevalue
132 Root: HKA; Subkey: "Software\Classes\.log"; ValueType: string; ValueData: "survex.log"; Flags: uninsdeletevalue
133 Root: HKA; Subkey: "Software\Classes\survex.source"; ValueType: string; ValueData: "{cm:SurvexRawSurveyData}"; Flags: uninsdeletevalue
134 Root: HKA; Subkey: "Software\Classes\survex.source\DefaultIcon"; ValueType: string; ValueData: "{app}\svx.ico"; Flags: uninsdeletevalue
135 Root: HKA; Subkey: "Software\Classes\survex.source\shell\Open"; ValueType: none; Flags: deletekey
136 Root: HKA; Subkey: "Software\Classes\survex.source\shell\Process"; ValueType: none; Flags: deletekey
137 Root: HKA; Subkey: "Software\Classes\survex.source\shell\Open in Notepad\command"; ValueType: string; ValueData: """notepad.exe"" ""%1"""; Flags: uninsdeletevalue
138 ;Root: HKA; Subkey: "Software\Classes\survex.source\shell\Open in SvxEdit\command"; ValueType: string; ValueData: """{app}\editwrap.exe"" ""%1"""; Flags: uninsdeletevalue
139 Root: HKA; Subkey: "Software\Classes\survex.source\shell\Process\command"; ValueType: string; ValueData: """{app}\aven.exe"" ""%1"""; Flags: uninsdeletevalue
140 Root: HKA; Subkey: "Software\Classes\survex.bin"; ValueType: string; ValueData: "{cm:SurvexProcessedData}"; Flags: uninsdeletevalue
141 Root: HKA; Subkey: "Software\Classes\survex.bin\DefaultIcon"; ValueType: string; ValueData:"{app}\3d.ico"; Flags: uninsdeletevalue
142 Root: HKA; Subkey: "Software\Classes\survex.bin\shell\Open\command"; ValueType: string; ValueData: """{app}\aven.exe"" ""%1"""; Flags: uninsdeletevalue
143 Root: HKA; Subkey: "Software\Classes\survex.bin\shell\Print\command"; ValueType: string; ValueData: """{app}\aven.exe"" --print ""%1"""; Flags: uninsdeletevalue
144 Root: HKA; Subkey: "Software\Classes\survex.bin\shell\Extend\command"; ValueType: string; ValueData: """{app}\extend.exe"" ""%1"""; Flags: uninsdeletevalue
145 Root: HKA; Subkey: "Software\Classes\survex.error"; ValueType: string; ValueData: "{cm:SurvexLoopClosureErrors}"; Flags: uninsdeletevalue
146 Root: HKA; Subkey: "Software\Classes\survex.error\DefaultIcon"; ValueType: string; ValueData: "{app}\err.ico"; Flags: uninsdeletevalue
147 Root: HKA; Subkey: "Software\Classes\survex.error\shell\Open\command"; ValueType: string; ValueData: """notepad.exe"" ""%1"""; Flags: uninsdeletevalue
148 Root: HKA; Subkey: "Software\Classes\survex.error\shell\Sort by Error\command"; ValueType: string; ValueData: """{app}\sorterr.exe"" -r ""%1"""; Flags: uninsdeletevalue
149 Root: HKA; Subkey: "Software\Classes\survex.error\shell\Sort by Horizontal Error\command"; ValueType: string; ValueData: """{app}\sorterr.exe"" -r -h ""%1"""; Flags: uninsdeletevalue
150 Root: HKA; Subkey: "Software\Classes\survex.error\shell\Sort by Vertical Error\command"; ValueType: string; ValueData: """{app}\sorterr.exe"" -r -v ""%1"""; Flags: uninsdeletevalue
151 Root: HKA; Subkey: "Software\Classes\survex.error\shell\Sort by Percentage Error\command"; ValueType: string; ValueData: """{app}\sorterr.exe"" -r -p ""%1"""; Flags: uninsdeletevalue
152 Root: HKA; Subkey: "Software\Classes\survex.error\shell\Sort by Error per Leg\command"; ValueType: string; ValueData: """{app}\sorterr.exe"" -r -l ""%1"""; Flags: uninsdeletevalue
153 Root: HKA; Subkey: "Software\Classes\survex.pos"; ValueType: string; ValueData: "{cm:SurvexStationPositions}"; Flags: uninsdeletevalue
154 Root: HKA; Subkey: "Software\Classes\survex.pos\DefaultIcon"; ValueType: string; ValueData: "{app}\pos.ico"; Flags: uninsdeletevalue
155 Root: HKA; Subkey: "Software\Classes\survex.pos\shell\Open\command"; ValueType: string; ValueData: """notepad.exe"" ""%1"""; Flags: uninsdeletevalue
156 Root: HKA; Subkey: "Software\Classes\survex.log"; ValueType: string; ValueData: "{cm:OutputLog}"; Flags: uninsdeletevalue
157 Root: HKA; Subkey: "Software\Classes\survex.log\shell\Open\command"; ValueType: string; ValueData: """notepad.exe"" ""%1"""; Flags: uninsdeletevalue
158 ; Remove old menu items which can now be better achieved via Aven.
159 Root: HKA; Subkey: "Software\Classes\survex.bin\shell\Convert to DXF\command"; ValueType: none; Flags: deletekey
160 Root: HKA; Subkey: "Software\Classes\survex.bin\shell\Convert for hand plotting\command"; ValueType: none; Flags: deletekey