Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Fresh Install Not Using "My:\Program Files" location


  • Please log in to reply
14 replies to this topic

#1 MvGulik

MvGulik

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 2,825 posts

Posted 03 December 2007 - 10:46 PM

After a fist time install (on a relative new windows.Xp.Pro.Sp2)
of
1) AutoIt[2.3.0.532] -> using “c:\PROG_XP\AutoIt3” instead of “c:\Program Files\AutoIt3”
2) SciTE4AutoIt3[2007.11.15]

Trying to run[GO] a au3 file from scite failed with the following message.

>"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "c:\...\file.au3"
>The system cannot find the file specified.

Not pretending to now what I'm doing,
I scanned the windows register and changed the found “c:\Program Files\AutoIt3” data into “c:\PROG_XP Files\AutoIt3”.
Which fixed my problem.
(also fixed the kind a short [Tools] menu in SciTe4AautoIt3)

Edited Regkey's:
[HKEY_CLASSES_ROOT\applications\SciTE.exe\shell\Edit\Command]
[HKEY_CLASSES_ROOT\applications\SciTE.exe\shell\Open\Command]
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Edit\Command]
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Open\Command]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]







#2 Jos

Jos

    Je maintiendrai

  • Developers
  • 23,437 posts

Posted 03 December 2007 - 10:52 PM

Have you used the installers ?

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#3 MvGulik

MvGulik

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 2,825 posts

Posted 03 December 2007 - 10:58 PM

yes, Both.

Additional:
Because it make a difference,
Scite4AautoIt3 editor was opened by activating a au3 file.
And not by using the Scite4AautoIt3 shortcut.

#4 Jos

Jos

    Je maintiendrai

  • Developers
  • 23,437 posts

Posted 03 December 2007 - 11:02 PM

Not sure why but am pretty sure that the autoit3dir= in au3.properties is pointing to the wrong directory.
Just fix that and see if things work after changing that...

Edited by Jos, 03 December 2007 - 11:02 PM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#5 MvGulik

MvGulik

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 2,825 posts

Posted 03 December 2007 - 11:12 PM

Will try tomorrow.
Night night

#6 Jos

Jos

    Je maintiendrai

  • Developers
  • 23,437 posts

Posted 03 December 2007 - 11:15 PM

weltrusten :)

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#7 MvGulik

MvGulik

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 2,825 posts

Posted 04 December 2007 - 09:27 PM

Nope, its pointing to the right location.

# *** Specify here your AutoIt program directory ***
autoit3dir=C:\PROG_XP\AutoIt3



checking for a “C:\Program Files\AutoIt3\SciTE\” folder I found the following files present at that location.

(all 3 file with filedate: 2007.11.25)
(install date was: 2007.11.29)
C:\Program Files\AutoIt3\SciTE\au3.keywords.properties (;Autoit3 Version 3.2.10.0)
C:\Program Files\AutoIt3\SciTE\SciTE.exe (v1.7.1.0)
C:\Program Files\AutoIt3\SciTE\api\au3.api (v?)

C:\PROG_XP\AutoIt3\SciTE\au3.keywords.properties (;Autoit3 Version 3.2.8.0)
C:\PROG_XP\AutoIt3\SciTE\SciTE.exe (v1.7.4.0)
C:\PROG_XP\AutoIt3\SciTE\api\au3.api (v?)(filedate: 2007.09.09)

The scite.exe file in 'C:\Program Files\AutoIt3\SciTE\' is kinda hiding the wrong au3-file link to the correct Scite4AutoIt3 location.
Removing them, activated the 'Open file with program ...' window on double clicking on a AU3 file. (org situation)

#8 Jos

Jos

    Je maintiendrai

  • Developers
  • 23,437 posts

Posted 04 December 2007 - 09:36 PM

ScITE has to be a subdirectory of the AutoIt3 program directory or else it won't work ...
The Installer "should" retrieve the AutoIt3 install directory from the registry and make sure its installed at the right spot.

Will do some testing with that since it all was changed a bit a couple of weeks ago.

you did say you used the installers to install AutoIt3 and then SciTE4AutoIt3 .. right ?

