I am trying to setup the warp client inside a windows runner in github actions following the mdm deployment from https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/#windows
I download the msi, install it passing the organization parameters auth_client_id, auth_client_secret and other deployment parameters, but when doing a curl request to https://cloudflare.com/cdn-cgi/trace
trace the warp client in response is off, the client does not seem to start and I cannot find the reason. I attach leave also the logs of the installation process if that helps. At a certain point I see Exception performing install custom action: Cannot start service CloudflareWARP on computer ‘.’. Tried to manually start the process with the following but no luck there as well:
$warpExecutable = "C:\Program Files\Cloudflare\Cloudflare WARP\warp-svc.exe"
Start-Process -FilePath $warpExecutable -ArgumentList "--start" -NoNewWindow -Wait
I would appreciate every bit of help diagnosing the problem. Thank you!
Action start 8:55:24: INSTALL.
Action start 8:55:24: FindRelatedProducts.
Action ended 8:55:24: FindRelatedProducts. Return value 1.
Action start 8:55:24: LaunchConditions.
Action ended 8:55:24: LaunchConditions. Return value 1.
Action start 8:55:24: ValidateProductID.
Action ended 8:55:24: ValidateProductID. Return value 1.
Action start 8:55:24: CostInitialize.
Action ended 8:55:24: CostInitialize. Return value 1.
Action start 8:55:24: FileCost.
Action ended 8:55:24: FileCost. Return value 1.
Action start 8:55:24: CostFinalize.
Action ended 8:55:24: CostFinalize. Return value 1.
Action start 8:55:24: MigrateFeatureStates.
Action ended 8:55:24: MigrateFeatureStates. Return value 0.
Action start 8:55:24: InstallValidate.
Action ended 8:55:25: InstallValidate. Return value 1.
Action start 8:55:25: RemoveExistingProducts.
Action ended 8:55:25: RemoveExistingProducts. Return value 1.
Action start 8:55:25: InstallInitialize.
Action ended 8:55:25: InstallInitialize. Return value 1.
Action start 8:55:25: ReadCmdLineParamsCA.
SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI60B9.tmp-
SFXCA: Binding to CLR version v4.0.30319
Calling custom action Warp.Installer.Actions!Warp.Installer.Actions.CustomActions.ReadCmdLineParams
UseWebView2 ‘’
Writing mdm.xml file…
auto_connect = 1
organization = ***
service_mode = warp
auth_client_id = ***
auth_client_secret = ***
Action ended 8:55:25: ReadCmdLineParamsCA. Return value 1.
Action start 8:55:25: ProcessComponents.
Action ended 8:55:26: ProcessComponents. Return value 1.
Action start 8:55:26: UnpublishFeatures.
Action ended 8:55:26: UnpublishFeatures. Return value 1.
Action start 8:55:26: RemoveRegistryValues.
Action ended 8:55:26: RemoveRegistryValues. Return value 1.
Action start 8:55:26: RemoveShortcuts.
Action ended 8:55:26: RemoveShortcuts. Return value 1.
Action start 8:55:26: RemoveEnvironmentStrings.
Action ended 8:55:26: RemoveEnvironmentStrings. Return value 1.
Action start 8:55:26: WixSchedFirewallExceptionsUninstall.
SchedFirewallExceptions: Entering SchedFirewallExceptions in C:\Windows\Installer\MSI64A3.tmp, version 3.11.4516.0
SchedFirewallExceptions: Component ‘WarpService’ action state (1) doesn’t match request (2)
SchedFirewallExceptions: No firewall exceptions scheduled
Action ended 8:55:29: WixSchedFirewallExceptionsUninstall. Return value 1.
Action start 8:55:29: RemoveFiles.
Action ended 8:55:29: RemoveFiles. Return value 1.
Action start 8:55:29: InstallFiles.
Action ended 8:55:29: InstallFiles. Return value 1.
Action start 8:55:29: CA_Properties.
Action ended 8:55:29: CA_Properties. Return value 1.
Action start 8:55:29: InstallServiceCA.
Action ended 8:55:29: InstallServiceCA. Return value 1.
Action start 8:55:29: WixSchedFirewallExceptionsInstall.
SchedFirewallExceptions: Entering SchedFirewallExceptions in C:\Windows\Installer\MSI72BE.tmp, version 3.11.4516.0
SchedFirewallExceptions: Scheduling firewall exception (1€Cloudflare WARP€2147483647€€0€2€C:\Program Files\Cloudflare\Cloudflare WARP\warp-svc.exe€€-2147483648€)
Action start 8:55:29: WixRollbackFirewallExceptionsInstall.
Action ended 8:55:29: WixRollbackFirewallExceptionsInstall. Return value 1.
Action start 8:55:29: WixExecFirewallExceptionsInstall.
Action ended 8:55:29: WixExecFirewallExceptionsInstall. Return value 1.
Action ended 8:55:29: WixSchedFirewallExceptionsInstall. Return value 1.
Action start 8:55:29: CreateShortcuts.
Action ended 8:55:29: CreateShortcuts. Return value 1.
Action start 8:55:29: WriteRegistryValues.
Action ended 8:55:29: WriteRegistryValues. Return value 1.
Action start 8:55:29: WriteEnvironmentStrings.
Action ended 8:55:29: WriteEnvironmentStrings. Return value 1.
Action start 8:55:29: RegisterUser.
Action ended 8:55:29: RegisterUser. Return value 1.
Action start 8:55:29: RegisterProduct.
Action ended 8:55:29: RegisterProduct. Return value 1.
Action start 8:55:29: PublishFeatures.
Action ended 8:55:29: PublishFeatures. Return value 1.
Action start 8:55:29: PublishProduct.
Action ended 8:55:29: PublishProduct. Return value 1.
Action start 8:55:29: InstallFinalize.
SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI79F2.tmp-
SFXCA: Binding to CLR version v4.0.30319
Calling custom action Warp.Installer.Actions!Warp.Installer.Actions.CustomActions.InstallService
Restoring Cloudflare_mdm.tmp → mdm.xml…
Deleting C:\Users\runneradmin\AppData\Local\Temp\Cloudflare_mdm.tmp.
mdm.xml file restored from temporary file.
Begin InstallService
Checking for existing service…
The service CloudflareWARP is not currently installed.
Executing action: sc.exe create CloudflareWARP binPath= “"C:\Program Files\Cloudflare\Cloudflare WARP\warp-svc.exe”" displayname= “Cloudflare WARP” start= “auto”
→ CreateService SUCCESS
Executing action: sc.exe config CloudflareWARP depend= “wlansvc”
→ ChangeServiceConfig SUCCESS
Executing action: sc.exe failure CloudflareWARP reset= 86400 actions= restart/0/restart/1000/restart/5000
→ ChangeServiceConfig2 SUCCESS
Executing action: sc.exe failureflag CloudflareWARP 1
→ ChangeServiceConfig2 SUCCESS
Starting service CloudflareWARP…
Exception performing install custom action: Cannot start service CloudflareWARP on computer ‘.’.
ExecFirewallExceptions: Entering ExecFirewallExceptions in C:\Windows\Installer\MSI7AAF.tmp, version 3.11.4516.0
ExecFirewallExceptions: Installing firewall exception2 Cloudflare WARP (C:\Program Files\Cloudflare\Cloudflare WARP\warp-svc.exe)
Action ended 8:55:37: InstallFinalize. Return value 1.
Action start 8:55:37: LaunchApplicationAfterInstall.
Action start 8:55:37: WixCheckRebootRequired.
Action ended 8:55:37: LaunchApplicationAfterInstall. Return value 0.
WixCheckRebootRequired: Entering WixCheckRebootRequired in C:\Windows\Installer\MSI8F51.tmp, version 3.11.4516.0
Action ended 8:55:37: WixCheckRebootRequired. Return value 1.
Action ended 8:55:37: INSTALL. Return value 1.
Property(S): UpgradeCode = {1BF42825-7B65-4CA9-AFFF-B7B5E1CE27B4}
Property(S): WixRollbackFirewallExceptionsInstall = 1Cloudflare WARP214748364702C:\Program Files\Cloudflare\Cloudflare WARP\warp-svc.exe-2147483648
Property(S): WixExecFirewallExceptionsInstall = 1Cloudflare WARP2147483647*02C:\Program Files\Cloudflare\Cloudflare WARP\warp-svc.exe-2147483648
Property(S): WarpFolder = C:\Program Files\Cloudflare\Cloudflare WARP
Property(S): InstallProgramMenu = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Cloudflare
Property(S): StartupFolderRef = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Property(S): TARGETDIR = D:
Property(S): WixUIRMOption = UseRM
Property(S): ALLUSERS = 1
Property(S): ARPNOMODIFY = 1
Property(S): InstallServiceCA = CA_BinFolderProperty=C:\Program Files\Cloudflare\Cloudflare WARP
Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs
Property(S): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Property(S): INSTALLFOLDER = C:\Program Files\Cloudflare
Property(S): ProgramFiles64Folder = C:\Program Files
Property(S): SourceDir = C:\Users\RUNNER~1\AppData\Local\Temp
Property(S): ARPPRODUCTICON = icon.ico
Property(S): APPURLINFOABOUT = http://cloudflare.com
Property(S): MSIUSEREALADMINDETECTION = 1
Property(S): MSIRESTARTMANAGERCONTROL = Disable
Property(S): REBOOT = ReallySuppress
Property(S): MsiLogging = v
Property(S): REINSTALLMODE = amus
Property(S): DefaultUIFont = WixUI_Font_Normal
Property(S): WixUI_Mode = Advanced
Property(S): Manufacturer = Cloudflare, Inc.
Property(S): ProductCode = {30C49141-5DD4-439E-BFC3-0A24DCC930B4}
Property(S): ProductLanguage = 1033
Property(S): ProductName = Cloudflare WARP
Property(S): ProductVersion = 23.7.160.0
Property(S): ErrorDialog = ErrorDlg
Property(S): SecureCustomProperties = WIX_DOWNGRADE_DETECTED;WIX_UPGRADE_DETECTED
Property(S): MsiLogFileLocation = C:\Users\RUNNER~1\AppData\Local\Temp\Warp_Installation_Log.txt
Property(S): PackageCode = {2BE9BD4E-2C3C-483C-BED6-EFA6AB8733CA}
Property(S): ProductState = -1
Property(S): PackagecodeChanging = 1
Property(S): ORGANIZATION = ***
Property(S): AUTH_CLIENT_SECRET = ***
Property(S): AUTH_CLIENT_ID = ***
Property(S): AUTO_CONNECT = 1
Property(S): SERVICE_MODE = warp
Property(S): CAPTIVEPORTALDETECTION = Enabled
Property(S): CAPTIVEPORTALTIMEOUT = 120
Property(S): CURRENTDIRECTORY = D:\a\desktop\desktop
Property(S): CLIENTUILEVEL = 3
Property(S): CLIENTPROCESSID = 4980
Property(S): VersionDatabase = 300
Property(S): VersionMsi = 5.00
Property(S): VersionNT = 603
Property(S): VersionNT64 = 603
Property(S): WindowsBuild = 9600
Property(S): ServicePackLevel = 0
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 3
Property(S): MsiNTSuiteDataCenter = 1
Property(S): WindowsFolder = C:\Windows
Property(S): WindowsVolume = C:
Property(S): System64Folder = C:\Windows\system32
Property(S): SystemFolder = C:\Windows\SysWOW64
Property(S): RemoteAdminTS = 1
Property(S): TempFolder = C:\Users\RUNNER~1\AppData\Local\Temp
Property(S): ProgramFilesFolder = C:\Program Files (x86)
Property(S): CommonFilesFolder = C:\Program Files (x86)\Common Files
Property(S): CommonFiles64Folder = C:\Program Files\Common Files
Property(S): AppDataFolder = C:\Users\runneradmin\AppData\Roaming
Property(S): FavoritesFolder = C:\Users\runneradmin\Favorites
Property(S): NetHoodFolder = C:\Users\runneradmin\AppData\Roaming\Microsoft\Windows\Network Shortcuts
Property(S): PersonalFolder = C:\Users\runneradmin\Documents
Property(S): PrintHoodFolder = C:\Users\runneradmin\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
Property(S): RecentFolder = C:\Users\runneradmin\AppData\Roaming\Microsoft\Windows\Recent
Property(S): SendToFolder = C:\Users\runneradmin\AppData\Roaming\Microsoft\Windows\SendTo
Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates
Property(S): CommonAppDataFolder = C:\ProgramData
Property(S): LocalAppDataFolder = C:\Users\runneradmin\AppData\Local
Property(S): MyPicturesFolder = C:\Users\runneradmin\Pictures
Property(S): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
Property(S): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu
Property(S): DesktopFolder = C:\Users\Public\Desktop
Property(S): FontsFolder = C:\Windows\Fonts
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): MsiAMD64 = 6
Property(S): Msix64 = 6
Property(S): Intel = 6
Property(S): PhysicalMemory = 16384
Property(S): VirtualMemory = 17420
Property(S): AdminUser = 1
Property(S): MsiTrueAdminUser = 1
Property(S): LogonUser = runneradmin
Property(S): UserSID = S-1-5-21-2163106250-2345980603-2976278109-500
Property(S): UserLanguageID = 1033
Property(S): ComputerName = fv-az417-471
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 19
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): TextInternalLeading = 3
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 8:55:37
Property(S): Date = 8/7/2023
Property(S): MsiNetAssemblySupport = 4.8.9037.0
Property(S): MsiWin32AssemblySupport = 6.3.20348.1668
Property(S): RedirectedDllSupport = 2
Property(S): MsiRunningElevated = 1
Property(S): Privileged = 1
Property(S): DATABASE = C:\Windows\Installer\e57e0.msi
Property(S): OriginalDatabase = C:\Users\RUNNER~1\AppData\Local\Temp\Cloudflare_WARP_Release-x64.msi
Property(S): UILevel = 2
Property(S): ACTION = INSTALL
Property(S): ROOTDRIVE = D:
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): INSTALLLEVEL = 1
Property(S): SOURCEDIR = C:\Users\RUNNER~1\AppData\Local\Temp
Property(S): SourcedirProduct = {30C49141-5DD4-439E-BFC3-0A24DCC930B4}
Property(S): ProductToBeRegistered = 1
MSI (s) (D4:04) [08:55:37:204]: Product: Cloudflare WARP – Installation completed successfully.
MSI (s) (D4:04) [08:55:37:204]: Windows Installer installed the product. Product Name: Cloudflare WARP. Product Version: 23.7.160.0. Product Language: 1033. Manufacturer: Cloudflare, Inc… Installation success or error status: 0.