Take the 2-minute tour ×  Because of some dependencies, we close
Windows Explorer during part of our installation. As an
emergency safety, I'd like to make sure that the user has a
shell if we fail. I thought that a type 34 custom action with
'Execute="rollback"' was what I wanted to do, but I don't seem
to be smart enough to craft the CA.  Here's what I have:
<CustomAction Id="RestartExplorer"       I know I'm missing a
directory element, but I don't know how to specify a platform
agnostic way of specifying %windir%\system32. Using environment
variables or scripting is not an option.  Thanks :)
share|improve this question  2 Answers 2  I've never tried to
kill Explorer during an install. Doesn't it autorestart? What if
it restarted while you were installing?  Otherwise, if I did do
this, I'd start it back up using the QuietExec custom action.
You would also want to start it as an immediate custom action
after InstallFinalize. Note I didn't say commit because rollback
can be disabled and commit wouln't exe