Sys_MoveRunOnceValues
Description
Section titled “Description”Moves the commands in HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce to HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce_Temp. This way the commands that an installation adds to RunOnce don’t wait for the next restart. Sys_ExecuteRunOnceValues runs them later in the package. Only string values are moved.
You don’t normally need to call this function. Job_PostInstallProcedure calls it.
Syntax
Section titled “Syntax”Sys_MoveRunOnceValues() as Boolean
Example
Section titled “Example”If bStatus Then bStatus = Sys_MoveRunOnceValues()Related functions
Section titled “Related functions”Sys_ExecuteRunOnceValues Job_PostInstallProcedure Constants Package Property Variables