diff --git a/build/BundledRuntimes.props b/build/BundledRuntimes.props
index 27a30acd2..4efb6600e 100644
--- a/build/BundledRuntimes.props
+++ b/build/BundledRuntimes.props
@@ -31,7 +31,7 @@
aspnetcore-runtime-$(AspNetCoreVersion)-$(CoreSetupRid)$(InstallerExtension)
aspnetcore-runtime-internal-$(AspNetCoreVersion)-$(CoreSetupRid).wixlib
- $(PackagesDirectory)/$(DownloadedAspNetCoreSharedFxInstallerFileName)
+ $(PackagesDirectory)/$(DownloadedAspNetCoreSharedFxInstallerFileName)
aspnetcore-runtime-internal-$(AspNetCoreVersion)-$(SharedFrameworkRid)$(ArchiveExtension)
$(PackagesDirectory)/$(AspNetCoreSharedFxArchiveFileName)
@@ -91,7 +91,7 @@
<_DownloadAndExtractItem Include="DownloadedAspNetCoreSharedFxInstallerFile"
- Condition="'$(SkipBuildingInstallers)' != 'true' AND !Exists($(DownloadedAspNetCoreSharedFxInstallerFile)) And '$(InstallerExtension)' != ''">
+ Condition="'$(SkipBuildingInstallers)' != 'true' AND '$(DownloadedAspNetCoreSharedFxInstallerFile)' != '' AND !Exists($(DownloadedAspNetCoreSharedFxInstallerFile)) And '$(InstallerExtension)' != ''">
$(CoreSetupRootUrl)$(AspNetCoreVersion)/$(DownloadedAspNetCoreSharedFxInstallerFileName)$(CoreSetupBlobAccessTokenParam)
$(DownloadedAspNetCoreSharedFxInstallerFile)