What does your log say about the value of EXPLORERPATH in the execute sequence?






Blair





From: victorwhiskey
Sent: ‎Monday‎, ‎October‎ ‎28‎, ‎2013 ‎9‎:‎16‎ ‎AM
To: General discussion for Windows Installer XML toolset.





Hello,

I understand restartresource is only available on vista and up. I'm trying
to restart explorer on install and after uninstall because I have a
contextmenu attached to the shell.

I only see explorer restarting on an upgrade, but not on install or
uninstall.  I have taskmanager running and showing a PID for explorer, and
the PID never changes on install and uninstall.

I'm following Heath Stewart's suggestion at

http://blogs.msdn.com/b/heaths/archive/2010/09/16/restart-manager-functionality-in-wix-3-5.aspx

<util:RestartResource Id="restart_Explorer"
                              Path="[EXPLORERPATH]"
                              ProcessName="explorer.exe"/>

<Property Id="EXPLOREPATH" >
            <DirectorySearch Id="FindExplorerDir"
                             AssignToProperty="no"
                             Depth="0"
                             Path="[WindowsFolder]">
                <FileSearch Id="FindExplorer"
                            Name="explorer.exe" />
            </DirectorySearch>
        </Property>


Any suggestions?  Thanks





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/trying-to-restart-explorer-with-restartresource-tp7590046.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&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