Windows installer hangs during installing git [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Trying to install git version 2.27.0 and installation stuck on 100%( full green bar).
I tried all the possible way like changing the install location path and with all the drive i have.but nothing worked.
When I asked my computer to restart and then canceling that....it takes me to the finish window but it worthless I could not run the git bash terminal.while trying to open git bash a file formed,named mintty.exe.stackdump
Please somebody help me to fix the issue....
System: windows7 32bit

Logging: This appears to be an INNO setup. Try to log it with:
Git-2.27.0-32-bit.exe /LOG
Then find the log file in the TEMP folder (sort it by modify time until you find the log file at the top).
Updated: "Short" list of things to check for a failing setup.exe
I have a generic check list / ideas list for failing setups here. Check the "Generic Tricks" section for some suggestions. Here are some of the points as recommendations:
Re-download the setup and virus check it. Quick malware scan of problem box.
Verify disk space and check for disk errors on problem box.
Temporarily disable your anti-virus during installation.
Now try to log your setup as described above - on the problem box - and check for errors.
Further alternatives:
Try to create a new admin account on problem box and install with a freshly downloaded and verified installer.
Install on a virtual to make sure the install can succeed in your environment.

First, as a workaround, you can at least simply uncompress PortableGit-2.27.0-64-bit.7z.exe, anywhere you want, and set your PATH:
set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\
set GH=C:\path\to\git
set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%PATH%
The other test you can do is simply to check if the issue persists with previous version of Git for Windows.

Related

Is "run as an adminstrator " the highest level? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm currently using a tool to modify hosts file ,and it said i should run it as administrator to replace hosts file, and i did so.
but ,it still failed.
And when i manually copy hosts file to etc folder, Windows will also ask me to provide administrator permission to copy to the folder.
This refresh my opinion about Windows administration.I also have wrote some programs that need to be run as administrator, and it works fine,i never though there is something you can't do even run as administrator.
So,if "run as administrator" isn't the highest level, how could a application request a higher level?(eg. replace hosts file on my computer)
Here is what i found after posting this question:
1.Thanks guys below, your opinions inspired me.
2.It's surely not related to safe mode.
3.I manually right click on the host tool and select "run as administrator", it works!It can replace the hosts file!You guys can try it,if you run notepad as administrator, it will also can write to hosts file.
so,here is what i guess:
The system do have two administrator level.
When double click on the my hosts tool, it only requires the lower level of administrator,so it failed to replace hosts file.
But manually right click and run as administrator, the system will give the tool highest level,and it can replace hosts file.
Explorer.exe only have a lower administrator level even you log in as administrator.That's why I need further permission when i paste hosts file manually.
What you did,I was trying to achieve the same manually,but I also faced the same situation. Actually,going into the permission related section,you will find that there are 3 users/groups at least assigned to each system :-
System
Administrator(includes all those accounts which are admin)
the logged in user-account.
So,basically,what Windows does I guess is that it takes special care about the systems file like C:/Windows/System32/driver/etc/hosts.file is a system-configuration related file which looks for mapping the hostnames to IP-Addresses!
The hosts file is one of several system facilities that assists in
addressing network nodes in a computer network. It is a common part of
an operating system's Internet Protocol (IP) implementation, and
serves the function of translating human-friendly hostnames into
numeric protocol addresses, called IP addresses, that identify and
locate a host in an IP network. // Taken from Wikipedia
Hence,you need to have a special permission for editing or configuring hosts file like editing it in safe mode. Though default settings are those which I mentioned, you can always manually configure the permissions.
But,the one line answer to your question is
Yes,System Configuration Files aren't editable manually by default,either they need editing to be done only if Windows is running in Safe Mode,or you need to change the settings manually for your administrator account...

How do you delete a file from a Windows installation if you see the error 'filename too long' [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I had a directory 'c:\windows.old\ leftover from upgrading Windows 8 to 8.1. I wanted to delete the directory and could kill most of it using Windows Explorer shift+delete (delete no undelete).
However there were a few tricks left in there from good old MSFT themselves. For some odd reason they decided that having really long names (RLNs) for the cache entries was a Good Idea. Most Windows utilities (Del/Dir/PowerShell get-children) just die a stinking death when they see a file with a RLN.
So off on the hunt for something to put them out of their too-long misery.
I found this PowerShell add-on module at http://poshcode.org/2488. Joel's ps module adds several commands to ps, including get-longpath and remove-longpath.
Download the zip from his site and unzip it to C:\windows\system32\WindowsPowerShell\1.0\modules. You should now have an Experimental.IO folder in the ps modules directory.
Crank up PowerShell ISE (windows key+x, select Windows
PowerShell ISE) or open the PowerShell command windows (Windows key+x,
Windows PowerShell).
Navigate to the directory with the offending RLN files (e.g. 'c:\Windows.old\users{{username}}\Appdata\Local\Microsoft\Windows Store\Cache\0'. Your ps prompt should now be:
Now on to more productive work.
PS C:\Windows.old\users{{username}}\AppData\Local\Microsoft\Windows Store\Cache\0>
Enter this command: Get-LongPath | Remove-LongPath
This will pipe the RLN filenames to Remove-LongPath. PowerShell just returns to the command prompt, but you verify there are no long files by entering Get-Longpath (or its alias glp) and Dir to see there are no long any RLN files in the directory.
As a last note, if you want to save yourself about an hour, refer to this SO post to ask Windows to delete the Windows.old folder on your behalf from the Disk Cleanup utility.
1) Put Linux on a thumb drive. Ubuntu will be fine.
2) Boot to the thumb drive.
3) Delete the files in question from the UI or from the command line:
rm /path/to/file/that/you're/deleting/42915u02u51...24521.doc
Honestly deleting it wth a Linux thumb drive is far simpler and more reliable than hoping Windows utilities and workarounds won't muck it up.

