Pass station name to export code as wxString
[survex.git] / survex.iss.in
blob102d7eacc64b2dfbd85d60d0db5d2475b0ff039d
1 ; @configure_input@
2 [Setup]
3 AppName=@PRETTYPACKAGE@
4 DefaultDirName={autopf}\@PRETTYPACKAGE@
5 DefaultGroupName=@PRETTYPACKAGE@
6 OutputBaseFilename=@PACKAGE@-win32-@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
38 [Languages]
39 ; Official translations:
40 Name: "bg"; MessagesFile: "compiler:Languages/Bulgarian.isl"
41 Name: "ca"; MessagesFile: "compiler:Languages/Catalan.isl"
42 Name: "cs"; MessagesFile: "compiler:Languages/Czech.isl"
43 Name: "de"; MessagesFile: "compiler:Languages/German.isl"
44 Name: "en"; MessagesFile: "compiler:Default.isl"
45 Name: "es"; MessagesFile: "compiler:Languages/Spanish.isl"
46 Name: "fr"; MessagesFile: "compiler:Languages/French.isl"
47 Name: "it"; MessagesFile: "compiler:Languages/Italian.isl"
48 Name: "pl"; MessagesFile: "compiler:Languages/Polish.isl"
49 Name: "pt"; MessagesFile: "compiler:Languages/Portuguese.isl"
50 Name: "pt_br"; MessagesFile: "compiler:Languages/BrazilianPortuguese.isl"
51 Name: "ru"; MessagesFile: "compiler:Languages/Russian.isl"
52 Name: "sk"; MessagesFile: "compiler:Languages/Slovak.isl"
53 ; Unofficial:
54 Name: "el"; MessagesFile: "Greek.isl"
55 Name: "en_gb"; MessagesFile: "EnglishBritish.isl"
56 Name: "hu"; MessagesFile: "Hungarian.isl"
57 Name: "id"; MessagesFile: "Indonesian.isl"
58 Name: "ro"; MessagesFile: "Romanian.isl"
59 Name: "zh_CN"; MessagesFile: "ChineseSimplified.isl"
60 Name: "zh_TW"; MessagesFile: "ChineseTraditional.isl"
62 [Dirs]
63 Name: "{app}\manual"
64 Name: "{app}\images"
66 ; Remove any cad3d.exe from a previous install - it has now been replaced
67 ; by survexport.exe.
68 [InstallDelete]
69 Type: files; Name: "{app}\cad3d.exe"
71 [Files]
72 Source: "*.exe"; DestDir: "{app}"
73 Source: "*.svx"; DestDir: "{app}"
74 Source: "*.ico"; DestDir: "{app}"
75 Source: "*.pixelfont"; DestDir: "{app}"
76 Source: "*.png"; DestDir: "{app}\images"
77 Source: "*.msg"; DestDir: "{app}"
78 Source: "*.htm"; DestDir: "{app}"
79 Source: "proj.db"; DestDir: "{app}"
80 Source: "manual\*.*"; DestDir: "{app}\manual"
81 ; Generate iss file for including the wxstd.mo files
82 #include "i18nfiles.iss"
83 ; Also install survexport.exe as 3dtopos.exe so existing Tunnel releases work.
84 Source: "survexport.exe"; DestDir: "{app}"; DestName: "3dtopos.exe"
86 ; FIXME This should be translated (think there's a standard custommessage)
87 ;[Run]
88 ;Filename: "{app}\aven.exe"; Description: "Launch aven"; Flags: postinstall nowait skipifsilent unchecked
90 [Icons]
91 ; Name: "{group}\SvxEdit"; Filename: "{app}\editwrap.exe"; Comment: "Enter survey data"
92 Name: "{group}\Aven"; Filename: "{app}\aven.exe"; Comment: "View processed surveys"
93 Name: "{group}\Documentation"; Filename: "{app}\index.htm"; Comment: "View the documentation for Survex"
94 Name: "{group}\{cm:UninstallProgram,@PRETTYPACKAGE@}"; Filename: "{uninstallexe}"
96 [CustomMessages]
97 CompassPlotFile=Compass Plot File
98 CMapProcessedData=CMAP Processed Data
99 SurvexRawSurveyData=Survex Raw Survey Data
100 SurvexProcessedData=Survex Processed Data
101 SurvexLoopClosureErrors=Survex Loop Closure Errors
102 SurvexStationPositions=Survex Station Positions
103 OutputLog=Output Log
105 [Registry]
106 ; Support for loading Compass Plot files
107 Root: HKA; Subkey: "Software\Classes\.plt"; ValueType: string; ValueData: "CompassPlotFile"
108 Root: HKA; Subkey: "Software\Classes\.plf"; ValueType: string; ValueData: "CompassPlotFile"
109 Root: HKA; Subkey: "Software\Classes\CompassPlotFile"; ValueType: string; ValueData: "{cm:CompassPlotFile}"
110 Root: HKA; Subkey: "Software\Classes\CompassPlotFile\DefaultIcon"; ValueType: string; ValueData:"{app}\plt.ico"
111 Root: HKA; Subkey: "Software\Classes\CompassPlotFile\shell\Open with Aven\command"; ValueType: string; ValueData: """{app}\aven.exe"" ""%1"""; Flags: uninsdeletekey
112 ; Support for loading CMAP XYZ files
113 Root: HKA; Subkey: "Software\Classes\.xyz"; ValueType: string; ValueData: "CMAP.XYZ"
114 Root: HKA; Subkey: "Software\Classes\CMAP.XYZ"; ValueType: string; ValueData: "{cm:CMapProcessedData}"
115 ;Root: HKA; Subkey: "Software\Classes\CMAP.XYZ\DefaultIcon"; ValueType: string; ValueData:"{app}\plt.ico"
116 Root: HKA; Subkey: "Software\Classes\CMAP.XYZ\shell\Open with Aven\command"; ValueType: string; ValueData: """{app}\aven.exe"" ""%1"""; Flags: uninsdeletekey
118 Root: HKA; Subkey: "Software\Classes\.svx"; ValueType: string; ValueData: "survex.source"; Flags: uninsdeletevalue
119 Root: HKA; Subkey: "Software\Classes\.3d"; ValueType: string; ValueData: "survex.bin"; Flags: uninsdeletevalue
120 Root: HKA; Subkey: "Software\Classes\.err"; ValueType: string; ValueData: "survex.error"; Flags: uninsdeletevalue
121 Root: HKA; Subkey: "Software\Classes\.pos"; ValueType: string; ValueData: "survex.pos"; Flags: uninsdeletevalue
122 Root: HKA; Subkey: "Software\Classes\.log"; ValueType: string; ValueData: "survex.log"; Flags: uninsdeletevalue
123 Root: HKA; Subkey: "Software\Classes\survex.source"; ValueType: string; ValueData: "{cm:SurvexRawSurveyData}"; Flags: uninsdeletevalue
124 Root: HKA; Subkey: "Software\Classes\survex.source\DefaultIcon"; ValueType: string; ValueData: "{app}\svx.ico"; Flags: uninsdeletevalue
125 Root: HKA; Subkey: "Software\Classes\survex.source\shell\Open"; ValueType: none; Flags: deletekey
126 Root: HKA; Subkey: "Software\Classes\survex.source\shell\Process"; ValueType: none; Flags: deletekey
127 Root: HKA; Subkey: "Software\Classes\survex.source\shell\Open in Notepad\command"; ValueType: string; ValueData: """notepad.exe"" ""%1"""; Flags: uninsdeletevalue
128 ;Root: HKA; Subkey: "Software\Classes\survex.source\shell\Open in SvxEdit\command"; ValueType: string; ValueData: """{app}\editwrap.exe"" ""%1"""; Flags: uninsdeletevalue
129 Root: HKA; Subkey: "Software\Classes\survex.source\shell\Process\command"; ValueType: string; ValueData: """{app}\aven.exe"" ""%1"""; Flags: uninsdeletevalue
130 Root: HKA; Subkey: "Software\Classes\survex.bin"; ValueType: string; ValueData: "{cm:SurvexProcessedData}"; Flags: uninsdeletevalue
131 Root: HKA; Subkey: "Software\Classes\survex.bin\DefaultIcon"; ValueType: string; ValueData:"{app}\3d.ico"; Flags: uninsdeletevalue
132 Root: HKA; Subkey: "Software\Classes\survex.bin\shell\Open\command"; ValueType: string; ValueData: """{app}\aven.exe"" ""%1"""; Flags: uninsdeletevalue
133 Root: HKA; Subkey: "Software\Classes\survex.bin\shell\Print\command"; ValueType: string; ValueData: """{app}\aven.exe"" --print ""%1"""; Flags: uninsdeletevalue
134 Root: HKA; Subkey: "Software\Classes\survex.bin\shell\Extend\command"; ValueType: string; ValueData: """{app}\extend.exe"" ""%1"""; Flags: uninsdeletevalue
135 Root: HKA; Subkey: "Software\Classes\survex.error"; ValueType: string; ValueData: "{cm:SurvexLoopClosureErrors}"; Flags: uninsdeletevalue
136 Root: HKA; Subkey: "Software\Classes\survex.error\DefaultIcon"; ValueType: string; ValueData: "{app}\err.ico"; Flags: uninsdeletevalue
137 Root: HKA; Subkey: "Software\Classes\survex.error\shell\Open\command"; ValueType: string; ValueData: """notepad.exe"" ""%1"""; Flags: uninsdeletevalue
138 Root: HKA; Subkey: "Software\Classes\survex.error\shell\Sort by Error\command"; ValueType: string; ValueData: """{app}\sorterr.exe"" -r ""%1"""; Flags: uninsdeletevalue
139 Root: HKA; Subkey: "Software\Classes\survex.error\shell\Sort by Horizontal Error\command"; ValueType: string; ValueData: """{app}\sorterr.exe"" -r -h ""%1"""; Flags: uninsdeletevalue
140 Root: HKA; Subkey: "Software\Classes\survex.error\shell\Sort by Vertical Error\command"; ValueType: string; ValueData: """{app}\sorterr.exe"" -r -v ""%1"""; Flags: uninsdeletevalue
141 Root: HKA; Subkey: "Software\Classes\survex.error\shell\Sort by Percentage Error\command"; ValueType: string; ValueData: """{app}\sorterr.exe"" -r -p ""%1"""; Flags: uninsdeletevalue
142 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
143 Root: HKA; Subkey: "Software\Classes\survex.pos"; ValueType: string; ValueData: "{cm:SurvexStationPositions}"; Flags: uninsdeletevalue
144 Root: HKA; Subkey: "Software\Classes\survex.pos\DefaultIcon"; ValueType: string; ValueData: "{app}\pos.ico"; Flags: uninsdeletevalue
145 Root: HKA; Subkey: "Software\Classes\survex.pos\shell\Open\command"; ValueType: string; ValueData: """notepad.exe"" ""%1"""; Flags: uninsdeletevalue
146 Root: HKA; Subkey: "Software\Classes\survex.log"; ValueType: string; ValueData: "{cm:OutputLog}"; Flags: uninsdeletevalue
147 Root: HKA; Subkey: "Software\Classes\survex.log\shell\Open\command"; ValueType: string; ValueData: """notepad.exe"" ""%1"""; Flags: uninsdeletevalue
148 ; Remove old menu items which can now be better achieved via Aven.
149 Root: HKA; Subkey: "Software\Classes\survex.bin\shell\Convert to DXF\command"; ValueType: none; Flags: deletekey
150 Root: HKA; Subkey: "Software\Classes\survex.bin\shell\Convert for hand plotting\command"; ValueType: none; Flags: deletekey