Hey guys,

I am still rather new to WiX and I am confused on some behavior relating to
the generated MSI.

It surrounds the registration of a browser helper object (BHO) for Internet
Explorer. The current test bed is on Windows 8 Enterprise, but it should
have the same affect on earlier versions of Windows too. I am using Visual
Studio 2012 Ultimate with WiX 3.7.

Basically what I am seeing is that as a Standard User:

1. If I run "msiexec /i myinstaller.msi" from an elevated cmd windows as
Administrator, all registers properly and the BHO loads the next time IE
runs.

2. If I run myinstaller.msi from an elevated cmd windows as Administrator,
all registers properly and the BHO loads the next time IE runs.

3. If I double click on the msi it prompts for elevation, installs but
isn't properly registered in IE.

4. If I right click on the msi and select "Install" it prompts for
elevation, installs but isn't properly registered in IE.

Inside the .wxs I have the CustomAction to register the BHO set to
"/privileges=admin" and "Impersonate="yes"". I am unsure what more I need
to do.

My desired result is that when someone downloads the MSI I want it to
prompt for elevation, and do whatever it is that msiexec apparently is
doing from the elevated cmd prompt. What exactly should I be reading up on
to get that to work? I know there are some people that have setup.exe
bootstrappers, but I want to ship just a single MSI or EXE that someone
runs. I prefer the MSI so I can push it cleanly with Active Directory
Software Distribution Policies and InTune in the future.

Can someone point me in the right direction?

-- 
Regards,
Dana Epp
Microsoft Security MVP
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to