#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 Changed 16 years ago by Valik
- Resolution set to Rejected
- Status changed from new to closed
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.
George, see "HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt". Specifically the "InstallDir" and "betaInstallDir" values.
Closing as rejected.