[wix-users] Custom action after installation completes to launch explorer.exe

John jzajac2 at gmail.com
Mon Feb 26 21:04:20 PST 2018


Top of my head here: consider also if they cancel the install after your action completed. Do you need a corresponding rollback sequence ca to kill the explorer process which it created? Just a practice to keep in mind. 

Sent from my iPhone

> On Feb 26, 2018, at 10:32 PM, Suhaib Ahmad <a.suhaib.47 at gmail.com> wrote:
> 
> Yes I would definitely prefer fixing the issue, but I'm writing the installer for an application developed by others in the team. At the moment, I think this is the quickest fix but I know eventually I have to fix it at the root.
> 
> How do I go about writing a CustomAction to launch explorer.exe? Is it enough like so:
> 
> <CustomAction Id="StartExplorer" ExeCommand="explorer.exe" execute="commit" impersonate="yes" />
> 
> Thanks
> 
> 
> 
>> On 27 February 2018 at 07:36, John via wix-users <wix-users at lists.wixtoolset.org> wrote:
>> Are you sure you want to start explorer instead of fixing the issue of it crashing? I almost went down your path but started digging and found that an explorer extension I was installing and registering had some bugs.
>> 
>> Sent from my iPhone
>> 
>> > On Feb 26, 2018, at 1:02 AM, Russell Haley via wix-users <wix-users at lists.wixtoolset.org> wrote:
>> >
>> > Does this help?
>> >
>> > http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/run_program_after_install.html
>> >
>> > Russ
>> >
>> > On Sun, Feb 25, 2018 at 8:06 PM, Suhaib Ahmad via wix-users
>> > <wix-users at lists.wixtoolset.org> wrote:
>> >> I would like my installer to launch explorer.exe after the
>> >> installation/uninstallation completes because sometimes it kills the
>> >> explorer.exe on the user's computer. This only happens rarely but I would
>> >> still like to handle this situation if it is not running, then run
>> >> explorer.exe
>> >>
>> >> Would a Custom Action suffice for this? Or is there a better alternative
>> >> for this requirement?
>> >>
>> >> Thanks for the help.
>> >>
>> >> ____________________________________________________________________
>> >> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
>> >
>> > ____________________________________________________________________
>> > WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
>> 
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
> 


More information about the wix-users mailing list