October 21, 201015 yr Hi guysI'm trying to make a silent install cmd file of CoreAVC 2.0 for both 32/64bit operating systemshere is my batch file:@echo off%windir%\REGEDIT.EXE /s "license.reg"mkdir "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\CoreCodec\CoreAVC Professional Edition"if %PROCESSOR_ARCHITECTURE%==AMD64 GOTO x64mkdir "%programfiles%\CoreCodec\CoreAVC Professional Edition"copy "setup\CoreAVC Professional Edition-uninstall.exe" "%programfiles%\CoreCodec\CoreAVC Professional Edition"copy "setup\CoreAVCReadme.txt" "%programfiles%\CoreCodec\CoreAVC Professional Edition"copy "setup\CoreAVCDecoder.ax" "%programfiles%\CoreCodec\CoreAVC Professional Edition"copy "shortcuts\x86\*.*" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\CoreCodec\CoreAVC Professional Edition"%windir%\system32\rundll32.exe "%ProgramFiles%\CoreCodec\CoreAVC Professional Edition\CoreAVCDecoder.ax",DllUnregisterServer%windir%\system32\rundll32.exe "%ProgramFiles%\CoreCodec\CoreAVC Professional Edition\CoreAVCDecoder.ax",DllRegisterServerGOTO end:x64mkdir "%ProgramFiles(x86)%\CoreCodec\CoreAVC Professional Edition"copy "setup\CoreAVC Professional Edition-uninstall.exe" "%ProgramFiles(x86)%\CoreCodec\CoreAVC Professional Edition"copy "setup\CoreAVCReadme.txt" "%ProgramFiles(x86)%\CoreCodec\CoreAVC Professional Edition"copy "setup\CoreAVCDecoder.ax" "%ProgramFiles(x86)%\CoreCodec\CoreAVC Professional Edition"copy "setup\CoreAVCDecoder64.ax" "%ProgramFiles(x86)%\CoreCodec\CoreAVC Professional Edition"copy "shortcuts\x64\*.*" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\CoreCodec\CoreAVC Professional Edition"%windir%\system32\rundll32.exe "%ProgramFiles(x86)%\CoreCodec\CoreAVC Professional Edition\CoreAVCDecoder.ax",DllUnregisterServer%windir%\system32\rundll32.exe "%ProgramFiles(x86)%\CoreCodec\CoreAVC Professional Edition\CoreAVCDecoder.ax",DllRegisterServer%windir%\system32\rundll32.exe "%ProgramFiles(x86)%\CoreCodec\CoreAVC Professional Edition\CoreAVCDecoder64.ax",DllUnregisterServer%windir%\system32\rundll32.exe "%ProgramFiles(x86)%\CoreCodec\CoreAVC Professional Edition\CoreAVCDecoder64.ax",DllRegisterServer:endTheres no issue with registering the 32bit codec for a 32bit OS nor the 64bit codec for a 64bit OS.The only issue I'm having is getting the 32bit codec installed in a 64bit Windows 7 (I'm using MPC-HC x86 Under Windows 7 64 so I need the 32bit version of CoreAVC on my system).I've also tried registering the .ax file with syswow64\rundll32.exe which returns the same error, and with regsvr32 which doesn't return any error but also doesn't seem to register the codec for use with MPC.Appreciate your help
Create an account or sign in to comment