Hi Kondoru,

On Jun/03/2015, KONDURU Pavan wrote:
> I use wix 3.6 and this works for me. You should see the "shield" icon
> on the install button. Click on the install button brings up the UAC
> prompt.

you see the UAC prompt when the user uses the .msi file, not the
setup.exe bootstrapper, right?
(I just want to confirm it)

I see the Install with the shield icon but no UAC prompt.

Thank you!

> 
> <Product Id="GUID" Name="$(var.ProductName)" Language="1033" 
> Version="$(var.ProductVersion)" Manufacturer="blah" UpgradeCode="GUID">
>     <Package InstallerVersion="200" Compressed="yes" />
> 
>     <Property Id="ALLUSERS">1</Property>
> 
> <Condition Message="You need to be an administrator to install this product.">
>       Privileged
>     </Condition>
> 
> 
> --Pavan
> -----Original Message-----
> From: Carles Pina i Estany [mailto:car...@pina.cat]
> Sent: Wednesday, June 03, 2015 11:10 AM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] per-user per-app WiX installation
> 
> 
> I had InstallCope=perMachine - but no UAC dialogue is shown.
> Do you have a working example? I suspect that there is something that I'm 
> missing elsewhere.
> Tomorrow I'll have a better look at the logs but a working example would be 
> cool...
> 
> Actually so far with WiX I've never been able to show the UAC dialogue.
> 
> On Jun/03/2015, Rob Mensching wrote:
> > Try Packages/@InstallScope instead. It absorbs all those settings.
> >
> > _______________________________________________________________
> >  FireGiant  |  Dedicated support for the WiX toolset  |
> > http://www.firegiant.com/
> >
> > -----Original Message-----
> > From: Carles Pina i Estany [mailto:car...@pina.cat]
> > Sent: Wednesday, June 3, 2015 9:23 AM
> > To: wix-users@lists.sourceforge.net
> > Subject: Re: [WiX-users] per-user per-app WiX installation
> >
> >
> > I'm using "InstallPrivileges="elevated" " but I never get the request
> > for the privileges (Windows 7, on a non-admin account, other software
> > request the privileges)
> >
> > On Jun/03/2015, Carles Pina i Estany wrote:
> > >
> > > TL;DR: How can I make MSI to ask the user for elevated privileges?
> > >
> > > With the WixUI_Advanced I have the option to install the package
> > > per-machine or per-user... so this is a good step.
> > >
> > > If I could make the MSI package to request for elevated privileges
> > > this would maybe be all (if the user grants: installs by default
> > > per-machine, if the user doesn't give access per-user).
> > >
> > > At the moment if it's a standard user the only option is per-user.
> > >
> > > I just need the MSI to ask for elevated privileges.
> > >
> > > Regards,
> > >
> > > On Jun/03/2015, Carles Pina i Estany wrote:
> > > >
> > > > Hello,
> > > >
> > > > I'm migrating an existing NSIS installer to WiX. I use cpack for
> > > > the project but I'll take care of the cpack issues.
> > > >
> > > > This is a per-user / per-computer flow question.
> > > >
> > > > The current NSIS does:
> > > >
> > > > ----------
> > > > If the user executing the installer has admin privileges:
> > > >     By default it installs into C:\Program Files\BlaBla (per-computer)
> > > >     (user can change it, but C:\Program Files is the default one)
> > > >
> > > > else:
> > > >     Windows shows the dialog to run the program as:
> > > >         ( ) Current User
> > > >         (X) Run the program as the following user: Administrator (by
> > > >             default)
> > > >
> > > >         If the user selects "Current User":
> > > >             -per-user installation, in %APPDATA%\something
> > > >
> > > >         If the user selects "Administrator":
> > > >             -user enters the password
> > > >             -per-computer installation (in C:\Program
> > > > Files\BlaBla)
> > > > ----------
> > > >
> > > > Any pointer what's the easiest way to do this using WiX?
> > > > I'm experimenting with things like Property Id ALLUSERS and
> > > > MSIINSTALLERPERUSER but no success yet. More than debugging my
> > > > attempt I'd like to know if this is possibl to do and some pointer
> > > > to a more or less recent thing...
> > > >
> > > > Thank you!
> > > >
> > > > --
> > > > Carles Pina i Estany
> > > >   Web: http://pinux.info || Blog: http://pintant.cat
> > > >   GPG Key 0x8CD5C157
> > > --
> > > Carles Pina i Estany
> > >     Web: http://pinux.info || Blog: http://pintant.cat
> > >     GPG Key 0x8CD5C157
> > --
> > Carles Pina i Estany
> >       Web: http://pinux.info || Blog: http://pintant.cat
> >       GPG Key 0x8CD5C157
> >
> > ----------------------------------------------------------------------
> > -------- _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> > ----------------------------------------------------------------------
> > -------- _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> --
> Carles Pina i Estany
>         Web: http://pinux.info || Blog: http://pintant.cat
>         GPG Key 0x8CD5C157
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> This email and any attachments are intended solely for the use of the 
> individual or entity to whom it is addressed and may be confidential and/or 
> privileged.
> 
> If you are not one of the named recipients or have received this email in 
> error,
> 
> (i) you should not read, disclose, or copy it,
> 
> (ii) please notify sender of your receipt by reply email and delete this 
> email and all attachments,
> 
> (iii) Dassault Systemes does not accept or assume any liability or 
> responsibility for any use of or reliance on this email.
> 
> For other languages, go to http://www.3ds.com/terms/email-disclaimer
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
-- 
Carles Pina i Estany
        Web: http://pinux.info || Blog: http://pintant.cat
        GPG Key 0x8CD5C157

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to