1. remove useless options 2. set AppDataPath instead of repo root path 3. make "disable self-registration" default enabled 4. avoid writing corrupted ini file 5. avoid auto-sign-in the existing admin user
Environment variables must be applied to the "install form" config before the config values are used. Fixes #38911 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>