In the portable SumatraPDF, when SumatraPDF isn’t installed, Settings → Install… (CmdInstallPortable) installs it. After setup, SumatraPDF starts from where it was installed and removes the portable executable; settings kept next to the portable executable are copied when there are no installed settings yet.
In the installed SumatraPDF, Settings → File Associations… (CmdFileAssociations) turns Windows Search filtering and Explorer thumbnails on or off for the file types SumatraPDF handles, and opens the Windows default app picker for a file type.