How do I avoid continual issues with multiple programs (git, ruby, python) and default network drive path problems? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Windows 7 PC. Our network admin has a network drive (H: drive)that installs on restart.....which I do not have access to when not in the office (or is not available via VPN). I have learned to both install apps after disconnecting the network drive and disconnect the network drive by default when at home.
Yet.. it seems that just about anything I install has problems that are not overt install issues. Ruby, Git and Python all install, but have problems.
The latest incarnation is the installation of Git. It installed fine, but when I tried to create a new directory, it gave me the following error
error: could not lock config file H:\/.gitconfig: No such file or directory
error: could not lock config file H:\/.gitconfig: No such file or directory
while executing
"exec {C:/Program Files/Git/libexec/git-core/git-config.exe} --global --add gui.recentrepo C:/Users/myname/Desktop/Testing/projects"
("eval" body line 1)
invoked from within
YET... it still added files to a git folder. It would not allow me to open what I just created.
I am looking for a fix to my .git problem, but I am really looking for clues to a magic bullet on this underlying network issue that continues to be a major roadblock in making headway in my learning experience.
Thank you for your help.
error: could not lock config file H:\/.gitconfig:
That because of the environment variable HOME: make sure to define one which doesn't involve H:\, and git will work just fine.
If you want all programs installed in a custom directory, like C:\prgs, use my project senv.
All programs installed are "portable": simple unzip in their respective folders, no registry modification, no uninstall (simply delete the folder when you don't want a program anymore).
Unzip https://github.com/VonC/senv/archive/master.zip anywhere you want, unzip it, and execute senv.bat: it will install git, python, ruby in a portable way.
The OP user1525974 reports in the comments adding to the gem.bat file:
SET _HOMEDRIVE=%HOMEDRIVE%
SET _HOMEPATH=%HOMEPATH%
SET HOMEDRIVE=C:
SET HOMEPATH=/Ruby193

Is there a non-installable version of Fiddler, or equivalent? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
One of my clients is currently waiting for his IT department to install Fiddler on his desktop so that he can debug his web application... Apparently his desktop requires IT Admin rights to install anything.
Is there a non-installable version of Fiddler, i.e. a standalone exe (additional files ok) or an equivalent program that can be run off a thumbdrive or a local folder?
In fact, Fiddler Classic does not need to be installed:
Download Fiddler Classic setup (ie. FiddlerSetup.exe)
Open it with your Archive Manager (ie. 7-Zip)
Open $PLUGINSDIR folder
Open the contained FiddlerSetup.exe (yes again) in your Archive Manager
Extract the files in a folder
Run Fiddler.exe
For Fiddler Everywhere, it is almost the same
Download Fiddler Everywhere (ie. Fiddler Everywhere 1.0.1.exe)
Open it with your Archive Manager (ie. 7-Zip)
Open $PLUGINSDIR folder
Open the contained app-64.7z file in your Archive Manager
Extract the files in a folder
Run Fiddler Everywhere.exe
No, Fiddler doesn't "Add hooks" that require administrative permissions. You can simply copy the Fiddler folder from the Program Files folder onto the desktop of whatever user you want and launch it directly from there.
The only thing that you don't get in an "XCOPY" install is the Fiddler-related buttons in your browsers (e.g. IE and Firefox) because those are set by the installer, and if you don't run the installer, you won't get the browser extensions.
You may try either Burp ( http://portswigger.net/burp/ ) or Web Scarab ( http://www.owasp.org/index.php/Category:OWASP_WebScarab_Project ). Both are written in Java, downloadable as zip Files and don't require admin rights ... but java. If they don't fit you can either try one of the numerous other stand alone web proxys ( http://www.owasp.org/index.php/Phoenix/Tools#HTTP_proxying_.2F_editing ) or a Firefox plugin ( http://www.owasp.org/index.php/Phoenix/Tools#Browser-based_HTTP_tampering_.2F_editing_.2F_replaying ).
If the application is developed with Eclipse: This also has some simple Traffic Monitoring tools
There's a TCP/IP sniffer called SmartSniff that is designed to not require installation.
You may want to try FiddlerCap, which is a light-weight version of Fiddler (using FiddlerCore) in the sense that it captures traffic and saves it to a Fiddler archive. It does require an install by default, but you can avoid that if you:
Install the FiddlerCap download on a different machine first. This basically does an extract only. You can simply distribute the files to the intended target machine.
Add the FiddlerCap folder on the target machine to the PATH environment variable, because it needs to find FiddlerCore.dll in that folder.
Just try to extract contents from Fiddler's installation file as Laymain mentioned. Worked for version 1.0.0.
For example, using WinRAR:
How it looks like:

QR decoder that works on mac? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Anyone know a QR decoder that works on mac or that might be online? I just need to decode one single image.
Using brew, it is easy to install zbar, a QR code reader.
brew install zbar
Then a QR code can be read by calling:
zbarimg qrcode_file.png
Also #jm666, brew can be used to install opencv.
Unfortunately, the most used library libdecodeqr is depends on OpenCV (gtk2) and it is too hard to compile it on OS X. (Tried to compile it because it is needed by Image::DecodeQR perl module - but unsuccessful).
Fortunately, found this link: http://macscripter.net/viewtopic.php?id=37404 from citing the next:
Download the ZBar source code.
Unpack the the tarball, and open the resulting directory in a Terminal window.
Type ./configure --disable-video --without-python --without-gtk --without-qt to configure the build process, limiting dependencies to ImageMagick.
Type "make" to invoke the build process.
Type "sudo make install", and enter an administrator password when prompted.
You will need ImageMagick what can be installed from macports.
After installing the ZBar, you can nicely decode qrcode with a command
zbarimg qrcode_file.png
Tested on OS X Mavericks 10.9.2 (and Lion/10.7.5)- and works nicely. Becasue it only depends on ImageMagick (exists in macports)- should be easily "compilable" on other OS X versions too.
There is an open-source command line tool named ZBar. It takes a photo as an argument and extracts the information out of any QRCode that it detects in the image.
The open-source project QR-Reader-Mac provides an Applescript script that acts as a wrapper to zbar. You can create a shortcut to the script for processing QRCodes or create a service, as explained below. The script will automatically open the URL contained within the QRCode in your default browser.
Usage
Step by step
ZBar can be easily installed with Homebrew:
brew install zbar
To install QR-Reader-Mac:
Open the QR-Reader-Mac GitHub project page, select Code, and download the project as a ZIP file:
Double click the ZIP file to extract it.
Double click the workflow you want to install. The following Pop-UP should appear:
Confirm by pressing install.
Open System Preferences and add a shortcut to the open_QRCode service under Keyboard > Shortcuts > Services > General:
(Important: Note that QR-Reader-Mac expects to find the executable 'zbarimg' in /usr/local/bin/zbarimg, which is the standard path Homebrew will install it.)
Copy to Clipboard
The QRCode2Clipboard.workflow can be used to extract the content of the QR-Codes into the Clipboard. It can be installed in the same way as the open_QRCode.workflow.

Resources