Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#438 closed Bug (Fixed)

Vista 64: ProgramDir

Reported by: Marc Owned by:
Milestone: Future Release Component: Documentation
Version: 3.2.13.4 Severity: None
Keywords: Vista64 Cc:

Description

Hi,

under Vista64 we find two Program Files-Folders:

  1. Program Files
  2. Program Files (x86)

The help file suggests

@SystemDrive & "\Program Files(x86)"

But: The Macro @SystemDrive does not exist and there is a space missing before the "(x86).

Funny thing: When pressing F5, Scite launches the X86 Version from AutoIt (at least, I think so), because @programdir resolves to the x86 version.
If the .au3 script is started from the explorer, the x64 version is used and fails to find the program the script should launches.

Attachments (0)

Change History (3)

comment:1 in reply to: ↑ description ; follow-up: Changed 11 years ago by Valik

Replying to Marc:

Hi,

under Vista64 we find two Program Files-Folders:

  1. Program Files
  2. Program Files (x86)

The help file suggests

@SystemDrive & "\Program Files(x86)"

But: The Macro @SystemDrive does not exist and there is a space missing before the "(x86).

You do not state where this is in the documentation but I found it none-the-less. I've fixed what you mention and a couple other issues. It no longer contains the mis-leading non-existent macro.

Funny thing: When pressing F5, Scite launches the X86 Version from AutoIt (at least, I think so), because @programdir resolves to the x86 version.
If the .au3 script is started from the explorer, the x64 version is used and fails to find the program the script should launches.

Hmm, is your Explorer the 64-bit version? If so, it's probably looking in "Program Files" which is where 64-bit binaries go. Since AutoIt installs the 64-bit binaries along-side the 32-bit binaries via a 32-bit installer everything goes into the "Program Files (x86)" folder. This sounds like a problem with how our installer sets things up, however.

comment:2 in reply to: ↑ 1 Changed 11 years ago by Jpm

  • Resolution set to Fixed
  • Status changed from new to closed
  • Version changed from 3.2.12.0 to 3.2.13.4

Replying to Valik:

Funny thing: When pressing F5, Scite launches the X86 Version from AutoIt (at least, I think so), because @programdir resolves to the x86 version.
If the .au3 script is started from the explorer, the x64 version is used and fails to find the program the script should launches.

I did complete test under Vista64 and everything works as expected.
The reason why is Scite only launch the X86 version is because Scite is a 32-bit process

comment:3 Changed 11 years ago by TicketCleanup

  • Milestone set to Future Release

Automatic ticket cleanup.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.