Commit ac833010 authored by Ludovic Fauvet's avatar Ludovic Fauvet

nsis: don't skip the components page until we were able to save user choices

This change will make the transition easier between the previously released
installer (that doesn't remember user choices) and this one. Without it the
old installer would fall back to the "Recommended" preset.
parent 1042607f
......@@ -749,9 +749,17 @@ Function PageFastUpdatePre
FunctionEnd
Function PageComponentsPre
ClearErrors
ReadRegStr $0 ${MEMENTO_REGISTRY_ROOT} `${MEMENTO_REGISTRY_KEY}` MementoSectionUsed
; Backward compatibility:
; Don't skip the components page until Memento was able to save the user choices.
IfErrors done
${If} $ReinstallType == 1
Abort
${EndIf}
done:
FunctionEnd
Function PageDirectoryPre
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment