#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\"

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