Paquet Builder 3.6 not writing registry entry - SOLVED

I’m trying to create a local machine reg entry within a package. But it seems PB does not elevate itself to write the entry even though the package is set to “Require Administrator” I have used “Write registry entries,” manual and import, “Manage custom actions,” and even wrote a batch file. None of those are writing the reg. Running the batch file separately works fine and asks for credentials. Starting the .exe made by PB requires credentials, but never writes the reg entry. It’s like it’s dropping the elevated privilege and I do not know how to keep it elevated. I’m trying to write a hk_LocalMachine Reg_DWord value.

I found my error! I was creating a 32-bit install. I made a 64-bit install and it ran the batch file to create a reg entry just fine.