try to pick up the correct msi file
-msiexec /a %PKG_NAME%-%PKG_VERSION%-*-Setup.msi /qb TARGETDIR=%TEMP% || exit 1
+msiexec /a %PKG_NAME%-%PKG_VERSION%-%TARGET_ARCH%-Setup.msi /qb TARGETDIR=%TEMP% || exit 1
if not exist %SCRIPTS% mkdir %SCRIPTS% || exit 1
