Hello.

 

Recently I ran against the same problem to launch my bundle exe elevated from
the beginning. I saw your discussion with some tips what to do, but even more
issues appeared.

1)    >You can embed a custom manifest to a pre-built executable using the
MT.exe tool. 
>mt.exe" -manifest "setup.exe.manifest" -outputresource:"setup.exe"

 

I tried to apply manifest to my exe and as result I got "empty" file but with
manifest that prompts elevation on start. My bundle have (had before manifest
application) couple embedded files as payloads including BA dll, license
description files and custom schemas for .Net prerequisite screen, so now I
have extraction error:

[1120:17B0][2011-10-03T13:15:30]: Error 0x80004005: Failed to extract all
files from container.

[1120:18B4][2011-10-03T13:15:30]: Error 0x80004005: Failed to wait for
operation complete.

[1120:18B4][2011-10-03T13:15:30]: Error 0x80004005: Failed to open container.

[1120:18B4][2011-10-03T13:15:30]: Error 0x80004005: Failed to open attached
container.

[1120:18B4][2011-10-03T13:15:30]: Error 0x80004005: Failed to open attached
UX container.

[1120:18B4][2011-10-03T13:15:30]: Error 0x80004005: Failed to initialize
core.

I get stuck with this approach.

 

2)      IBootstrapperApplicationEngine->Elevate()

What is the right way to use this method? Currently when this method is
executed in BA process it returns "true" immediately and processes further,
but elevation is performed in Engine process, so I assume it is the only
process that elevates. I need the same for BA!

 

3)      I also tried to launch bundle with Verb "runas" from BA, but due to
exact GUIDs and user of first and second(elevated) bundle launchings they
have the same extract location for payloads so the second begins to work when
first performed clean up on shutting down O_o. So here I have bunch of errors
with missing files :'(

 

Thus I have a simple question: how to elevate BA?

 

BR,

Vadym.

</pre>
<BR style="font-size:4px;">
<a href = "http://www.sdl.com/sdl-vision";><img 
src="http://www.sdl.com/images/email_new_logo.png"; alt="www.sdl.com/sdl-vision" 
border="0"/></a>
<BR>
<font face="arial"  size="2"><a href ="http://www.sdl.com/sdl-vision"; 
style="color:005740; font-weight: bold">www.sdl.com/sdl-vision</a></font>
<BR>
<BR>
<font face="arial"  size="1" color="#736F6E">
<b>SDL PLC confidential, all rights reserved.</b>
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.<BR>
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
</font>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to