public install()

in src/app/runtime/wac/components/install.component.ts [191:225]


    public install() {
        var args: any = {
            command: 'install',
        };

        if (this.useDefault) {
            args.adminAPILocation = SETTINGS.APIDownloadUrl
        } else {
            this.userInputError = [];
            var valid = this.verifyLocationPrompt(this.apiPrompt, false);
            valid = this.verifyLocationPrompt(this.dotnetPrompt, true) && valid;
            valid = this.verifyLocationPrompt(this.aspnetPrompt, true) && valid;
            if (valid) {
                args.adminAPILocation = this.adminAPILocation.trim();
                if (this.dotnetCoreLocation) {
                    args.dotnetCoreLocation = this.dotnetCoreLocation.trim();
                }
                if (this.aspnetCoreLocation) {
                    args.aspnetCoreLocation = this.aspnetCoreLocation.trim();
                }
            } else {
                return;
            }
        }
        
        this.inProgress = true;
        const requireCredSSP = this.sharedDriveUsed;
        // NOTE: you don't technically need credSSP if current target is local
        this.runtime.PrepareIISHost(args, requireCredSSP).subscribe(_ => {}, e => {
            this.userInputError = [ `Installation failed. Error: ${e}` ];
            this.inProgress = false;
        }, () => {
            this.router.navigate(['/']);
        });
    }