Edit: Could you check and let me know the registry value for: "HKLM\Software\AutoIt v3\AutoIt" "InstallDir"

Edited by Jos, 04 December 2007 - 09:42 PM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#9 MvGulik

MvGulik

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 2,825 posts

Posted 04 December 2007 - 09:57 PM

you did say you used the installers to install AutoIt3 and then SciTE4AutoIt3 .. right ?

correct, one directly after the other.
And SciTE4AutoIt3 did pick up the correct location (PROG_XP/...) if I remember it correctly.

[HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt]
;(Default)=(value not set)
"InstallDir"="C:\\PROG_XP\\AutoIt3"
"Version"="v3.2.10.0"

#10 Jos

Jos

    Je maintiendrai

  • Developers
  • 23,437 posts

Posted 04 December 2007 - 10:21 PM

correct, one directly after the other.
And SciTE4AutoIt3 did pick up the correct location (PROG_XP/...) if I remember it correctly.

[HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt]
;(Default)=(value not set)
"InstallDir"="C:\\PROG_XP\\AutoIt3"
"Version"="v3.2.10.0"

Ok then SciTE is installed correctly to C:\PROG_XP\AutoIt3\SciTE ? your first post indicates it isn't and says that you are running the "lite" version.

What is the problem you get now when running/compiling a script ?
What output is shown in the SciTE OutputPane ... still the same?

Jos

Edited by Jos, 04 December 2007 - 10:25 PM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#11 Jos

Jos

    Je maintiendrai

  • Developers
  • 23,437 posts

Posted 04 December 2007 - 10:34 PM

Just did an Install of both the latest AutoIt3 installer and then the latest SciTE4Autoit3 installer and used "c:\PROG_XP\AutoIt3" as the target directory.
They both installed fine. on my WinXP box.

Are you installing on a Vista box and do you have Admin rights to the box ?

Edited by Jos, 04 December 2007 - 10:34 PM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#12 MvGulik

MvGulik

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 2,825 posts

Posted 06 December 2007 - 06:19 PM

Just running, and installing, in normal windows-XP-Pro mode.
(Admin account without password)

Think the problem(AutoIt3 installer) is that when I install AutoIt3 for the first time.
It places the basic edit support files in 'c:\Program Files\AutoIt3' instead of in 'c:\PROG_XP\AutoIt3\SciTE'.
And it creates the 'Correct' au3-file-links that go with it.

But after installing Scite4AutoIt3 these au3-file-links are not updated to point to the full-Scite4AutoIt3 editor location.

So double clicking a au3-file in my case WAS opening the scite-lite version.
This lite-version was also looking in the wrong location for the AutoIt3.exe file. 'c:\Program Files\AutoIt3' instead of 'c:\PROG_XP\AutoIt3\SciTE'

Only thing here that might relate to Scite4AutoIt3,
is whether or not to force a update of the au3-file-links to point to the current Scite4AutoIt3 install location.

Hope it makes sens.

#13 Valik

Valik

    Former developer.

  • Active Members
  • PipPipPipPipPipPip
  • 18,879 posts

Posted 06 December 2007 - 06:38 PM

If I understand this right, then the only issue here is the AutoIt installer is ignoring your choice and putting SciTE in "C:\Program Files\AutoIt3\SciTE". So, somebody needs to look at the NSIS script and see why that's happening. Probably a cock-up by Jon when he re-wrote the installer. However, given the massive amount of rewriting he did, he's entitled to at least one cock-up (his arse?).

#14 Jos

Jos

    Je maintiendrai

  • Developers
  • 23,437 posts

Posted 06 December 2007 - 07:41 PM

If I understand this right, then the only issue here is the AutoIt installer is ignoring your choice and putting SciTE in "C:\Program Files\AutoIt3\SciTE". So, somebody needs to look at the NSIS script and see why that's happening. Probably a cock-up by Jon when he re-wrote the installer.

Yea, sounds like it ...

However, given the massive amount of rewriting he did, he's entitled to at least one cock-up (his arse?).

No Comments :)

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#15 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 9,776 posts

Posted 22 December 2007 - 01:05 PM

Thanks,
Fixed 3.2.12.0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users