Skip to content

Commit

Permalink
remove some additional files in upgrade mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Manika-EDB committed Aug 7, 2024
1 parent bbf8db9 commit ea13472
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions server/installer.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -1282,6 +1282,19 @@ EOF
</ruleList>
</actionGroup>

<!-- WIN: Remove include/libxml2 files in upgrade -->
<actionGroup>
<actionList>
<deleteFile path="${installdir}${slash}include${slash}/libxml${slash}._*.h" />
<deleteFile path="${installdir}${slash}include${slash}._*.h" />
</actionList>
<ruleList>
<compareText text="${platform_name}" logic="contains" value="windows" />
<compareVersions logic="less_or_equal" version1="${brandingVer}" version2="16.3-1" />
<isTrue value="${IsUpgrade}"/>
</ruleList>
</actionGroup>

</readyToInstallActionList>

<preInstallationActionList>
Expand Down Expand Up @@ -2100,6 +2113,22 @@ ${dbsummary}${cltsummary}${pgadminsummary}${sbsummary}${msg(summary.installation
<isFalse value="${extract_mode}"/>
</ruleList>
</actionGroup>

<!-- WIN: Remove pldebugger readme file in upgrade -->
<actionGroup>
<actionList>
<deleteFile path="${installdir}${slash}doc${slash}/README.pldebugger">
<ruleList>
<fileExists path="${installdir}${slash}doc${slash}/README.pldebugger" />
</ruleList>
</deleteFile>
</actionList>

<ruleList>
<compareText text="${platform_name}" logic="contains" value="windows" />
<isTrue value="${IsUpgrade}"/>
</ruleList>
</actionGroup>
</postInstallationActionList>

<!-- Components. Most components will be separate packages, so expect just one entry here most of the time -->
Expand Down

0 comments on commit ea13472

Please sign in to comment.