1313#define MyAppPublisher " MapWindow Open Source GIS Community"
1414#define MyAppURL " https://www.mapwindow.org/documentation/mapwindow5/"
1515#define ReleaseNotes ExeBinPath + " \..\..\..\src\SolutionItems\ReleaseNotes.rtf"
16- #define GdalLicensePath ExeBinPath + " \..\..\..\..\..\MapWinGIS\git\support\GDAL_SDK\licenses\
16+ #define GdalLicensePath ExeBinPath + " \..\..\..\..\..\MapWinGIS\git\support\GDAL_SDK\licenses\"
1717
18- ;; #define x64BitVersion true
18+ #define x64BitVersion true
1919
2020#ifdef x64BitVersion
2121 #define CPU " x64"
@@ -43,7 +43,7 @@ AppPublisher={#MyAppPublisher}
4343AppPublisherURL = {#MyAppURL}
4444AppSupportURL = {#MyAppURL}
4545AppUpdatesURL = {#MyAppURL}
46- DefaultDirName={pf } \MapWindow5
46+ DefaultDirName = {commonpf }\MapWindow5
4747DisableProgramGroupPage = no
4848DefaultGroupName = {#MyAppName }
4949LicenseFile = {#ExeBinPath}\..\..\..\licenses\MapWindow5License.rtf
@@ -78,7 +78,6 @@ AlwaysShowComponentsList=false
7878 ArchitecturesInstallIn64BitMode = x64
7979#endif
8080ChangesAssociations = Yes
81- UsePreviousAppDir=False
8281
8382[Components]
8483Name : " MapWindow" ; Description : " MapWindow5 files" ; Types : full custom compact ; Flags : fixed
@@ -97,7 +96,7 @@ Source: "{#ExeBinPath}\Projections\*"; DestDir: "{app}\Projections"; Flags: igno
9796;; Manuals sub folder
9897Source : " {#ExeBinPath}\Manuals\*" ; DestDir : " {app} \Manuals" ; Flags : ignoreversion recursesubdirs createallsubdirs {#SystemFlag}; Components : MapWindow
9998;; Plugins subfolder
100- Source: " {#ExeBinPath}\Plugins\*" ; DestDir: " {app} \Plugins" ; Flags: ignoreversion recursesubdirs createallsubdirs {#SystemFlag}; Components: MapWindow; Excludes: " AxInterop.MapWinGIS.dll,Interop.MapWinGIS.dll,MW5.TemplatePlugin.dll,Syncfusion.*"
99+ Source : " {#ExeBinPath}\Plugins\*" ; DestDir : " {app} \Plugins" ; Flags : ignoreversion recursesubdirs createallsubdirs {#SystemFlag}; Components : MapWindow; Excludes: " AxInterop.MapWinGIS.dll,Interop.MapWinGIS.dll,MW5.TemplatePlugin.dll,Syncfusion.*, *.pdb "
101100;; Styles subfolder
102101Source : " {#ExeBinPath}\Styles\*" ; DestDir : " {app} \Styles" ; Flags : ignoreversion recursesubdirs createallsubdirs {#SystemFlag}; Components : MapWindow
103102;; SQLite interop:
272271
273272// custom wizard page setup, for data dir.
274273procedure InitializeWizard ;
275- var
276- myLocalAppData: String;
277274begin
278275 DataDirPage := CreateInputDirPage(
279276 wpSelectComponents,
@@ -302,7 +299,7 @@ begin
302299 // if the page that is asked to be skipped is your custom page, then...
303300 if PageID = DataDirPage.ID then
304301 // if the component is not selected, skip the page
305- Result := not IsComponentSelected ('USASampleData');
302+ Result := not WizardIsComponentSelected (' USASampleData' );
306303end ;
307304
308305function IsDotNetDetected (version: string; service: cardinal): boolean;
0 commit comments