[mapguide-commits] r10284 - in trunk/Installer: Installers/MapGuide Installers/MapGuide/Lang Libraries/MapGuide Web Extensions
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Nov 11 05:15:42 PST 2026
Author: jng
Date: 2026-11-11 05:15:42 -0800 (Wed, 11 Nov 2026)
New Revision: 10284
Modified:
trunk/Installer/Installers/MapGuide/Lang/MapGuide_en-US.wxl
trunk/Installer/Installers/MapGuide/MapGuide.wxs
trunk/Installer/Libraries/MapGuide Web Extensions/IIS7.wxs
Log:
#2899: Add missing YAML mime type registration in Windows installer, needed for new OpenAPI spec feature
Modified: trunk/Installer/Installers/MapGuide/Lang/MapGuide_en-US.wxl
===================================================================
--- trunk/Installer/Installers/MapGuide/Lang/MapGuide_en-US.wxl 2026-11-11 12:20:53 UTC (rev 10283)
+++ trunk/Installer/Installers/MapGuide/Lang/MapGuide_en-US.wxl 2026-11-11 13:15:42 UTC (rev 10284)
@@ -98,6 +98,7 @@
<String Id="MapGuideIIS7_I_UnlockHttpErrorsMapGuide" Value="Unlocking http errors config for mapguide virtual dir" />
<String Id="MapGuideIIS7_I_Reset401Handler" Value="Resetting 401 handler" />
<String Id="MapGuideIIS7_I_AddJsonMime" Value="Adding JSON mime type" />
+ <String Id="MapGuideIIS7_I_AddYamlMime" Value="Adding YAML mime type" />
<String Id="MapGuideIIS7_I_CreateViewerPhp" Value="Creating mapviewerajax virtual dir to point to mapviewerphp" />
<String Id="MapGuideIIS7_I_SetViewerDocPhp" Value="Setting default document for mapviewerajax virtual dir" />
<String Id="MapGuideIIS7_I_AssignViewerAppPoolPhp" Value="Setting application pool for mapviewerajax" />
Modified: trunk/Installer/Installers/MapGuide/MapGuide.wxs
===================================================================
--- trunk/Installer/Installers/MapGuide/MapGuide.wxs 2026-11-11 12:20:53 UTC (rev 10283)
+++ trunk/Installer/Installers/MapGuide/MapGuide.wxs 2026-11-11 13:15:42 UTC (rev 10284)
@@ -574,6 +574,7 @@
<ProgressText Action="MapGuideIIS7_I_UnlockHttpErrorsMapGuide" Message="!(loc.MapGuideIIS7_I_UnlockHttpErrorsMapGuide)" />
<ProgressText Action="MapGuideIIS7_I_Reset401Handler" Message="!(loc.MapGuideIIS7_I_Reset401Handler)" />
<ProgressText Action="MapGuideIIS7_I_AddJsonMime" Message="!(loc.MapGuideIIS7_I_AddJsonMime)" />
+ <ProgressText Action="MapGuideIIS7_I_AddYamlMime" Message="!(loc.MapGuideIIS7_I_AddYamlMime)" />
<ProgressText Action="MapGuideIIS7_I_CreateViewerPhp" Message="!(loc.MapGuideIIS7_I_CreateViewerPhp)" />
<ProgressText Action="MapGuideIIS7_I_SetViewerDocPhp" Message="!(loc.MapGuideIIS7_I_SetViewerDocPhp)" />
<ProgressText Action="MapGuideIIS7_I_AssignViewerAppPoolPhp" Message="!(loc.MapGuideIIS7_I_AssignViewerAppPoolPhp)" />
@@ -655,9 +656,10 @@
<Custom Action="MapGuideIIS7_I_UnlockHttpErrorsMapGuide_Cmd" After="MapGuideIIS7_I_UnlockHttpErrorsWebSite_Cmd" Condition="MGWEB_CONFIG="IIS" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
<Custom Action="MapGuideIIS7_I_Reset401Handler_Cmd" After="MapGuideIIS7_I_UnlockHttpErrorsMapGuide_Cmd" Condition="MGWEB_CONFIG="IIS" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
<Custom Action="MapGuideIIS7_I_AddJsonMime_Cmd" After="MapGuideIIS7_I_Reset401Handler_Cmd" Condition="MGWEB_CONFIG="IIS" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
+ <Custom Action="MapGuideIIS7_I_AddYamlMime_Cmd" After="MapGuideIIS7_I_AddJsonMime_Cmd" Condition="MGWEB_CONFIG="IIS" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
<!-- IIS7 PHP Viewer properties for deferred actions -->
- <Custom Action="MapGuideIIS7_I_CreateViewerPhp_Cmd" After="MapGuideIIS7_I_AddJsonMime_Cmd" Condition="MGWEB_CONFIG="IIS" AND IIS_API_TYPE="PHP" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
+ <Custom Action="MapGuideIIS7_I_CreateViewerPhp_Cmd" After="MapGuideIIS7_I_AddYamlMime_Cmd" Condition="MGWEB_CONFIG="IIS" AND IIS_API_TYPE="PHP" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
<Custom Action="MapGuideIIS7_I_SetViewerDocPhp_Cmd" After="MapGuideIIS7_I_CreateViewerPhp_Cmd" Condition="MGWEB_CONFIG="IIS" AND IIS_API_TYPE="PHP" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
<Custom Action="MapGuideIIS7_I_AssignViewerAppPoolPhp_Cmd" After="MapGuideIIS7_I_SetViewerDocPhp_Cmd" Condition="MGWEB_CONFIG="IIS" AND IIS_API_TYPE="PHP" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
@@ -708,9 +710,10 @@
<Custom Action="MapGuideIIS7_I_UnlockHttpErrorsMapGuide" After="MapGuideIIS7_I_UnlockHttpErrorsWebSite" Condition="MGWEB_CONFIG="IIS" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
<Custom Action="MapGuideIIS7_I_Reset401Handler" After="MapGuideIIS7_I_UnlockHttpErrorsMapGuide" Condition="MGWEB_CONFIG="IIS" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
<Custom Action="MapGuideIIS7_I_AddJsonMime" After="MapGuideIIS7_I_Reset401Handler" Condition="MGWEB_CONFIG="IIS" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
+ <Custom Action="MapGuideIIS7_I_AddYamlMime" After="MapGuideIIS7_I_AddJsonMime" Condition="MGWEB_CONFIG="IIS" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
<!-- IIS7 PHP Viewer deferred CAs -->
- <Custom Action="MapGuideIIS7_I_CreateViewerPhp" After="MapGuideIIS7_I_AddJsonMime" Condition="MGWEB_CONFIG="IIS" AND IIS_API_TYPE="PHP" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
+ <Custom Action="MapGuideIIS7_I_CreateViewerPhp" After="MapGuideIIS7_I_AddYamlMime" Condition="MGWEB_CONFIG="IIS" AND IIS_API_TYPE="PHP" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
<Custom Action="MapGuideIIS7_I_SetViewerDocPhp" After="MapGuideIIS7_I_CreateViewerPhp" Condition="MGWEB_CONFIG="IIS" AND IIS_API_TYPE="PHP" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
<Custom Action="MapGuideIIS7_I_AssignViewerAppPoolPhp" After="MapGuideIIS7_I_SetViewerDocPhp" Condition="MGWEB_CONFIG="IIS" AND IIS_API_TYPE="PHP" AND (NOT IISVERSIONMAJOR="#0") AND &WebExtensionsFeature>2" />
Modified: trunk/Installer/Libraries/MapGuide Web Extensions/IIS7.wxs
===================================================================
--- trunk/Installer/Libraries/MapGuide Web Extensions/IIS7.wxs 2026-11-11 12:20:53 UTC (rev 10283)
+++ trunk/Installer/Libraries/MapGuide Web Extensions/IIS7.wxs 2026-11-11 13:15:42 UTC (rev 10284)
@@ -87,6 +87,10 @@
<CustomAction Id="MapGuideIIS7_I_AddJsonMime_Cmd" Property="MapGuideIIS7_I_AddJsonMime" Execute="immediate" Value="[AppCmd] set config /section:staticContent /+"[\[]fileExtension='.json',mimeType='application/json'[\]]"" />
<CustomAction Id="MapGuideIIS7_I_AddJsonMime" DllEntry="WixQuietExec" Execute="deferred" Return="ignore" Impersonate="no" BinaryRef="Wix4UtilCA_X86" />
+ <!-- Add a MIME type for YAML -->
+ <CustomAction Id="MapGuideIIS7_I_AddYamlMime_Cmd" Property="MapGuideIIS7_I_AddYamlMime" Execute="immediate" Value="[AppCmd] set config /section:staticContent /+"[\[]fileExtension='.yaml',mimeType='application/yaml'[\]]"" />
+ <CustomAction Id="MapGuideIIS7_I_AddYamlMime" DllEntry="WixQuietExec" Execute="deferred" Return="ignore" Impersonate="no" BinaryRef="Wix4UtilCA_X86" />
+
<!-- ************************* IIS7 PHP Viewer INSTALL ***************************************** -->
<!-- Create the application / virtual directory pointing mapviewerajax to mapviewerphp -->
More information about the mapguide-commits
mailing list