Hi Rob,

thanks for that hint - it is indeed the correct solution. While I could work 
around the file redirection issue (x86/x64 issue), I couldn't start the 
ServerManager due to elevation problems. Now, from within my X64 proxy process 
I can use ShellExecute which allows elevation.

Kind regards,
Henning

> -----Original Message-----
> From: Rob Mensching [mailto:r...@robmensching.com]
> Sent: Sunday, August 12, 2012 11:09 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] [Burn] Start IIS Manager after installation
>
> I haven't played with this much but a workaround would be to carry a 64-bit
> executable in your BootstrapperApplication payloads and launch that on
> 64-bit Windows to launch IIS Manager. Essentially a 64-bit proxy.
>
> On Fri, Aug 10, 2012 at 4:15 AM, Henning Krause
> <m...@henningkrause.eu>wrote:
>
> > I have created a managed bootstrapper using burn.
> >
> > At the end of the installation I want to provide the user with the option
> > to start the IIS manager. For that I have a link on my UI.
> >
> > Problem 1: If I just call
> > Process.Start(@"%windir%\system32\inetsrv\InetMgr.exe"), it fails
> because
> > it cannot find the file. Since the bootstrapper is running as an x86
> > program, the File redirection kicking in, rerouting the call to
> > "%windir%\syswow64\inetsrv\InetMgr.exe".
> >
> > Solution: Either call "%windir%\sysnative\inetsrv\InetMgr.exe or use
> > Wow64DisableWow64FsRedirection. Though this works, it raises problem 2.
> >
> > Problem 2: If I bypass the file redirection and call inetmgr.exe without
> > using ShellExecute, the process fails stating that it requires elevation.
> >
> > I have also tried to start the process with ShellExecute  or ShellExecute
> > and the verb "runas". Nothing has worked so far.
> >
> > Has anybody a solution for this?
> >
> > Kind regards,
> > Henning Krause
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond.
> Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
>
> --
> virtually,
>
>    Rob Mensching
>    http://RobMensching.com LLC
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to