b153850d5c
Root cause: bridges (/MD) import MSVCP140.dll/VCRUNTIME140*.dll nhung installer KHONG bao gio cai VC++ redist. hooks.nsh dinh nghia macro 'customInstall' - ten Tauri v2 khong goi (template dung NSIS_HOOK_POSTINSTALL) -> macro chet, vc_redist.x64.exe khong duoc nhung, khong chay. May phat trien chay duoc vi co MSVC BuildTools (redist san); may user sach: bridge khong start duoc -> moi VST/VST3 FX khong load (GUI khong mo), plugin /MD khac (iZotope core...) bao 0x7E. Fix: - hooks.nsh: doi macro thanh NSIS_HOOK_POSTINSTALL; vc_redist dong goi nhu bundle resource -> (File tuong doi trong macro resolve theo thu muc installer.nsi sinh ra, khong phai src-tauri - cung vay). ExecWait /install /quiet /norestart; xoa file sau khi cai xong (rc 0/3010). - tauri.conf.json: resources + vc_redist.x64.exe; nsis installMode perMachine (vc_redist can elevation; DAW scan Program Files plugin dirs). Verified: 7z l installer -> vc_redist.x64.exe embedded; installer.nsi insert NSIS_HOOK_POSTINSTALL; INSTALLMODE perMachine; makensis OK. NSIS +387MB. MSI (WiX) van khong cai redist - can cai tay tren may dung MSI.