restart explorer after installation - Advanced Installer Community
ChrisGue
Posts: 116
Joined: Tue Feb 03, 2009 7:26 pm

restart explorer after installation

I use the AI 7.1.3 corporate.
My installation installs an explorer context menu extension (a dll)
When an old version is updated, the explorer is closed, but not restarted afterwards, although it should be.

How to solve this?

Regards, Chris
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: restart explorer after installation

Hello Chris,

Unfortunately we don't have predefined support for this. You can have your won custom action that implements this scenario.

Then you can go in the “Custom Actions” page and add a predefined Launch attached file custom action after the “Install” sequence. This type of custom action can execute an application (EXE or DLL) or run a script (VBScript or Java script). Also, the source file will be embedded in the MSI file but will not be deployed at install time with the other application files.

If you are using the VBScript approach, you can take a look on the VBS Kill Explorer Process Display Program and Re-Start Explorer Process which may be useful to you.

Also you can use an approach as it is explained in our How to restart windows explorer thread.

Please let us know if that helped otherwise give us more details.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”