Your BootstrapperApplication should not be modifying machine state at all.
Machine state changes should be in "packages" (MSI, EXE, MSP, etc.) that
are listed in the Bundle/Chain element. Your BA can then control which
packages are installed.


On Tue, Jan 8, 2013 at 12:58 AM, Raphael DUCOM <rdu...@prodware.fr> wrote:

> Hi Rob,
>
> Many Thanks for your answer, but I believe I didn't give a good
> explanation...
> When you say "put stuff that modifies the machine in the Chain and
> elevate", I think you mean "using a custom action which elevates" like
> <CustomAction ....  Execute="deferred"  Impersonate="no" /> isn't it ?
>
> My scenario is different, I use the BootstrapperApplication class in order
> to implement our custom installer, and lot of specific actions are
> implemented inside our UI installer and not as CustomActions. This
> installer UI also drives the installation of msi via the wix Engine.
>
> So I need a way to elevate the process which instantiate and run the
> BootstrapperApplication class, not CustomAction. And for instance, I
> believe the only way is to alter / update the bootstrapper exe manifest.
>
> Is there a way to do that ?
>
> Thanks in advance,
> Bests,
>
> Raphael DUCOM,
>
> --------------------------------
> Date: Mon, 7 Jan 2013 06:06:41 -0800
> From: Rob Mensching <r...@robmensching.com>
> Subject: Re: [WiX-users] Bootstrapper manifest
>
> Burn will elevate the install much the same way that the Windows Installer
> elevates the install. Make sure you put all your stuff that modifies the
> machine (aka: requires elevation) in the Chain and it will be elevated.
>
>
> On Mon, Jan 7, 2013 at 3:27 AM, Raphael DUCOM <rdu...@prodware.fr> wrote:
>
> > Hello,
> >
> > I'm working on a boostrapper wich really needs elevated privileges in
> > order to completly install our solution. (I know I normally should'nt
> > do that, but we don't have choice because of the specific components
> > needed to be install).
> > I'm searching a way to define a specific manifest file for a generated
> > bootstrapper executable.
> > I'm aware of the already answered forum posts (in 2011) :
> > -
> > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Manifest
> > -for-Burn-Bootstrapper-td6605859.html
> > -
> > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-how
> > -to-elevate-BA-Manifest-for-Burn-Bootstrapper-Continue-td6855345.html
> >
> > I have tried embed manifest with mt.exe with no success, same error as
> > the second post. (mt.exe : general error c101008c: Failed to read the
> > manifest from the resource of file "C:\ .....
> MyInstall_1.0.107.41.exe.manifest".
> > The binary is not a valid Windows image.) I also have tried the
> > Elevate() function of BA, which doesn't elevate the context at all.
> >
> > But when looking in depth to my generated executable with Mitec EXE
> > Explorer, I found there is a manifest embed into it (you will fin dit
> > at the end of this mail)
> >
> > My question is :
> > - Is there a way to embed or define a manifest with more recent (3.7)
> > version of WiX while generating a Bundle EXE ? (with specific candle
> > or light parameters ?)
> > - Is it possible to alter or modify the manifest once the bundle
> > executable is generated ? (with mage.exe ?)
> > - Is there a workaround other than "no, you just don't have to elevate
> > privileges" ?
> >
> > Thanks in advance, we are really stuck on this...
> >
> > Bests,
> > Raphael DUCOM
>
>
>
> Raphael DUCOM
> D?veloppeur
> Tel :  | Fax : +33 979 999 341
> Web : www.prodware.fr
>
>
> ________________________________
>
>
>
> ------------------------------------------------------------------------------
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only - learn more at:
> http://p.sf.net/sfu/learnmore_122512
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to