michaelethompson / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Installation fails (WIN XP) due to Registry settings #901

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download Win Installer from 
https://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-ocr-setu
p-3.02.02.exe&can=2&q=
2. Install with default options

What is the expected output? What do you see instead?
Complete Install is expected, but it freezes after reporting "Appending to 
PATH". Tesseract seems to be half installed. Reinstall asks to deinstall the 
old version first. Deinstallation freezes on the same action.

Installation without the component "Registry settings" works just fine.

What version of the product are you using? On what operating system?
tesseract 3.02.02
Win XP Professional SP3, German language

Original issue reported on code.google.com by till.b...@gmail.com on 4 May 2013 at 8:28

GoogleCodeExporter commented 9 years ago
Unfortunately I can not reproduce it.

Are you sure you have rights to modified windows registry?
Is there running some kind of security program that is blocking other program 
to modify windows registry?

Original comment by zde...@gmail.com on 16 May 2013 at 9:12

GoogleCodeExporter commented 9 years ago
Same here, vanilla Win7 x64, no UAC, stuck at PATH on 
install/uninstall/reinstall.

Original comment by kzhv...@gmail.com on 24 May 2013 at 5:51

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, I am logged in as an Administrator. Only a simple anti virus program is 
installed - no further security programs.

Original comment by till.b...@gmail.com on 26 May 2013 at 5:23

GoogleCodeExporter commented 9 years ago
I am experiencing the same issue - only running Microsoft secuirty. No third 
party antivirus.

Original comment by thedarkb...@gmail.com on 6 Jun 2013 at 6:15

GoogleCodeExporter commented 9 years ago
Trying to install on Win-XP-SP3. There was a very long wait (about 15min) after 

    Setting PATH to X:\YYYY\Tesseract at HKCU
    Target was appended to PATH

then

    Setting TESSDATA_PREFIX at HKCU
    TESSDATA_PREFIX was empty and has been updated with the target

then again a long wait and the install completed.

But the download of extra language files failed, could be due to the firewall 
but the connection was approved/allowed.

Original comment by djidji...@gmail.com on 26 Jun 2013 at 11:41

GoogleCodeExporter commented 9 years ago
Installer is created by NSIS (Nullsoft Scriptable Install System)[1]. Script 
used for building installer is in svn[2].

It should not used anything non-standard. My problem is that I can not 
reproduce problem and therefore to test it.

Feel free to improve this installation script.

[1] http://nsis.sourceforge.net/Main_Page
[2] 
https://code.google.com/p/tesseract-ocr/source/browse/trunk/vs2008/tesseract-3.0
2.02.nsi?&r=815

Original comment by zde...@gmail.com on 27 Jun 2013 at 6:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I hadn't have this problem on Win 7 Home x64 four months ago.

But now I have got the same issue on Win7 Ultimate x64 (as Administrator), 
whether 
are firewall and antivirus suspended or not.

Original comment by boris.gl...@gmail.com on 4 Jul 2013 at 8:22

GoogleCodeExporter commented 9 years ago
In response to #5:

I ran into this problem about a month ago. I tried waiting for ~45 minutes with 
no luck, but leaving the installer running overnight seemed to work.

Alternatively, you can run the installer until it hangs, kill the installer, 
pull up the .nsi script from comment #6, and do the rest of the tasks by hand. 
(e.g. set the TESSDATA_PREFIX)

I hope this helps someone.

Original comment by mich...@fireside21.com on 1 Aug 2013 at 1:46

GoogleCodeExporter commented 9 years ago
Can you please check the length of your path variable?
Maybe this error is related to EnvVarUpdate nsis macro
[1] 
http://nsis.sourceforge.net/Environmental_Variables:_append,_prepend,_and_remove
_entries

Original comment by zde...@gmail.com on 6 May 2015 at 1:32