Sign in to follow this  
Followers 0

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

15 posts in this topic

Posted

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]

Share this post


Link to post
Share on other sites



Posted

Have you used the installers ?

Share this post


Link to post
Share on other sites

Posted

yes, Both.

Additional:

Because it make a difference,

Scite4AautoIt3 editor was opened by activating a au3 file.

And not by using the Scite4AautoIt3 shortcut.

Share this post


Link to post
Share on other sites

Posted (edited)

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

Share this post


Link to post
Share on other sites

Posted

Will try tomorrow.

Night night

Share this post


Link to post
Share on other sites

Posted

weltrusten :)

Share this post


Link to post
Share on other sites

Posted

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)

Share this post


Link to post
Share on other sites

Posted (edited)

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

Share this post


Link to post
Share on other sites

Posted

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"

Share this post


Link to post
Share on other sites

Posted (edited)

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

Share this post


Link to post
Share on other sites

Posted (edited)

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

Share this post


Link to post
Share on other sites

Posted

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.

Share this post


Link to post
Share on other sites

Posted

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?).

Share this post


Link to post
Share on other sites

Posted

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 :)

Share this post


Link to post
Share on other sites

Posted

Thanks,

Fixed 3.2.12.0

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0