Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RunOnce.....

Featured Replies

In the Autounattend.xml

<RunOnce>

<!-- This section contains elements for allowing additional commands during setup-->

<RunOnceCommand FilePath="C:\sample1.vbs" Attributes="/a /f /e" Flags="1" ErrorControl="1" Reboot="True" Timeout="100" Cloning="On">

<DisplayName Value="MSDE Setup" />

<Description Value="This RunOnce Command installs MSDE" />

</RunOnceCommand>

<RunOnceCommand FilePath="C:\sample2.vbs" Attributes="/r /j /k" Flags="0" ErrorControl="0" Reboot="True" Timeout="0" Cloning="Off">

<DisplayName Value="MSDE Setup" />

<Description Value="This RunOnce Command installs MSDE" />

</RunOnceCommand>

<RunOnceCommand FilePath="C:\sample3.vbs" Attributes="/d /n /m" Flags="0" ErrorControl="0" Reboot="True" Timeout="0" Cloning="On">

<DisplayName Value="MSDE Setup" />

<Description Value="This RunOnce Command installs MSDE" />

</RunOnceCommand>

<RunOnceCommand FilePath="C:\sample4.vbs" Attributes="/s /f /l" Flags="1" ErrorControl="1" Reboot="True" Timeout="1000" Cloning="Off">

<DisplayName Value="MSDE Setup" />

<Description Value="This RunOnce Command installs MSDE" />

</RunOnceCommand>

</RunOnce>

as we can insert the RunOnce and start setup, where to copy RunOnce so that it comes executed?

Thank !

Edited by raffa


In the Autounattend.xml

<RunOnce>

<!-- This section contains elements for allowing additional commands during setup-->

<RunOnceCommand FilePath="C:\sample1.vbs" Attributes="/a /f /e" Flags="1" ErrorControl="1" Reboot="True" Timeout="100" Cloning="On">

<DisplayName Value="MSDE Setup" />

<Description Value="This RunOnce Command installs MSDE" />

</RunOnceCommand>

<RunOnceCommand FilePath="C:\sample2.vbs" Attributes="/r /j /k" Flags="0" ErrorControl="0" Reboot="True" Timeout="0" Cloning="Off">

<DisplayName Value="MSDE Setup" />

<Description Value="This RunOnce Command installs MSDE" />

</RunOnceCommand>

<RunOnceCommand FilePath="C:\sample3.vbs" Attributes="/d /n /m" Flags="0" ErrorControl="0" Reboot="True" Timeout="0" Cloning="On">

<DisplayName Value="MSDE Setup" />

<Description Value="This RunOnce Command installs MSDE" />

</RunOnceCommand>

<RunOnceCommand FilePath="C:\sample4.vbs" Attributes="/s /f /l" Flags="1" ErrorControl="1" Reboot="True" Timeout="1000" Cloning="Off">

<DisplayName Value="MSDE Setup" />

<Description Value="This RunOnce Command installs MSDE" />

</RunOnceCommand>

</RunOnce>

as we can insert the RunOnce and start setup, where to copy RunOnce so that it comes executed?

Thank !

RunOnce can be executed at several locations in the Install proccess, you cannot use it to kick off Setup as the AutoUnattend file is not read till AFTER setup is launched.

I see nowhere that runonce is used by Vista

Windows XP Embedded

Mobile and Embedded Development

  • Author

E' true, I must find other solution ....thank !!

correct, not called runonce anymore but synchronous commands, can be added in passes 1,4,6,7 these are like runonce commands as you can launch applicatopns or scripts or bat files to continue installation.

from within the WAIK, on the menu bar at the top, choose insert => Synchromous Command=> Pass then enter the command you want to run

<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>\\servername\path\file.exe</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>

this can launch anything you need, somethings may have to launched from msiexec or something else but you can do alot from here

well i'm glad we got that starightened out

since i been using those Synchronous and ASynchronous since I discovered runonce or ex is no more

vista install is very different from XP

OEMs doesnt need RunOnce at all

they can create master install with all required apps,confs & OOBE conf

they they can build a wim from it and deploy the wim

Nowhere a run once came in place,

M$ proposed WIM based deployment and not with runonce

With Vista you have Runonce BTW but name change,

Its called Firstlogon and you can do pratically anything during that Firstlogon command with very little or no popups by the UAC if you know how.

Edited by maxXPsoft

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.