diff --git a/src/extension.ts b/src/extension.ts index 798b298..17bcc72 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -289,7 +289,7 @@ async function initializeCrc( telemetryLogger: extensionApi.TelemetryLogger, logger: extensionApi.Logger, ): Promise { - const hasSetupFinished = await setUpCrc(logger, false); + const hasSetupFinished = await setUpCrc(logger, true); if (hasSetupFinished) { await needSetup(); await connectToCrc(); diff --git a/src/install/win-install.ts b/src/install/win-install.ts index 0f0a854..78702aa 100644 --- a/src/install/win-install.ts +++ b/src/install/win-install.ts @@ -41,7 +41,7 @@ export class WinInstall extends BaseInstaller { msiPath = await this.extractMsiFromZip(setupPath); progress.report({ increment: 10 }); - const runResult = await runCliCommand('msiexec.exe', ['/i', msiPath, '/qr', '/norestart']); + const runResult = await runCliCommand('msiexec.exe', ['/i', msiPath, '/qf']); if (runResult.exitCode !== 0) { // installed successfully, but reboot required if (runResult.exitCode === 3010) {