#region - InfraRecorder install script - (Nullsoft) #include <Common_Functions.au3> Opt('TrayIconDebug', 1) Break(False) ; Installer. $executable = 'InfraRecorder 0.43.exe' ; Default group folder in startmenu. $group = 'InfraRecorder' ; Installation folder in Program Files. $directory = 'InfraRecorder' ; Run the installer. $pid = _Nullsoft() ProcessWaitClose($pid) ; Remove shortcuts. If _Programs('InfraRecorder.lnk') Then FileMove($group & '\InfraExpress.lnk', 'CD Creators\', 9) FileMove($group & '\InfraRecorder.lnk', 'CD Creators\', 9) DirRemove($group, 1) EndIf _Desktop('InfraRecorder.lnk') _QuickLaunch('InfraRecorder.lnk') If FileChangeDir(@ProgramFilesDir & '\' & $directory) Then DirRemove('Languages', 1) EndIf Exit #endregion