Job_PostInstallProcedure

Description

Move entries from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce to a temporary location.

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 form the post install job.

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

 

Syntax

Job_PostInstallProcedure() As Boolean

Example

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

Scripting Guidelines

 

Related functions