[wix-users] Prompt for Windows Credentials in Wix for Admin Privileges

Ven H venh.123 at gmail.com
Thu Nov 23 09:34:47 PST 2017


My Package element has InstallPrivileges="elevated" and a launch condition
like below.

 <Condition Message='You need to be an administrator to install
[ProductName].'>
      Privileged
    </Condition>

If I run it in non admin mode, it does display a message, which is
configured in the launch condition, i.e., You need to be an administrator
to install the product. But, I would like to display the Windows
Credentials pop up to capture the Admin user credentials and then validate
it and proceed with the installation under the Admin credentials. Is this
possible? Can anyone please help me achieve this?


Regards,
Venkatesh


More information about the wix-users mailing list