123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- !define NAME "LibreOfficeMathPortable"
- !define FRIENDLYNAME "LibreOffice Math Portable"
- !define APP "LibreOfficeMath"
- !define VER "2.0.0.0"
- !define WEBSITE "PortableApps.com/LibreOfficePortable"
- !define EXECTHIS "LibreOfficePortable.exe -math"
- Name "${FRIENDLYNAME}"
- OutFile "..\..\${NAME}.exe"
- Caption "${FRIENDLYNAME} | PortableApps.com"
- VIProductVersion "${VER}"
- VIAddVersionKey ProductName "${FRIENDLYNAME}"
- VIAddVersionKey Comments "Allows ${APP} to be run from a removable drive. For additional details, visit ${WEBSITE}"
- VIAddVersionKey CompanyName "PortableApps.com"
- VIAddVersionKey LegalCopyright "John T. Haller"
- VIAddVersionKey FileDescription "${FRIENDLYNAME}"
- VIAddVersionKey FileVersion "${VER}"
- VIAddVersionKey ProductVersion "${VER}"
- VIAddVersionKey InternalName "${FRIENDLYNAME}"
- VIAddVersionKey LegalTrademarks "PortableApps.com is a Trademark of Rare Ideas, LLC."
- VIAddVersionKey OriginalFilename "${NAME}.exe"
- CRCCheck On
- WindowIcon Off
- SilentInstall Silent
- AutoCloseWindow True
- RequestExecutionLevel user
- Unicode true
- ManifestDPIAware true
- SetCompress Auto
- SetCompressor /SOLID lzma
- SetCompressorDictSize 32
- SetDatablockOptimize On
- !include FileFunc.nsh
- !insertmacro GetParameters
- Icon "..\..\App\AppInfo\appicon5.ico"
- Var EXECSTRING
- Section "Main"
- StrCpy $EXECSTRING "${EXECTHIS}"
-
- SetOutPath $EXEDIR
- ${GetParameters} $0
- StrCmp "'$0'" "''" "" LaunchProgramParameters
-
- StrCpy $EXECSTRING `${EXECTHIS}`
- Goto LaunchNow
- LaunchProgramParameters:
- StrCpy $EXECSTRING `${EXECTHIS} $0`
- LaunchNow:
- Exec $EXECSTRING
- SectionEnd
|