Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Installer not not working #493

Closed
AmodeusR opened this issue Oct 22, 2021 · 18 comments
Closed

Windows Installer not not working #493

AmodeusR opened this issue Oct 22, 2021 · 18 comments

Comments

@AmodeusR
Copy link

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...?

@sudarshan-reddy
Copy link
Contributor

Did you download the .exe or .msi?

@PaddeCraft
Copy link

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

@AmodeusR
Copy link
Author

AmodeusR commented Oct 22, 2021

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...

@sudarshan-reddy
Copy link
Contributor

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

@sudarshan-reddy
Copy link
Contributor

sudarshan-reddy commented Oct 22, 2021

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.

@PaddeCraft
Copy link

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

@sudarshan-reddy
Copy link
Contributor

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

@PaddeCraft
Copy link

I clicked on the installer.

@sudarshan-reddy
Copy link
Contributor

sudarshan-reddy commented Oct 22, 2021

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

@PaddeCraft
Copy link

PaddeCraft commented Oct 22, 2021

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...

@sudarshan-reddy
Copy link
Contributor

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

@AmodeusR
Copy link
Author

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

@abelinkinbio
Copy link
Contributor

@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.

@TonnyWildeman
Copy link

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.

@Jarrettgohh
Copy link

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

@DavidBendahan
Copy link

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

image

@TonnyWildeman
Copy link

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

@DavidBendahan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants