Skip to content

Job_PostInstallProcedure

Moves the entries from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce to RunOnce_Temp, and the entries from RunOnceEx to RunOnceEx_Temp, under the same key. Only string values are moved.

This function could be used in a case where the end users does not have admin rights. The issue could be that an installation has to update locked files. These files have to be updated during reboot and registered afterwards. To register a library admin rights is required.

After Reboot the function Job_PostProcedure must be invoked from the post install job.

If the function Job_PostInstallProcedure is being used it is also expected that the Computer is being rebooted immediately after.

Job_PostInstallProcedure() As Boolean

If bStatus Then bStatus = Job_PostInstallProcedure()
If bStatus Then bStatus = Job_RebootWS("CapaInstaller")

Scripting Guidelines

Job_PostProcedure Sys_MoveRunOnceValues Constants Package Property Variables