Commit 201655b7 authored by Rafaël Carré's avatar Rafaël Carré

nsis: register x64 axvlc.dll properly

parent 245b2756
...@@ -285,7 +285,8 @@ Section $Name_Section04 SEC04 ...@@ -285,7 +285,8 @@ Section $Name_Section04 SEC04
!insertmacro InstallFile axvlc.dll !insertmacro InstallFile axvlc.dll
!insertmacro InstallFile axvlc.dll.manifest !insertmacro InstallFile axvlc.dll.manifest
!insertmacro CloseUninstallLog !insertmacro CloseUninstallLog
RegDLL "$INSTDIR\axvlc.dll" @HAVE_WIN64_FALSE@ RegDLL "$INSTDIR\axvlc.dll"
@HAVE_WIN64_TRUE@ ExecWait 'regsvr32.exe /s "$INSTDIR\axvlc.dll"'
SectionEnd SectionEnd
!endif !endif
SectionGroupEnd SectionGroupEnd
...@@ -697,7 +698,8 @@ Section "un.$Name_Section91" SEC91 ...@@ -697,7 +698,8 @@ Section "un.$Name_Section91" SEC91
!insertmacro DeleteContextMenuExt "Directory" !insertmacro DeleteContextMenuExt "Directory"
;remove activex plugin ;remove activex plugin
UnRegDLL "$INSTDIR\axvlc.dll" @HAVE_WIN64_FALSE@ UnRegDLL "$INSTDIR\axvlc.dll"
@HAVE_WIN64_TRUE@ ExecWait 'regsvr32.exe /s /u "$INSTDIR\axvlc.dll"'
Delete /REBOOTOK "$INSTDIR\axvlc.dll" Delete /REBOOTOK "$INSTDIR\axvlc.dll"
Delete /REBOOTOK "$INSTDIR\axvlc.dll.manifest" Delete /REBOOTOK "$INSTDIR\axvlc.dll.manifest"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment