Friday 2 March 2018

Tips: Hide installation progress from Windwos TaskBar

Sometimes will face these kind of issue.
Scenario:
When installing an EXE application with silent parameters using VB script,  it normally hides the UI but sometimes we use to see the application progress bar icon visible in task bar. the issue begins here and there is possibility, user may can cancel the installation.

Example
User may right click the icon and click close window option will lead to the installation get failed. 



 

Solution

 
Make the Windows Style value as "0" - Hidden, to get resolved from the issue. During installation it will hide the progress bar icon from task bar.

       Set oShell = CreateObject("WScript.Shell")
    oShell.Run"C:\Users\Administrator\Desktop\TEST.exe",0,True

No comments:

Post a Comment