-
Notifications
You must be signed in to change notification settings - Fork 141
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
Automatic ImageMagick install on Windows #165
Conversation
This downloads and runs the IM installer automatically. Shows installer authorization prompt in most security environments, but otherwise runs unattended. Installs to usual BinDeps binary path, and does not touch system PATH or create icons.
So the big question here is whether this should be the default. I vote yes, because image i/o is kind of useful... But if you don't want this as the default, I'm not quite sure how to nicely make it opt-in. |
I think this is the first case of a |
I would prefer to have added an "install_cmd" option for |
Nice, @ihnorton! I vote "yes" that this should be the default too. But I'll give Windows users a chance to chime in. |
Pinging some people who have commented on Windows issues: @simonp0420 @mykelk @jhasse @joa-quim: the disadvantage here is that the download can take a few minutes, and the installer requires authorization (but no other input). |
Does this require administrator priveleges? If not, then I'm all for it. If it does, it's a problem at my work where I'm trying to build support for using Julia in my engineering group (without official IT support). |
@simonp0420 it requires acceptance of the UAC prompt, which (AFAIK) may not require Administrator access but it depends on the group policies of your system. Do you mind to try installing and let us know http://www.imagemagick.org/download/binaries/ImageMagick-6.8.9-7-Q16-x64-dll.exe? The other thing to consider is that, now that #163 is merged, this should degrade gracefully again so Images will still be usable. Though we probably will want to add an info message to make clear that "IM install fail" != "Images.jl install fail" |
Sigh. Thanks for checking. I guess I will go with plan B and rehost the On Wed, Aug 20, 2014 at 6:38 PM, Peter Simon notifications@github.com
|
You're a Windows Jedi, Isaiah. |
From http://innounp.sourceforge.net/ Because the inno-based installer cannot be run without admin rights.
Alright, new idea: re-hosting DLLs is annoying. Let's just unpack the files using: http://innounp.sourceforge.net/ see ihnorton@df6be03 |
If it has a good track record, that seems like a great way to go. |
@ihnorton I appreciate very much your efforts to accommodate my probably-no-so-typical constraints. |
Seems to work well on another computer, so I'm going to go for it. |
Automatic ImageMagick install on Windows
@simonp0420 several of us are trying our best to make sure Julia has first-class Windows support! Unfortunately this is very common, a combination of strict security policies and installers that don't degrade gracefully. I think this work-around will work out nicely. Do you mind to try |
Installation goes off without a hitch! Some issue with running the tests, though...
|
If you can do stuff you need to, don't worry just yet. We're in the middle of a Color-handling transition. Shouldn't be much longer now. But, are you by any chance on 0.4? I noticed Color failing its test on 0.4 but not 0.3. I haven't had time to investigate, though. @ihnorton, quite a triumph! I'll have to bump the tag again. |
Seems to be working fine for me. I'm running v"0.3.0-rc4". Thanks again! |
This downloads and runs the IM installer automatically.
Shows installer authorization prompt in most security
environments, but otherwise runs unattended. Installs
to usual BinDeps binary path, and does not touch system
PATH or create icons