The hard part is to get the current logon user. What happens if the update is installed when nobody is logon on (scheduled install or "at shutdown") ?
If there is someone currently logged, you can try this VBScript
Once you have the login of the user, you have to browse : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
and compare the content of the value : ProfileImagePath with the login of the current logon user. Once found, you have the "Home Folder" for this user.
Good luck !
If there is someone currently logged, you can try this VBScript
Once you have the login of the user, you have to browse : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
and compare the content of the value : ProfileImagePath with the login of the current logon user. Once found, you have the "Home Folder" for this user.
Good luck !