AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What does the Installer do, exactly?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Levitt
Guest





PostPosted: Sun Jul 06, 2008 12:46 am    Post subject: What does the Installer do, exactly? Reply with quote

AutoHotKey is available as a zipped no-install archive, and with an installer.

But what exactly does the installer do? Does it just copy the files in a target directory and make the shortcuts? Or does it do other things (such as in the registry) that won't happen if you just use the Zip archive?


Can someone help clear this up?
Back to top
Guest






PostPosted: Sun Jul 06, 2008 12:00 pm    Post subject: Re: What does the Installer do, exactly? Reply with quote

Levitt wrote:
Does it just copy the files in a target directory and make the shortcuts? Or does it do
other things (such as in the registry) that won't happen if you just use the Zip archive?

Can someone help clear this up?

The installer adds convienience features (in the registry) like:
  • enabling double click on *.ahk to run that script
  • adding context menu items to edit or compile a script
  • create a new ahk file using template

Here are the registry entries that I captured during an old installation:
Code:
[HKEY_LOCAL_MACHINE\Software\AutoHotkey]
"InstallDir"="C:\\Program Files\\AutoHotkey"
"Version"="1.0.40.11"

[HKEY_LOCAL_MACHINE\Software\CLASSES\.ahk\ShellNew]
"FileName"="Template.ahk"

[HKEY_LOCAL_MACHINE\Software\CLASSES\.ahk]
@="AutoHotkeyScript"

[HKEY_LOCAL_MACHINE\Software\CLASSES\AutoHotkeyScript\DefaultIcon]
@="C:\\Program Files\\AutoHotkey\\AutoHotkey.exe,1"

[HKEY_LOCAL_MACHINE\Software\CLASSES\AutoHotkeyScript\Shell\Compile\Command]
@="\"C:\\Program Files\\AutoHotkey\\Compiler\\Ahk2Exe.exe\" /in \"%l\""

[HKEY_LOCAL_MACHINE\Software\CLASSES\AutoHotkeyScript\Shell\Compile]
@="Compile Script"

[HKEY_LOCAL_MACHINE\Software\CLASSES\AutoHotkeyScript\Shell\Edit\Command]
@="notepad.exe %1"

[HKEY_LOCAL_MACHINE\Software\CLASSES\AutoHotkeyScript\Shell\Edit]
@="Edit Script"

[HKEY_LOCAL_MACHINE\Software\CLASSES\AutoHotkeyScript\Shell\Open\Command]
@="\"C:\\Program Files\\AutoHotkey\\AutoHotkey.exe\" \"%l\" %2 %3 %4 %5 %6 %7 %8 %9"

[HKEY_LOCAL_MACHINE\Software\CLASSES\AutoHotkeyScript\Shell\Open]
@="Open"

[HKEY_LOCAL_MACHINE\Software\CLASSES\AutoHotkeyScript\Shell\Run\Command]
@="\"C:\\Program Files\\AutoHotkey\\AutoHotkey.exe\" \"%l\" %2 %3 %4 %5 %6 %7 %8 %9"

[HKEY_LOCAL_MACHINE\Software\CLASSES\AutoHotkeyScript\Shell\Run]
@="Run Script"

[HKEY_LOCAL_MACHINE\Software\CLASSES\AutoHotkeyScript\Shell]
@="Run"

[HKEY_LOCAL_MACHINE\Software\CLASSES\AutoHotkeyScript]
@="AutoHotkey Script"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\Ahk2Exe.exe]
@="C:\\Program Files\\AutoHotkey\\Compiler\\Ahk2Exe.exe"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\AU3_Spy.exe]
@="C:\\Program Files\\AutoHotkey\\AU3_Spy.exe"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\AutoHotkey.exe]
@="C:\\Program Files\\AutoHotkey\\AutoHotkey.exe"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\AutoScriptWriter.exe]
@="C:\\Program Files\\AutoHotkey\\AutoScriptWriter\\AutoScriptWriter.exe"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\AutoHotkey]
"DisplayIcon"="C:\\Program Files\\AutoHotkey\\AutoHotkey.exe"
"DisplayName"="AutoHotkey 1.0.40.11"
"DisplayVersion"="1.0.40.11"
"Publisher"="Chris Mallett"
"UninstallString"="C:\\Program Files\\AutoHotkey\\uninst.exe"
"URLInfoAbout"="http://www.autohotkey.com"
Back to top
Levitt
Guest





PostPosted: Sun Jul 06, 2008 4:48 pm    Post subject: Reply with quote

Gotcha! Thanks!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group