Modify

#425 closed Feature Request (Rejected)

Change to the registy by the installer

Reported by: GEOSoft Owned by:
Milestone: Component: Other
Version: Severity: None
Keywords: Cc:

Description

The standard method of finding the path to the AutoIt3 folder is to read and parse the default registry value at.
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AutoIt3.exe

Although this is easily enough accomplished it would be much easier if the installer also wrote just the folder path to a new value like "Path". Typically that would just be
"C:\Program Files\AutoIt3" or "C:\Program Files\AutoIt3\"
That is a simple change for the installer. Then if we wanted, for example, the path to the standard Include folder it would just be

$rKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AutoIt3.exe"
$InclPath = RegRead($rKey,"Path") & "\include\"

Just a thought here, but I think it is a better solution than using

$rKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AutoIt3.exe"
$rVal = RegRead($rKey,"")
$InclPath = StringLeft($rVal, StringInStr($rVal,"\",0,-1)) & "include\"

Attachments (0)

Change History (2)

comment:1 by Valik, on Jul 2, 2008 at 9:13:51 PM

Resolution: Rejected
Status: newclosed

George, see "HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt". Specifically the "InstallDir" and "betaInstallDir" values.

Closing as rejected.

comment:2 by TicketCleanup, on Jul 2, 2008 at 10:00:07 PM

Version: 3.2.12.0

Automatic ticket cleanup.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.