The easiest approach to address your immediate challenge would be to add a Pause Procedure step between the install and checking the registry value to give the install time to complete. How long that should be would be determined by the maximum amount of time you would expect the install to take.
↧