Verified Commit 87212fc3 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

Bug 41151: Explicitly initialize the plugin directory on the Windows installer.

Otherwise, the Windows installer might show an error when opening.
parent 0d395222
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ Function .onInit
  ; Skip NSIS's language selection prompt and try to use the OS language without
  ; further confirmations.

  InitPluginsDir
  File /oname=$PLUGINSDIR\${WELCOME_IMAGE} "${WELCOME_IMAGE}"

  ReadRegStr $existingInstall HKCU "${UNINST_KEY}" "InstallLocation"