Task installation failure
The /install option fails under some circumstances. See https://github.com/just-install/registry/issues/207#issuecomment-653797393.
I think it's not the /install failing, but installation of the msi. You said that it only adds a task for the executable and I had this task.
I tested the installer from various commits and it also didn't work. I tested the installer from the commit adding the msi installer and it also doesn't work.
@geek1011 Shouldn't Execute="commit" Impersonate="no" be changed to Execute="deferred" Impersonate="yes"? This works for me.
Also, why aren't you using the startup folder?
Thanks for looking into this further.
Also, why aren't you using the startup folder?
It needs to run as admin and show a GUI, but there's nothing like setuid on Windows.
Shouldn't Execute="commit" Impersonate="no" be changed to Execute="deferred" Impersonate="yes"? This works for me.
I'll have to take a closer look at the docs. deferred makes sense, but I'm not convinced about Impersonate.
https://wixtoolset.org/documentation/manual/v3/xsd/wix/customaction.html, Impersonate:
This attribute specifies whether the Windows Installer, which executes as LocalSystem, should impersonate the user context of the installing user when executing this custom action. Typically the value should be 'yes', except when the custom action needs elevated privileges to apply changes to the machine.