Hide Installation Progress?
I'm looking for a way to hide or unstick the "Installation Progress" window in a stand-alone boot media custom task sequence.The task sequence opens one program and a command shell and restarts the computer when the program is closed, which works great. The "Installation Progress" window is always on top, even when not active, and it's pretty annoying, so I'm looking for a way to make it behave like a normal window (not be on top when another window is active), or just hide it entirely.It seems like something that should be simple, but I haven't been able to find any mention of how to do it.Thanks in advance,-Damon
February 25th, 2009 8:42pm
I like Brett's solution, but before I knew about that, I've been using the following AutoIT code in a compiled executable. It works fabulously:$WindowName = "Installation"if WinExists($WindowName) Then WinSetOnTop($WindowName,"",1) WinActivate($WindowName) WinMove($WindowName,"",10000,10000)EndIfProcessWaitClose("mshta.exe")if WinExists($WindowName) Then WinSetOnTop($WindowName,"",1) WinActivate($WindowName) WinMove($WindowName,"",$WinPos[0],$WinPos[1])EndIfHope this helps,Trevor SullivanSystems EngineerOfficeMax Corporation Trevor Sullivan
Systems Engineer
OfficeMax Corporation
Free Windows Admin Tool Kit Click here and download it now
February 26th, 2009 8:35pm
You should be able to hide the progress dialog byusing the "Microsoft.SMS.TsProgressUI" COM class in a VBScirpt at the start of your action as follows:
SetProgressUI=CreateObject("Microsoft.SMS.TsProgressUI")
ProgressUI.CloseProgressDialog
'Dootherthings
-- Brett
This posting is provided "AS IS" with no warranties, and confers no rights.
Just what i was looking for Brett! Do you also know what the method is to show the progress dialog again? I've been searching all morning and i can't seem to find any information on this class.thanks!
May 8th, 2009 8:42pm
The TS Progress dialog should automatically re-appear as soon as the next step in the task sequence starts. -- Brett
This posting is provided "AS IS" with no warranties, and confers no rights.
Awesome! It works like a charm! Thanks again!
Free Windows Admin Tool Kit Click here and download it now
May 10th, 2009 6:38pm
Brett, Is there comprehensive documentation on the public interfaces of the Microsoft.SMS.TsProgressUI COM class? Thanks, Trevor Sullivan Systems Engineer OfficeMax Corporation
Trevor Sullivan Systems Engineer OfficeMax Corporation
That would be very interesting to see, yes! ------------------------------------ Kenneth Titlestad http://deploymenttech.com/
MCSE, MCTS:SCCM
Kenneth Titlestad ----------------- MCSE | MCTS:SCCM www.deploymenttech.com
Kenneth, I would surmise that you could manually register the TSUI COM DLLs on a Windows machine using regsvr32 , and then use OleView.exe to look at the public interfaces. OleView.exe is included with the Windows 2008 SDK download. There is also another type library viewer that someone sent me via comment on one of my blog posts . http://www.itripoli.com/itlv.asp Trevor Sullivan Systems Engineer OfficeMax CorporationTrevor Sullivan
Systems Engineer
OfficeMax Corporation
May 10th, 2009 6:40pm
Have tried lots of things to get a peek into the Microsoft.SMS.TsProgressUI and try to use some of it's methods, but with no luck. Can call anotherof it's methodsin winpe (can't remember what it was), but can't for the life of me figure out how to register the component in Win XP to get to test/debug in Visual Studio. Have tried to do standard regsvr32 but no luck. Inspecting classes and register on winpe have brought me no further, either. Haven't tested oleview, must look into it, thanks.
Kenneth Titlestad | MCSE | MCTS:SCCM | www.deploymenttech.com
Free Windows Admin Tool Kit Click here and download it now
May 10th, 2009 6:49pm
Kenneth, Cool, well please post back your results if I don't come up with them first :) (I probably won't, due to other priorities, unfortunately) Trevor Sullivan Systems Engineer OfficeMax CorporationTrevor Sullivan
Systems Engineer
OfficeMax Corporation
May 11th, 2009 5:55am
Thanks Brett.Trevor SullivanSystems EngineerOfficeMax CorporationTrevor Sullivan
Systems Engineer
OfficeMax Corporation
Free Windows Admin Tool Kit Click here and download it now
May 11th, 2009 11:01pm
Kenneth,Nice, quick turn-around!Have you tried using a type library viewer, or Visual Studio to investigate its public interfaces?Trevor SullivanSystems EngineerOfficeMax CorporationTrevor Sullivan
Systems Engineer
OfficeMax Corporation
May 12th, 2009 4:16pm
Tried the iTripoli Type Library Viewer you linked to. Works very well, though a bit laggy. Thanks. The com object now alsoworks withVisual Studio, as expected, and get to browse its interfaces.
Kenneth Titlestad | MCSE | MCTS:SCCM | www.deploymenttech.com
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2009 4:23pm
Kenneth,Would you mind posting your results, either in screenshot form, or ideally text that describes the interfaces (return values, function parameters, constants, etc.)Thanks,Trevor SullivanSystems EngineerOfficeMax CorporationTrevor Sullivan
Systems Engineer
OfficeMax Corporation
May 12th, 2009 4:28pm
In Visual Studio, I create a project- I go to Project -> Add Reference -> COM -> SMS TSE Progress UI
In the Object Browser I find the ProgressUILib with the following info:
ProgressUILib.IProgressUI.ShowActionProgress(String, String, String, String, UInteger, UInteger, String, UInteger, UInteger)ProgressUILib.IProgressUI.ShowErrorDialog(String, String, String, String, UInteger, UInteger, Integer)ProgressUILib.IProgressUI.ShowMessage(String, String, UInteger)ProgressUILib.IProgressUI.ShowRebootDialog(String, String, String, String, UInteger)ProgressUILib.IProgressUI.ShowSwapMediaDialog(String, UInteger)ProgressUILib.IProgressUI.ShowTSProgress(String, String, String, String, UInteger, UInteger)Sample, creating a quick vbscript (in VbsEdit, not VS)'----------------------Set ProgressUI = CreateObject("Microsoft.SMS.TsProgressUI")ProgressUI.ShowMessage "Test", "Test", 2''-----------------The vbscript gives me a plain messagebox, working fine. Kenneth Titlestad | MCSE | MCTS:SCCM | www.deploymenttech.com
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2009 4:37pm
Just want to mention that in XP tsprogressui /registerAlso works.
June 29th, 2009 9:53pm
Trying this in an HTA file. What happens is I get an extra window that opens between the hta and the front end progress UI. Very strange. Any hints?
Free Windows Admin Tool Kit Click here and download it now
October 20th, 2010 5:32pm
hi
this works:
dynamic
objTS =
Activator.CreateInstance(Type.GetTypeFromProgID("Microsoft.SMS.TsProgressUI"
));
objTS.CloseProgressDialog();
March 23rd, 2011 3:47pm