Code:
;============================================================================================================
;   Checks the registry VALUE and if incorrect, it applies correct setting, otherwise says already applied
;============================================================================================================

Function CheckAndSetRegValue($RegPath, $RegValue, $RegData, $RegType)
  
	$ReturnValue = ReadValue($RegPath, $RegValue)
  
	If ($ReturnValue = $RegData)
		? "Registry value already applied"
	Else
		WriteValue($RegPath, $RegValue, $RegData, $RegType)
		? "Registry value is being set for: "
	EndIf
	
EndFunction

CheckAndSetRegValue($PCSoftware + "\Policies\Mozilla\Firefox", "OverrideFirstRunPage", "", "REG_SZ")



The data field for the Registry Value "OverrideFirstRunPage" is null or empty. However, Kixtart will not create the value if the data field is empty. I have to put in at least a space, which is incorrect as a space is something, whereas the data field needs to be null.

I posted this a couple of days ago. But for some reason, my post vanished into thin air. It might be because I logged out immediately after posting. This time I will try waiting until it goes back to the previous page!