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

Kaveesh Dashora kaveeshd at googlemail.com
Thu Nov 23 09:55:55 PST 2017


MSIs get auto elevated on install time. You do not need to check for
priveleges. As the MSI will ask for elevation automatically.

On 23-Nov-2017 11:05 PM, "Ven H via wix-users" <
wix-users at lists.wixtoolset.org> wrote:

> 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
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list