; The name of the installer
Name "BlueTooth Off"

; The file to write
OutFile "BlueToothOff.exe"

;Icon
Icon "icons\BlueToothoff.ico"

;removing the Nullsoft brand
BrandingText " "

;Silent Installing - no windows
SilentInstall silent

; hide the "show details" box
ShowInstDetails nevershow

; automatically close the installer when done.
AutoCloseWindow true

; Request application privileges for Windows Vista
RequestExecutionLevel user


Section ""

;Executing the Application
nsExec::Exec "$EXEDIR\ioperm.exe -i"
nsExec::Exec "$EXEDIR\hsect2.exe -B 0"
;nsExec::Exec "$EXEDIR\ioperm.exe -u"

SectionEnd