* Try to update admin user unattended This will fail because we're not in install runtime state * Create a new user instead of trying to update the default admin * Create a new user instead of trying to update the default admin * Use same logic from NewInstallStep to modify the SuperUser aka -1 * Add back stuff after merge conflict from v8/dev * Add event to be raised * Trying to wire up events * Remove commented out code - just need to figure out why event is not hit/triggered * Read Appsettings as opposed to ENV variables * Use a JSON file that deletes itself as storing secrets in web.config will be accidently committed * Remove component based event - Component were only initialized after DB creation * Move UnattendedInstall down after _factory * Remove commented out code * Fixed issue where upgrader UI would show up - needed to recheck the Runtimelevel after UnattenedInstall * Apply suggestions from code review - Thanks Marc :) Co-authored-by: Marc Goodson <marc@moriyama.co.uk> Co-authored-by: Mole <nikolajlauridsen@protonmail.ch> Co-authored-by: Marc Goodson <marc@moriyama.co.uk>
10 lines
234 B
C#
10 lines
234 B
C#
namespace Umbraco.Core.Events
|
|
{
|
|
/// <summary>
|
|
/// Used to notify that an Unattended install has completed
|
|
/// </summary>
|
|
public class UnattendedInstallEventArgs : System.ComponentModel.CancelEventArgs
|
|
{
|
|
}
|
|
}
|