Do the install with a verbose log and look for the elevation entries that will say something like "MSI_LUA: Elevation required to install product, will prompt for credentials". See what's going on before that. In an MSI the elevation prompts appear at the start of the execute sequence (you don't get to choose when they appear) and there's no reason for those custom actions to be relevant, but but there could be something slow going on at the end of your UI sequence - are there any CAs there?
Elevation is a result of IntallScope set to perMachine or InstallPrivileges being elevated - you get the elevation shield because of those settings, but tthe shield isn't what causes elevation. It's a consequence of a button control that has the ElevationShield attribute set telling you the elevation will occur. --------------- Phil Wilson On Mon, Apr 6, 2015 at 7:18 AM, Dileep S <dileep.sanamp...@gmail.com> wrote: > Hi All, > > I have created MSI with two dialogs. > 1) InstallDirDlg.wxs > 2) ProgressDlg.wxs > > Enable the Elevation shield property set as 'yes' for 'Next' button in > 'InstallDirDlg.wxs' dialog. > > UAC prompt displayed after some time (i.e, approximately 1 minute). > > Is there any way to get the UAC prompt less than 5 sec. > > I have used following custom actions in Execute sequence, > <InstallExecuteSequence> > <Custom Action="InstallApp" After="InstallFiles">NOT REMOVE ~= > "ALL"</Custom> > <Custom Action="UnInstallApp" Before="InstallFinalize">REMOVE = > "ALL"</Custom> > </InstallExecuteSequence> > > Can anyone help me to solve this. > > Thanks in advance. > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users