#region - Sandboxie install script - (Nullsoft) #include <Common_Functions.au3> Opt('TrayIconDebug', 1) Break(False) ; Installer. $executable = 'Sandboxie 2.86.exe' ; Default group folder in startmenu. $group = 'Sandboxie' ; Installation folder in Program Files. $directory = 'Sandboxie' ; Run the installer. $pid = _Nullsoft('/install /S /D=' & @ProgramFilesDir & '\' & $directory) ProcessWaitClose($pid) ; Remove shortcuts. If _Programs('Sandboxie Control.lnk') Then DirCopy($group, 'Emulators', 9) DirRemove($group, 1) FileChangeDir('Emulators') FileDelete('Run any program under Sandboxie.lnk') FileDelete('Run Internet Explorer under Sandboxie.lnk') FileDelete('Run the default web browser under Sandboxie.lnk') FileDelete('Uninstall Sandboxie.lnk') EndIf _QuickLaunch('Sandboxie Quick Launch.lnk') RegDelete('HKCU\Software\Microsoft\Windows\CurrentVersion\Run', 'SandboxieControl') Exit #endregion