That's what I'm doing.  My bootstrapper runs with asInvoker elevation 
requirements.  The UAC happens 
  when Windows Installer changes from client-side to server-side during the 
install.  I also find 
that running an MSI directly doesn't show the UAC prompt until it switches to 
the server-side.

Rob

Gareth at Serif wrote:
> I find that the msi file extension tells Vista that the process requires
> elevation and you get the UAC prompt before the UI Sequene begins. 
> Therefore, by the time you get to your 'Install' button with the potential
> to display your UAC Shield, the install doesn't require elevation (as it all
> ready has it) and the behaviour decides not to show the shield as it's not
> going to call UAC.
> 
> Basically, your installation should call UAC only once.  If your
> bootstrapper icon has been deemed worthy of the shield by Vista, this will
> call UAC.  From then on, nothing needs the shield and shouldn't have it.  To
> stop this and only elevate when you actually click 'Install' (and so display
> the shield) you will need to stop the install from elevating itself before
> the UI begins - probably with an appropriate manifest file.
> 
> Best of luck,
> Gareth


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to