Hi,

I am working on a setup program which needs to meet the following requirements. 
 I tried to use bootstrapper to accomplish those, but, didn't figure out a way 
to do so. Thank you in advance for any help or hint.



1.       Is that possible to install a dependency automatically which will be 
used by the customize BA UI?



For example, my customize UI is written in WPF and will require .Net 3.5 is 
enabled on 2008R2.  My question is, is there possible to detect if the feature 
is enabled, and if not enable it automatically? I am using the .Net 4 
bootstrapper sample code as an example, and found the installation of the 
packages will be invoked when the MSI is launched. That doesn't meet my 
requirement, since I need it before the UI. Is that possible to invoke the 
installation action early?



2.       Is there possible to launch Bootstrapper as elevated?

I am following the UAC guide to create a manifest for my bootstrapper.exe, as 
follows, but whenever I add the following line to the wixproj, and the dialog 
asking for admin permission shows up but the BAUX doesn't get launched any 
more. Is there any guidance how to deal with this? My custom UI setup requires 
write a bunch of regkeys.

  <Target Name="AfterBuild">

    <Exec Command="&quot;C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A\Bin\mt.exe&quot; -manifest 
$(ProjectDir)$(TargetName).exe.manifest 
-outputresource:$(TargetDir)$(TargetFileName)" />

  </Target>


Thank you,

Nan
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to