cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

Windows Installer not not working

Open AmodeusR opened this issue 5 years ago • 18 comments

I downloaded Cloudfared windows installer, both 32 and 64 bits, but none of them worked, it just open a blank terminal and that's it. Am I doing something wrong, or...?

AmodeusR avatar Oct 22 '21 15:10 AmodeusR

Did you download the .exe or .msi?

sudarshan-reddy avatar Oct 22 '21 15:10 sudarshan-reddy

I had the same problem with the .exe file, the .msi worked.

PaddeCraft avatar Oct 22 '21 15:10 PaddeCraft

On the installation page it offers only two option for Windows and both are .exe files for what I could find.

Edit.: Ok, I just found the .msi installer in the release page. They could include the .msi download files on the documentation page as well...

AmodeusR avatar Oct 22 '21 15:10 AmodeusR

That's a fair argument. We will do that. If you want, you can submit a PR similar to https://github.com/cloudflare/cloudflare-docs/pull/1977 as well.

sudarshan-reddy avatar Oct 22 '21 15:10 sudarshan-reddy

I had the same problem with the .exe file, the .msi worked.

Can you give more details? The .msi file installs the same .exe file as the download.

sudarshan-reddy avatar Oct 22 '21 15:10 sudarshan-reddy

The .exe file opened a blank console window running in a temporary directory. Now that I installed cloudflared it instantly closes.

PaddeCraft avatar Oct 22 '21 16:10 PaddeCraft

Did you click on it or run it in cmd like cloudflared tunnel create/run ?

sudarshan-reddy avatar Oct 22 '21 16:10 sudarshan-reddy

I clicked on the installer.

PaddeCraft avatar Oct 22 '21 16:10 PaddeCraft

Just to reiterate, the exe is not the installer. The .msi installs an .exe. So with the if you click the .exe it will yield the exact behaviour you are describing. Check the windows mod in : https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide#1-download-and-install-cloudflared

sudarshan-reddy avatar Oct 22 '21 16:10 sudarshan-reddy

Oh, i didn't notice. The exe file works like the cloudflared command line. I thought it was an installer... I should´ve read the documentation a bit more...

PaddeCraft avatar Oct 22 '21 16:10 PaddeCraft

No worries at all. Hope you enjoy using it. :)

sudarshan-reddy avatar Oct 22 '21 20:10 sudarshan-reddy

Just a quick question here, if I may... Do I need to have a domain to use Cloudfared?

AmodeusR avatar Oct 25 '21 21:10 AmodeusR

@AmodeusR it's not a requirement, but it's recommended.

If you're simply testing Tunnels to see if this is the right solution for your team, you can use Quick Tunnels without the need for a zone (domain) or account.

However, if you're planning to use Tunnels in production, we'd recommend creating an account and adding a zone for a better end-to-end experience.

abelinkinbio avatar Oct 26 '21 13:10 abelinkinbio

Sorry to respond here. Perhaps a new feature request or similar would be better.

I made the same mistake in assuming the .exe is also an installer. I think the internet standard name for these types of executables is Portable. So, a rename for the Type in the table on the downloads page would clear things up.

FYI: if you zip the .exe. The size shrinks to around 17mb. Probably the .exe is delivered zipped at the protocol layer. But that requires processing power, everytime. So maybe, it would be better to deliver the portable executable in a zip. And turn of zip on the protocol layer for zipped files.

TonnyWildeman avatar Dec 02 '22 12:12 TonnyWildeman

In Windows, I didn't go through the steps as mentioned in the link sent by @sudarshan-reddy. I simply downloaded the .exe file provided, changed the name of the .exe file to cloudflared.exe (or whatever relevant for yourself), changed directory to the downloads folder, and created a tunnel using: .\cloudflared.exe tunnel

Jarrettgohxz avatar Jan 24 '23 04:01 Jarrettgohxz

For me I needed to be in the C:\Program Files (x86)\cloudflared directory in order to install:

image

DavidBendahan avatar Feb 03 '23 02:02 DavidBendahan

<off-topic/> @DavidBendahan What are you using for your pwsh terminal coloring, etc.? </off-topic/>

TonnyWildeman avatar Feb 06 '23 07:02 TonnyWildeman

Hi @TonnyWildeman , I'm using oh-my-posh, adding here the Installation tutorial link 👍

DavidBendahan avatar Feb 09 '23 20:02 DavidBendahan