What's the likelihood of failure for the action? Failure in the execute sequence would most likely require a rollback because your UI options there are limited. While I'm not a fan of doing these things in the UI, if there needs to be some kind of error and retry dialog the UI sequence is probably the only choice.
Phil Wilson On Sun, Nov 24, 2013 at 11:21 AM, Bevan Weiss <kaize...@hotmail.com> wrote: > Thanks again Blair, > > I do really like this idea... and would have actually gone this way, if I > hadn't now got the UI elevation working.. yeah it has the ugly black CMD > line box.. but it's only for a second, and they have asked for a new > certificate to be generated, so I'm ok with this UI imperfection. The only > drawback I can see to performing the generation post UI is that if > something > goes wrong with the generation it makes the workflow quite a lot more > complicated. > > I don't have a blog or anything.. does WiX have anywhere (other than > personal blogs) to just put code examples and the such? > Perhaps people would find some of the stuff I've done for this installer > useful.. (and I'm sure there are quite a few others that have similar > deveopments) > > I've created: > Certificate combobox populator, setup parameters for STORE_NAME and > STORE_LOCATION and it just does its thing (if immediate CAs could take > CustomData it would be a little cleaner) > Iis Certificate Binding, give it a STORE_NAME, STORE_LOCATION and > Certificate Thumbprint along with a Web Site Name and Port Number and it'll > bind the certificate to the website. > > > Regards, > Bevan > > >Date: Sun, 24 Nov 2013 09:55:29 -0800 > >From: Blair Murri <os...@live.com> > >Subject: Re: [WiX-users] Calling CustomAction which requires Elevated > > Privileges from UI PushButton > > > >How about this idea: > > > >Let the user select a cert to use, or alternately, select to generate a > self-signed cert. > > > >Then, in the execute sequence, generate the self-signed cert and use it. > > > >No UI sequence elevation required. > > > >It will require an immediate custom action in the execute sequence to add > the generated cert's details to the appropriate table, and thus will also > require using either the InstallExecute or >InstallExecuteAgain standard > action between the cert-creation and the > cert-insertion-into-appropriate-tables actions. > > > >See Bob's "semi custom action" blog entry for the general idea of > immediate > actions adding rows to tables. > > > >-Blair > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up > now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users