diff --git a/src/AppInstallerCLICore/AppInstallerCLICore.vcxproj b/src/AppInstallerCLICore/AppInstallerCLICore.vcxproj
index 573f1cef35..6d647e7ea0 100644
--- a/src/AppInstallerCLICore/AppInstallerCLICore.vcxproj
+++ b/src/AppInstallerCLICore/AppInstallerCLICore.vcxproj
@@ -279,6 +279,11 @@
Windows
+
+
+ USE_PROD_CLSIDS;%(PreprocessorDefinitions)
+
+
AICLI_DISABLE_TEST_HOOKS;%(PreprocessorDefinitions)
diff --git a/src/AppInstallerCLICore/Commands/DscCommandBase.cpp b/src/AppInstallerCLICore/Commands/DscCommandBase.cpp
index bd8b39e06a..254351a21e 100644
--- a/src/AppInstallerCLICore/Commands/DscCommandBase.cpp
+++ b/src/AppInstallerCLICore/Commands/DscCommandBase.cpp
@@ -113,7 +113,7 @@ namespace AppInstaller::CLI
Json::Value result{ Json::ValueType::objectValue };
-#ifndef AICLI_DISABLE_TEST_HOOKS
+#ifndef USE_PROD_CLSIDS
result["executable"] = "wingetdev";
#else
result["executable"] = "winget";
diff --git a/src/AppInstallerCLICore/Commands/DscCommandBase.h b/src/AppInstallerCLICore/Commands/DscCommandBase.h
index 3eb54a349f..d28cbad65c 100644
--- a/src/AppInstallerCLICore/Commands/DscCommandBase.h
+++ b/src/AppInstallerCLICore/Commands/DscCommandBase.h
@@ -5,7 +5,7 @@
#include
#include
-#ifndef AICLI_DISABLE_TEST_HOOKS
+#ifndef USE_PROD_CLSIDS
#define WINGET_DSCV3_MODULE_NAME "Microsoft.WinGet.Dev"
#define WINGET_DSCV3_MODULE_NAME_WIDE L"Microsoft.WinGet.Dev"
#else