Keep getting “Setup Wizard ended prematurely because of an error” when trying an MSI install.
First tried via PowerShell: msiexec /i TwingateWindowsInstaller.msi /qn
Removed /qn switch to see what was going on.
Getting this window:
Keep getting “Setup Wizard ended prematurely because of an error” when trying an MSI install.
First tried via PowerShell: msiexec /i TwingateWindowsInstaller.msi /qn
Removed /qn switch to see what was going on.
Getting this window:
Windows 11 22H2 (x64), fully patched.
It actually does install, despite that error, when I spin up a new fully patched VM to test.
I had the same issue: Using a console with admin privileges will allow for the install, but the client doesn’t seem to work then (win10 at my side). See Headless Win10 client won't connect
Did you ever get this resolved? I am facing the same issure with both the exe and MSI on a windows 10 laptop with the latest Windows Updates installed. All I Can see in the logs is that the service failed to respond in time.
Was this ever resolved? We are facing the same issue here at my company. We have Windows 10 22H2 machines fully patched. We also ran this command for the msi install msiexec /i “[path]\TwingateWindowsInstaller.msi” /L*V “[path]\twingate.log” and the log is below:
=== Verbose logging started: 9/18/2023 11:18:47 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (78:4C) [11:18:47:755]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
MSI (c) (78:4C) [11:18:47:755]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
MSI (c) (78:B4) [11:18:47:766]: Resetting cached policy values
MSI (c) (78:B4) [11:18:47:766]: Machine policy value ‘Debug’ is 0
MSI (c) (78:B4) [11:18:47:766]: ******* RunEngine:
******* Product: .\TwingateWindowsInstaller.msi
******* Action:
******* CommandLine: **********
MSI (c) (78:B4) [11:18:47:768]: Machine policy value ‘DisableUserInstalls’ is 0
MSI (c) (78:B4) [11:18:47:775]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2
MSI (c) (78:B4) [11:18:47:775]: Note: 1: 1324 2: . 3: 1
MSI (c) (78:B4) [11:18:47:775]: MainEngineThread is returning 2
=== Verbose logging stopped: 9/18/2023 11:18:47 ===
We have done these troubleshooting steps:
Hey folks
Unfortunately, we don’t have a complete solution for all users experiencing this issue of installation ending prematurely. For some, the below works a charm and not at all for others.
Uninstall the Client
Open regedit
and review entries in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
and look for any Twingate Profiles, and delete them
ProfileName
value is Twingate
before deleting. Deleting the incorrect NetworkProfile is dangerous.Open CMD As Administrator, and run: mofcomp %windir%\system32\wbem\cimwin32.mof
(per this KB)
Restart
Reinstall the latest Client
Verify the service, per this KB
If this fails to resolve the issue, we may want for folks to submit a support ticket via help.twingate.com so that we can review Event Viewer logs, per:
We would be looking for Application events, that speak to potential .NET related errors, or otherwise. Please be mindful of sharing sensitive PII that EV logs might elevate here in this public space.
The above steps worked for me, Thanks Neth!