20
edits
Changes
new for unicode version
This is a silent installer for [http://www.autohotkey.com AutoHotkey], an automation, hotkey and scripting tool.
Installer Options refer to this site: [http://l.autohotkey.net/docs/Scripts.htm#install Installer Options]
==For New Unicode Version==
<source lang="xml">
<package
id="autohotkey"
name="AutoHotkey"
revision="%PKG_VERSION%"
reboot="false"
priority="1">
<variable name="PKG_VERSION" value="1.1.11.02" />
<variable name="PKG_EXE" value="AutoHotkey_L_Install_%PKG_VERSION%.exe" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\AutoHotkey" />
<variable name="PKG_DESTINATION" value="%ProgramFiles%\AutoHotkey\" architecture="x86" />
<variable name="PKG_DESTINATION" value="%ProgramFiles%\AutoHotkey\" architecture="x64" />
<variable name="PKG_INSTALL_SWITCH" value="/S" />
<variable name="PKG_REMOVE_SWITCH" value="/Uninstall" />
<check type="uninstall" condition="versionequalto" path="AutoHotkey %PKG_VERSION%" value="%PKG_VERSION%" />
<commands>
<command type="install" cmd='"%PKG_SOURCE%\%PKG_EXE%" %PKG_INSTALL_SWITCH%' />
<command type="upgrade" include="install" />
<command type="remove" cmd='"%PKG_DESTINATION%\AutoHotkey.exe" "%PKG_DESTINATION%\Installer.ahk" %PKG_REMOVE_SWITCH%' />
</commands>
</package>
</source>
==For old Ansi Version==
<source lang="xml">
<package