TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A command-line installer for Windows

120 pointsby anuragsoniover 6 years ago

18 comments

Jaruzelover 6 years ago
I struggle with all the alternate &#x27;installation managers&#x27; for Windows. Microsoft has already done this with their MSI system (Although even they have basically abandoned it in favour of the APPX stuff). MSI was a good format, and could be installed silently with the right switches (&#x2F;q&#x2F;b), support alternate installation options via MST files, and even patches via MSP files. Even the specific DLL dependencies (&#x27;DLL Hell&#x27;) got fixed via manifest files&#x2F;attributes. Microsoft published the MSI specification early on, and encouraged everyone to support it.<p>However, the core problem with Windows software is there isn&#x27;t a primary software repository for all approved and tested software, like there is for *nix platforms. Ideally that&#x27;s what needs to be fixed first before yet more client-end installers get created.<p>To fix this, based on the current landscape, all third-party client-end installers need to support all existing third-party repositories. Even better, everyone agrees on a standard JSON format (or whatever) for their repository manifest and all third-party installers understand that. Then just like Linux et al. all you have to do is add the new repository URL to your installers config, and all the packages advertised within are immediately available.<p>It seems really simple to fix - but people have to co-operate.
评论 #18968464 未加载
评论 #18967746 未加载
评论 #18970371 未加载
评论 #18966812 未加载
评论 #18967281 未加载
评论 #18967848 未加载
评论 #18966963 未加载
评论 #18967721 未加载
评论 #18966921 未加载
评论 #18968553 未加载
评论 #18967082 未加载
pmalyninover 6 years ago
Reading the headline made of think of installing Windows via the command-line (say via imagex). Which is actually very useful in certain tricky situations when you mess up an install.<p>Once I didn&#x27;t have enough space on a flash drive to install Windows via an ISO...but I did have a liveboot ubuntu system and 2 spare drives. Interestingly enough imagex and WIM tools were ported to linux, and it was a surprisingly easy experience.
评论 #18965926 未加载
评论 #18966652 未加载
评论 #18965984 未加载
cyptusover 6 years ago
you can use windows build-in powershell feature &quot;Install-Package&quot; with package provider &quot;chocolatey&quot; just like this on a fresh windows install:<p><pre><code> Set-ExecutionPolicy unrestricted Get-PackageProvider -name chocolatey Install-Package chromium Install-Package 7zip ...</code></pre>
评论 #18966956 未加载
评论 #18966936 未加载
评论 #18967776 未加载
noderatover 6 years ago
I&#x27;ve been exclusively using Linux&#x2F;*BSD (Slackware&#x2F;Gentoo&#x2F;Arch) for personal use since upgrading from my K6-2 500 to an AMD Barton 2600+ because finding, installing and managing &quot;trustworthy&quot; software is easier.<p>Linux has hardware compatibility challenges and software with bugs, but so does Windows. I don&#x27;t, however, have to search through monstrosities like Download.com. I don&#x27;t have to figure out what software may have a new release that is important to me. Critical dependencies are handled automatically. Every distribution may handle these in slightly different ways but these basics hold true.<p>Every time I&#x27;ve had to use Windows I&#x27;ve spent an enormous amount of time searching for and installing things. Once installed I then discover the software has changed to a limited free trial or some other nonsense that ends in another search, install and disappointment loop.<p>It&#x27;s tools that have shown up in the last few years like scoop that have made dealing with Windows at least somewhat tolerable.
tracker1over 6 years ago
Curious how this compares with Chocolatey
评论 #18966388 未加载
评论 #18965460 未加载
评论 #18965751 未加载
评论 #18966635 未加载
评论 #18966953 未加载
rkagererover 6 years ago
<i>&gt;&gt;Scoop reads the README for you&lt;&lt;</i><p>I&#x27;d rather just have a clear and concise README. Better yet, if vendors distributed their applications as single bundled EXE files like back in the day.<p>Don&#x27;t take this the wrong way, I haven&#x27;t used scoop and I have nothing against it. Just wish there weren&#x27;t a need for it.
alexeizover 6 years ago
Scoop together with a large collection of portable software is a godsend in a corporate environment, where you don&#x27;t have admin privileges on your work machine and getting up-to-date software approved and installed by your IT department is a royal pain in the ass. I can confidently say that were it not for Scoop, I&#x27;d be in order of magnitude less productive at my work due to the lack of necessary software. Scoop is one of those things that makes a potentially unbearable work environment a productive and even enjoyable one. Yes, Scoop is not perfect. Sometimes it breaks and I have to manually fix it (it likes to uninstall outdated packages before downloading and verifying the checksum of the updated ones). But the time spent on fixing it is easily recovered by boost of productivity that it provides.
GordonSover 6 years ago
I realise I can find packages by scouring the GitHub repos[0][1], but I&#x27;d also appreciate a web search UI, especially as the number of available packages grows. This could also let me easily discover what version(s) are available etc.<p>I can&#x27;t seen to find it, but does such a UI already exist?<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;lukesampson&#x2F;scoop&#x2F;tree&#x2F;master&#x2F;bucket" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lukesampson&#x2F;scoop&#x2F;tree&#x2F;master&#x2F;bucket</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;lukesampson&#x2F;scoop-extras&#x2F;tree&#x2F;master&#x2F;bucket" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lukesampson&#x2F;scoop-extras&#x2F;tree&#x2F;master&#x2F;buck...</a>
评论 #18966977 未加载
soapdogover 6 years ago
My main machine broke two days ago and I had to buy and setup a new one quickly to resume working. I used scoop to install all applications I needed to work. It was easy and all the apps stay organized in their folder inside my home folder. I find scoop very refreshing and easy to use compared to other windows alternatives. I really recommend it to people, specially developers.
FavouriteColourover 6 years ago
This looks pretty good. At the moment I&#x27;m using MSYS2 on my work machine (have to use Windows).<p>Any thoughts on this installation method?<p><pre><code> iex (new-object net.webclient).downloadstring(&#x27;https:&#x2F;&#x2F;get.scoop.sh&#x27;) </code></pre> I&#x27;m not sure IT Security here would be too impressed.
评论 #18966162 未加载
评论 #18965417 未加载
评论 #18966689 未加载
aynawnover 6 years ago
It&#x27;s easy to add new bucket entries by adding json files. Also if I understand it correctly, their auto update feature allows many apps to be self maintained i.e. you don&#x27;t have to update the json when a new version comes out.
serbrechover 6 years ago
Why handle windows only? This was posted recently on HN : <a href="http:&#x2F;&#x2F;gofi.sh" rel="nofollow">http:&#x2F;&#x2F;gofi.sh</a> - Fish - A systems package manager like homebrew but cross-platform
评论 #18966647 未加载
jpambrunover 6 years ago
Scoop is about the only thing that works on my stupidly locked work laptop. Unfortunately, McAfee AV just started deleting scoop scripts randomly. God I hate windows.
glitchcover 6 years ago
Changing the Execution Policy triggers a UAC prompt...
评论 #18965912 未加载
stuaxoover 6 years ago
How does it compare to chocolatey ?
aboutrubyover 6 years ago
I wouldn&#x27;t put so much trust in this unknown package manager, Chcolatey or Homebrew on Windows would be far better choices.
评论 #18968555 未加载
Tsubasachanover 6 years ago
Ha one important reason why windows won was because you never had to touch the keyboard ever again.
评论 #18967507 未加载
marmadukeover 6 years ago
MinGW ships with pacman, I can’t see why one would need this.
评论 #18967398 未加载
评论 #18967723 未加载