13
0

Re-order windows installer options (non-optional first)

This commit is contained in:
Robin Gareus 2020-06-09 17:27:13 +02:00
parent e6bbbe18c6
commit c822f0b370
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -427,15 +427,12 @@ Section "${PROGRAM_NAME}${PROGRAM_VERSION} (required)" SecMainProg
CreateShortCut "\$INSTDIR\\${PROGRAM_NAME}${PROGRAM_VERSION}.lnk" "\$INSTDIR\\bin\\${PRODUCT_EXE}" "" "\$INSTDIR\\bin\\${PRODUCT_EXE}" 0
\${registerExtension} "\$INSTDIR\\bin\\${STATEFILE_SUFFIX}" ".${PRODUCT_NAME}" "${PROGRAM_NAME} Session"
SectionEnd
Section "WASAPI sound driver" SecWASAPI
SectionEnd
EOF
if test -z "$NOVIDEOTOOLS"; then
cat >> $NSISFILE << EOF
Section "Videotimeline Tools" SecVideo
Section "Videotimeline Tools (required)" SecVideo
WriteRegStr HKLM "Software\\${PROGRAM_KEY}\\v${major_version}\\video" "Install_Dir" "\$INSTDIR\\video"
SectionIn RO
SetOutPath \$INSTDIR
@ -446,6 +443,10 @@ EOF
fi
cat >> $NSISFILE << EOF
Section "WASAPI sound driver" SecWASAPI
SectionEnd
Section "Start Menu Shortcuts" SecMenu
SetShellVarContext all
CreateDirectory "\$SMPROGRAMS\\${PRODUCT_ID}${SFX}"