Name "idiot box v1.0"
; Some default compiler settings (uncomment and change at will):
; SetCompress auto ; (can be off or force)
; SetDatablockOptimize on ; (can be off)
; CRCCheck on ; (can be off)
; AutoCloseWindow false ; (can be true for the window go away automatically at end)
; ShowInstDetails hide ; (can be show to have them shown, or nevershow to disable)
; SetDateSave off ; (can be on to have files restored to their orginal date)
InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\idiot box v1.0" ""
DirShow show ; (make this hide to not let the user change it)
DirText "Select the directory to install myApp in:"
Section "" ; (default section)
; add files / whatever that need to be installed here.
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\idiot box v1.0" "" "$INSTDIR"
SectionEnd ; end of default section
edit this for your settings and add your files
compile it and it should work