#region - FreeBASIC install script - (Nullsoft) #include <Common_Functions.au3> Opt('TrayIconDebug', 1) Break(False) ; Installer. $executable = 'FreeBASIC 0.16b.exe' ; Default group folder in startmenu. $group = 'FreeBASIC' ; Installation folder in Program Files. $directory = 'FreeBASIC' ; Run the installer. $pid = _Nullsoft() ProcessWaitClose($pid) ; Add custom files $source = @ScriptDir & '\Files\FreeBasic' If FileExists($source) Then FileCopy($source & '\*.*', @ProgramFilesDir & '\' & $directory & '\', 1) EndIf ; Remove shortcuts. If _Programs('FreeBASIC.lnk') Then FileMove($group & '\FreeBASIC.lnk', 'Development\', 9) DirRemove($group, 1) EndIf _Desktop('FreeBASIC.lnk') Exit #endregion