|
101 | 101 | A base build should warn if we have 'RemovedSinceLastBase' items to help us remember to clear these out. |
102 | 102 | --> |
103 | 103 | <Target Name="RescuePatching"> |
104 | | - <!-- <ItemGroup> |
105 | | - <RemovedSinceLastBase Include="$(dir-outputBase)/Example.dll" /> |
| 104 | + <ItemGroup> |
| 105 | + <RemovedSinceLastBase Include="$(dir-outputBase)/Helps/WW-ConceptualIntro/ConceptualIntroduction.htm" /> |
| 106 | + <RemovedSinceLastBase Include="$(dir-outputBase)/Helps/ConceptualIntroFLEx.pdf" /> |
| 107 | + <RemovedSinceLastBase Include="$(dir-outputBase)/NHunspell.dll" /> |
| 108 | + <RemovedSinceLastBase Include="$(dir-outputBase)/Hunspellx64.dll" /> |
106 | 109 | </ItemGroup> |
107 | | - <WriteLinesToFile File="%(RemovedSinceLastBase.FullPath)" Lines="" /> --> |
| 110 | + <WriteLinesToFile File="%(RemovedSinceLastBase.FullPath)" Lines="" /> |
108 | 111 | </Target> |
109 | 112 | <!-- ########################################################################################################## --> |
110 | 113 | <!-- ### Compile Targets ### --> |
|
210 | 213 | <L10nFiles Include="$(OutputDirForConfig)\ur\**\*"/> |
211 | 214 | <L10nFiles Include="$(OutputDirForConfig)\vi\**\*"/> |
212 | 215 | <L10nFiles Include="$(OutputDirForConfig)\zh-CN\**\*"/> |
| 216 | + <L10nFiles Include="$(OutputDirForConfig)\zlm\**\*"/> |
213 | 217 | <!-- no need to install the following; most are installed by merge modules --> |
214 | 218 | <MergeModules Include="$(OutputDirForConfig)\asserts.log"/> |
215 | 219 | <MergeModules Include="$(OutputDirForConfig)\basicTest.xml"/> |
|
303 | 307 | <PropertyGroup> |
304 | 308 | <!-- Substring keeps Chinese the same length as everyone else (and '-' is an illegal character in some places) --> |
305 | 309 | <!-- "The nail that sticks up gets hammered down" (Japanese proverb) --> |
306 | | - <SafeTargetLocale>$(TargetLocale.Substring(0,2))</SafeTargetLocale> |
| 310 | + <SafeTargetLocale Condition="'$(TargetLocale)'=='zh-CN'">$(TargetLocale.Substring(0,2))</SafeTargetLocale> |
| 311 | + <SafeTargetLocale Condition="'$(TargetLocale)'!='zh-CN'">$(TargetLocale)</SafeTargetLocale> |
307 | 312 | <!-- KeyPathFix changes KeyPath="yes" to KeyPath="no" so we can overwrite later versions of files, if necessary. --> |
308 | 313 | <!-- See https://github.com/sillsdev/genericinstaller's README for details. --> |
309 | 314 | <KeyPathFixArg Condition="'$(FixKeyPath)'=='true'">-t $(InstallerDir)/BaseInstallerBuild/KeyPathFix.xsl</KeyPathFixArg> |
|
396 | 401 | Condition="!Exists('$(WixLibsDir)/vcredist_2015-19_x64.exe') And $(Platform)=='x64'" |
397 | 402 | DownloadsDir="$(WixLibsDir)"/> <!-- VisualC++ 14.1 runtime --> |
398 | 403 | <!-- FLEx Bridge --> |
399 | | - <DownloadFile Address="https://build.palaso.org/guestAuth/repository/download/FLExBridgeDevelopWin32InstallerSansPublish/fw-9.1.22.tcbuildtag/FLExBridge_Offline.exe" |
| 404 | + <DownloadFile Address="https://software.sil.org/downloads/r/fieldworks/FlexBridge_Offline_4.2.0.exe" |
| 405 | + LocalFilename="FLExBridge_Offline.exe" |
400 | 406 | Condition="!Exists('$(WixLibsDir)/FLExBridge_Offline.exe')" |
401 | 407 | DownloadsDir="$(WixLibsDir)"/> <!-- TODO: always download to get the latest version --> |
402 | 408 | </Target> |
|
439 | 445 | </MSBuild.ExtensionPack.Framework.Guid> |
440 | 446 | <Message Text="Generated GUID '$(ProductIdGuid)'"/> |
441 | 447 | <PropertyGroup> |
442 | | - <MsiFile>$(SafeApplicationName)_$(Revision).msi</MsiFile> |
| 448 | + <MsiFile>$(SafeApplicationName)_$(PatchVersionSegment).msi</MsiFile> |
443 | 449 | <BaseBuildDir>$(InstallerDir)/BaseInstallerBuild</BaseBuildDir> |
444 | 450 | <BaseBuildArgs>"$(ApplicationName)" $(SafeApplicationName) $(BuildVersion) $(ProductIdGuid) $(UpgradeCodeGuid) "$(AppBuildDir)/$(BinDirSuffix)" "$(AppBuildDir)/$(DataDirSuffix)" $(CopyrightYear) "$(Manufacturer)" $(SafeManufacturer) $(Arch)</BaseBuildArgs> |
445 | 451 | </PropertyGroup> |
446 | 452 | <!-- Suppress ICE30 because we and Encoding Converters MM both install Geckofx, resulting in an ICE warning for double ref counting --> |
447 | | - <Exec WorkingDirectory="$(BaseBuildDir)" Command="(set SuppressICE=-sice:ICE30) & buildBaseInstaller.bat $(BaseBuildArgs)" /> |
| 453 | + <Exec WorkingDirectory="$(BaseBuildDir)" Command="buildBaseInstaller.bat $(BaseBuildArgs)" EnvironmentVariables="SuppressICE=-sice:ICE30" /> |
448 | 454 | <ItemGroup> |
449 | 455 | <InstallerFiles Include="$(BaseBuildDir)/**/$(SafeApplicationName)_*.exe"/> |
450 | 456 | <InstallerFiles Include="$(BaseBuildDir)/**/$(SafeApplicationName)_*.msi"/> |
|
0 commit comments