Avatar of npc_caseym
npc_caseym
Flag 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!
Microsoft DOSWindows 7

Avatar of undefined
Last Comment
Steve Knight

8/22/2022 - Mon
RobSampson

Hi, as far I know, not via script.  See here for an attempt:
https://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_27188592.html

But, maybe a third party program could work, as suggested by Daz here:
https://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_7/Q_27657580.html

Regards.

Rob.
Steve Knight

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.
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.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER CERTIFIED SOLUTION
RobSampson

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Steve Knight

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
npc_caseym

ASKER
Not the answer i was looking for but fact isfact.
Steve Knight

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.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.