Lutris installer - Use set_regedit to place a random value

I’ve got an installer script where one of the tasks is:

        description: Patch multiplayer
        name: set_regedit
        path: HKEY_CURRENT_USER\Software\Wow6432Node\Electronic Arts\EA Games\The Battle for Middle-earth\ergc
        key: (Default)

I need this value to be different for every installation. I know you can run shell scripts through the .yml file, so does anyone know of an easy way to generate a random couple characters here?

Update: I’m using value: '$GAMEDIR$CACHE'. Seems to work fine for now