Unattended GuiRunOnce vs. RunOnceEx

  • Thread starter Thread starter flekso
  • Start date Start date
F

flekso

What is the difference between GuiRunOnce and RunOnceEx during unattended
setup ?

Is there a way (script, batch) to detect if a PC contains a capability to
burn discs ?

Thanks.
 
GUIRunOnce is a section of the unattended answer file. Items placed here
will execute when the machine first boots once setup has finished. You
would normally combine this with an auto admin logon to avoid user
interaction and to make sure it's an administrator of the local machine that
logs on for the first time.

RunOnceEx is a bit of a hack and uses the feature that were introduced with
Internet Explorer. Populating these keys will result in an ordered
installation of multiple items and gives a pretty progress box on screen, as
you get after installing a new version of Internet Explorer.

There are some limitations in using RunOnceEx. For instance, the pipe
character doesn't work properly. Sometimes I've ended up having to run a
batch file to do what I want. I have recently discovered that if you apply
a GPO containing a software installation policy for Office 2003 to the OU to
which you join the machine (I do this with netdom.exe to ensure my machines
end up in the right OU), it will interrupt the processing on RunOnceEx. One
reboot (or logoff) later, the items that I had in RunOnceEx continue to
execute.

As for finding out whether your machines have CD burners, I'm not sure. I'd
suggest starting a new thread in one of the scripting groups. There's an
API call that will enumerate drives and tell you if they're removable,
fixed, etc. I don't know if this extends to giving you information about
writers. I suspect there may be a way of using WMI to find the information.

Oli

..
 
Oli Restorick said:
GUIRunOnce is a section of the unattended answer file. Items placed here
will execute when the machine first boots once setup has finished. You
would normally combine this with an auto admin logon to avoid user
interaction and to make sure it's an administrator of the local machine
that logs on for the first time.

RunOnceEx is a bit of a hack and uses the feature that were introduced
with Internet Explorer. Populating these keys will result in an ordered
installation of multiple items and gives a pretty progress box on screen,
as you get after installing a new version of Internet Explorer.

There are some limitations in using RunOnceEx. For instance, the pipe
character doesn't work properly. Sometimes I've ended up having to run a
batch file to do what I want. I have recently discovered that if you
apply a GPO containing a software installation policy for Office 2003 to
the OU to which you join the machine (I do this with netdom.exe to ensure
my machines end up in the right OU), it will interrupt the processing on
RunOnceEx. One reboot (or logoff) later, the items that I had in
RunOnceEx continue to execute.

As for finding out whether your machines have CD burners, I'm not sure.
I'd suggest starting a new thread in one of the scripting groups. There's
an API call that will enumerate drives and tell you if they're removable,
fixed, etc. I don't know if this extends to giving you information about
writers. I suspect there may be a way of using WMI to find the
information.

Oli

.

So i'm better off sticking with GUIRunOnce ?
What happens if some programs start to demand a reboot, who wins in that
scenario ?

Thanks.
 
Back
Top