#region - Vista Firewall Control install script - (Inno Setup)
#include <Common_Functions.au3>
Opt('TrayIconDebug', 1)
Break(False)

; Installer.
$executable = 'Vista Firewall Control 1.0.11.exe'
; Default group folder in startmenu.
$group = 'Internet'
; Installation folder in Program Files.
$directory = '?'
; Components to install.
$components = '?'
; Specify language.
$language = '?'

; Run the installer.
$pid = _InnoSetup()
ProcessWaitClose($pid)

; Remove shortcuts.
If _Programs('VistaFirewallControl.lnk') Then
    FileChangeDir($group)
    FileDelete('Help.lnk')
    FileDelete('More....lnk')
    FileDelete('Uninstall.lnk')
    FileDelete('VistaFirewallControl on the Web.lnk')
EndIf

Exit
#endregion