This is my very simple contribution.
If you could include the below code into a small bat or cmd in package:
@echo off
cd /d %~dp0
cls
set g=goto
set g1=%g%EOF
set p1="%WinDir%\system
set p2="%WinDir%\SysWOW64
set f=\MSCOMCTL.OCX"
%g%PA
:PA (
if %Processor_Architecture==x86 (...