Link to home
Start Free TrialLog in
Avatar of npc_caseym
npc_caseymFlag for United States of America

asked on

Hide window with install script

I'm building a vb script to remotely check for a file and if the file does not exist, the script installs a font on Windows 7 PC's and then creates a blank file that prevents it from running every time.  I'm doing this through a logon script GPO.  My question is, is there a way that I can hide the install font box?  The script works great, but the first time that the user logs on and font installs, the user sees the "Installing font" dialog box.  Just wondering if there is a way to hide it.  I've tried using the cscript paramater //B but it doesn't work.

Thanks in advance!
Avatar of RobSampson
RobSampson
Flag of Australia image

Last time I rolled out a font across a domain we just build a one-file MSI file using all we had to had which was the free "Winstall Lite" and applied it through GPO to all computers... no need for anything else then, just appears on people's computers.
Avatar of npc_caseym

ASKER

Yes I understand that I could create an MSI package and deploy it that way.  I don't want to do that.  I just wanted to know if there was a way in the vb script to hide the window.
ASKER CERTIFIED SOLUTION
Avatar of RobSampson
RobSampson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You could compile a small "autoit" script I suppose to "press" the button, maybe even be able to use Word automation objects to get a handle on the window and do a Sendkeys of the Return button?

Steve
Not the answer i was looking for but fact isfact.
You should be able to use the options I suggested if you still need to - the word automation objects can be used within vbscript if Office is present as they allow you to get a handle on a specific window but I didn't get the oppurtunity to test it with fonts.