#region - Inno Setup install script - (Inno Setup) #include <Common_Functions.au3> Opt('TrayIconDebug', 1) Break(False) ; Installer. $executable = 'Inno Setup 5.1.12.exe' ; Default group folder in startmenu. $group = 'Compilers' ; Installation folder in Program Files. $directory = 'Inno Setup 5' ; Components to install. $components = '' ; Specify language. $language = '' ; Run the installer. $pid = _InnoSetup() ProcessWaitClose($pid) ; Add files. $source = @ScriptDir & '\files\InnoSetup' If FileExists($source) Then DirCopy($source, @ProgramFilesDir &'\' & $directory) EndIf ; Remove shortcuts. If _Programs('Inno Setup Compiler.lnk') Then FileChangeDir($group) FileDelete('Inno Setup Documentation.lnk') FileDelete('Inno Setup FAQ.lnk') FileDelete('Inno Setup Revision History.lnk') EndIf Exit #endregion