If you boot into the installer, don't rely on it saving anything, even if it might sometimes. If you double-click the ISO file inside of Windows and run Setup.exe in the outer directory of the ISO (not in the sources folder), then your files and apps will be preserved as long as it is same or higher build, same edition, same architecture, and same language.