[wix-users] Custom action after installation completes to launch explorer.exe
Suhaib Ahmad
a.suhaib.47 at gmail.com
Tue Feb 27 19:01:03 PST 2018
Actually I want the custom action to run after installation completes, so
if they cancel the installation before it completes, it simply would not
run the custom action. The reason I want this action is because at times,
after completion of installation, explorer process is killed. If the
installation is cancelled, the process is not killed.
As for impersonate, in my opinion both user/system context should work
fine, as in the end I would just like the explorer process to be running.
Would selecting one over the other have any implications?
On 27 February 2018 at 13:06, John <jzajac2 at gmail.com> wrote:
> Impersonate would mean what launching explorer under the users context? Or
> system? Sorry don’t have answer but something 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