!define py2exeOutputDir 'dist' !define exe 'bittornado-helper.exe' !define distexe 'main.exe' !define icon 'favicon.ico' !define compressor 'lzma' ;one of 'zlib', 'bzip2', 'lzma' ; - - - - do not edit below this line, normaly - - - - !ifdef compressor SetCompressor ${compressor} !else SetCompress Off !endif Name ${exe} OutFile ${exe} SilentInstall silent !ifdef icon Icon ${icon} !endif Section InitPluginsDir SetOutPath '$PLUGINSDIR' File /r '${py2exeOutputDir}\*.*' SetOutPath '$EXEDIR' nsExec::Exec $PLUGINSDIR\${distexe} ; starts the exe in the PLUGINSDIR SectionEnd