I have a 32-bit perl installer. Using this I need to be able to install and uninstall both 32- and 64-bit applications.
Installing 32- and 64-bit is fine. Uninstalli
You could also call the reg tool directly, instead of the batch file:
$WINDIR/system32/reg.exe
This is the default location for reg.exe when included with operating system.
$WINDIR/sysnative/reg.exe
This is the virtual location of the native 64-bit reg.exe when executed from a 32-bit process.