-
-
Notifications
You must be signed in to change notification settings - Fork 17
Installer requires admin rights #43
Comments
On Tue, Mar 15, 2016 at 01:16:39PM -0700, Hugues Fontenelle wrote:
The install script in this repository installs neither Git for Windows |
Right, my bad about what this installer is supposed to do. TBH I had not heard of it before getting this email:
I'm going to ask about the error message.. |
I got a fast answer to my email, but this doesn't help much.
I can't help more, so feel free to close if you know that the Installer doesn't require admin rights! |
The installer does currently require administrative access. This occurs, at least in part, because it is installing code that does the installation into What I'm unsure of is whether or not this, on it's own, will prevent Windows from asking for administrative access to run the installer. I'm sure it's possible if we install where the user has write permission, just a question of whether there are extra switches that need to be flipped in the InnoSetup configuration file. |
For InnoSetup this would be
For the equivalent of "user program files". Not sure if this requires admin or not but I don't think it does...? |
I am trying to install a freshly downloaded Software Carpentry Windows Installer, and it triggers adminstrator authorization because it cannot verify the publisher. If I choose Run, it displays User Account Control. Using that, it offers to install in c:\program files\swc-installer. I install that, it says it finishes the installation, and then Setup throws an error from c:\p f\swc-installer\swc-windows-installer.exe CreateProcess failed; code 216; This is on Windows 7 Enterprise, Service Pack 1, 32-bit, installed into a Virtual Box VM. |
The magic from a Linux machine seems to think that is this type of file: swc-windows-installer.exe: PE32+ executable for MS Windows (console) Mono/.Net assembly |
@justbennet I could be wrong, but I believe the installer is currently 64-bit only, which is why you would have gotten that error message. |
@embray That's what I thought, and why I copied to Linux and asked the magic file. Maybe the magic file can't identify 64-bit Windows.... |
PE32+ is the executable format for 64-bit executables on Windows. |
One student reported being unable to use the installer, because she did not have administrative rights on her machine.
Luckily she had Git for Windows pre-installed, so I suggested that she gets Anaconda, which can be installed without privileges.
I suppose that Git for Windows Portable ("thumbdrive edition") could have been a workaround.
The text was updated successfully, but these errors were encountered: