diff --git a/src/installer/pkg/sfx/installers/dotnet-host.proj b/src/installer/pkg/sfx/installers/dotnet-host.proj
index e49489c4005823..797d2f5afcc31a 100644
--- a/src/installer/pkg/sfx/installers/dotnet-host.proj
+++ b/src/installer/pkg/sfx/installers/dotnet-host.proj
@@ -11,6 +11,7 @@
sharedhost
Dotnet_CLI_SharedHost
HostSrc
+ afterInstallExecute
false
true
sharedhost