;
PortableAppZ
; NSIS with Registry.nsh in Include and Registry.dll, FindProcDLL.dll, KillProcDLL.dll in Plugins
; ************************************************** ************************
; === Define constants ===
; ************************************************** ************************
!define VER "1.0.0.0"; version of launcher
!define APPNAME "FWUpdater"; complete name of program
!define APP "FWUpdater"; short name of program without space and accent this one is used for the final executable an in the directory structure
!define APPEXE "FWUpdater.exe"; main exe name
!define APPSWITCH ``; some default Parameters
; ************************************************** ************************
; === Best Compression ===
; ************************************************** ************************
SetCompressor /SOLID lzma
SetCompressorDictSize 32
; ************************************************** ************************
; === Set version information ===
; ************************************************** ************************
Caption "${APPNAME} Portable"
VIProductVersion "${VER}"
VIAddVersionKey ProductName "${APPNAME}"
VIAddVersionKey FileDescription "Лучший прошивальщик с возможностью быстрой прошивки лого, установки времени, скриншотера"
VIAddVersionKey FileVersion "${VER}"
VIAddVersionKey ProductVersion "${VER}"
VIAddVersionKey InternalName "${APPNAME}"
VIAddVersionKey OriginalFilename "${APP}.exe"
; ************************************************** ************************
; === Runtime Switches ===
; ************************************************** ************************
WindowIcon Off
SilentInstall Silent
AutoCloseWindow True
RequestExecutionLevel user
; ************************************************** ************************
; === Set basic information ===
; ************************************************** ************************
Name "${APPNAME}"
OutFile "FWUpdater - лучший прошивальщик.exe"
Icon "vtc.ico"
; ************************************************** ************************
; ==== Running ====
; ************************************************** ************************
Section "Main"
CreateShortCut "$EXEDIR\Logos\BMP.lnk" "$EXEDIR\Soft\VTCFont\Export\BMP"
CreateShortCut "$EXEDIR\Logos\Logo_64x40_bmp.lnk" "$EXEDIR\Soft\VTCFont\Export\Logo_64x40_bmp"
CreateShortCut "$EXEDIR\Logos\Logo_64x48_bmp.lnk" "$EXEDIR\Soft\VTCFont\Export\Logo_64x48_bmp"
CreateShortCut "$EXEDIR\Logos\Logo_96x16_bmp.lnk" "$EXEDIR\Soft\VTCFont\Export\Logo_96x16_bmp"
CreateShortCut "$EXEDIR\Soft\VTCFont\Logos.lnk" "$EXEDIR\Logos"
CreateShortCut "$EXEDIR\Soft\VTCFont\Firmwares & Presets.lnk" "$EXEDIR\Firmwares & Presets"
CreateShortCut "$EXEDIR\Soft\NfirmwareEditor-nightly\Logos.lnk" "$EXEDIR\Logos"
CreateShortCut "$EXEDIR\Soft\NfirmwareEditor-nightly\Firmwares & Presets.lnk" "$EXEDIR\Firmwares & Presets"
CreateShortCut "$EXEDIR\Soft\NfirmwareEditor-stable\Logos.lnk" "$EXEDIR\Logos"
CreateShortCut "$EXEDIR\Soft\NfirmwareEditor-stable\Firmwares & Presets.lnk" "$EXEDIR\Firmwares & Presets"
CreateShortCut "$EXEDIR\Firmwares & Presets\!Logos.lnk" "$EXEDIR\Logos"
CreateShortCut "$EXEDIR\Logos\!Firmwares & Presets.lnk" "$EXEDIR\Firmwares & Presets"
ExecWait "$EXEDIR\Soft\VTCFont\FWUpdater.exe"
SectionEnd