forked from shaba/openuds
Updated sysprep checking from info to debug
This commit is contained in:
parent
7b0ad08685
commit
df9cb4eb6a
@ -205,6 +205,7 @@ class UDSActorSvc(win32serviceutil.ServiceFramework, CommonService):
|
||||
try:
|
||||
key = wreg.OpenKey(wreg.HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\State')
|
||||
data, _ = wreg.QueryValueEx(key, 'ImageState')
|
||||
logger.debug('State: %s', data)
|
||||
return data != 'IMAGE_STATE_COMPLETE' # If ImageState is different of ImageStateComplete, there is something running on installation
|
||||
except Exception: # If not found, means that no installation is running
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user