I had a similiar problem with a C++ custom action that needed to display 
a confirmation dialog. ::MessageBox() had the same issue, so I had to 
switch to using MsiProcessMessage from the Windows Installer API. This 
worked out fine for me, but in your case, I think you're stuck. MS puts 
a lot of roadblocks in fromt of applications that want to force their 
way to the top of the z-order.

I'd google 'win32 z-order vista' and see what you can do about bringing 
your app to the front of the desktop. Alternatively, you could lauinch 
the app via a bootstrapper once installation is complete (as opposed to 
just finalized).

Hugh Emberson wrote:
> Hello,
> 
> I'm developing an installer in WiX 2.0, it works well except for one
> thing ...
> 
> I have a CustomAction which launches a configuration application after
> then installation has been finalized.  On XP, this works fine, but on
> Vista the application window pops up under the installer UI window.
> 
> I'd like the application window to pop up on top of the installer UI
> (I'm using Wix_UI_InstallDir).  Does anyone know how to make this
> happen?
> 
> The CustomAction looks like this:
> 
>     <CustomAction Id='LaunchConfigApp'
>                   Execute='deferred'
>                   FileKey='configappEXE'
>                   ExeCommand=''
>                   Impersonate='no'
>                   Return='ignore' />""")
> 
>     <InstallExecuteSequence>
>       <Custom Action='LaunchConfigApp'
>               Before='InstallFinalize'>NOT Installed</Custom>
>     </InstallExecuteSequence>
> 
> Thanks,
> Hugh
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 


-- 
Teleoperate a roving mobile robot from the web:
http://www.swampgas.com/robotics/rover.html

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to