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, Raphaël DUCOM <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity name="setup.exe" version="1.0.0.0" processorArchitecture="x86" type="win32"></assemblyIdentity> <description>WiX Toolset Bootstrapper</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity> </dependentAssembly> </dependency> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel> </requestedPrivileges> </security> </trustInfo> <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> <application> <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"></supportedOS> <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS> </application> </compatibility> </assembly> Raphael DUCOM Développeur Tel : | Fax : +33 979 999 341 Web : www.prodware.fr ________________________________ ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 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_122412 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users