[vlc-commits] [Git][videolan/vlc][master] nsis: always use the regsvr32.exe from the system
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Sep 27 14:00:42 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
d13608f8 by Steve Lhomme at 2023-09-27T15:09:39+02:00
nsis: always use the regsvr32.exe from the system
We should not use whatever is in the PATH. Especially as the current directory
is set the a temporary directory during uninstallation.
- - - - -
1 changed file:
- extras/package/win32/NSIS/vlc.win32.nsi.in
Changes:
=====================================
extras/package/win32/NSIS/vlc.win32.nsi.in
=====================================
@@ -398,7 +398,7 @@ ${MementoSection} "$(Name_Section04)" SEC04
!insertmacro InstallFile axvlc.dll
!insertmacro CloseUninstallLog
@HAVE_WIN64_FALSE@ RegDLL "$INSTDIR\axvlc.dll"
- at HAVE_WIN64_TRUE@ ExecWait 'regsvr32.exe /s "$INSTDIR\axvlc.dll"'
+ at HAVE_WIN64_TRUE@ ExecWait '"$SYSDIR\regsvr32.exe" /s "$INSTDIR\axvlc.dll"'
${MementoSectionEnd}
!endif
SectionGroupEnd
@@ -818,7 +818,7 @@ Section "un.$(Name_Section91)" SEC91
;remove activex plugin
@HAVE_WIN64_FALSE@ UnRegDLL "$INSTDIR\axvlc.dll"
- at HAVE_WIN64_TRUE@ ExecWait 'regsvr32.exe /s /u "$INSTDIR\axvlc.dll"'
+ at HAVE_WIN64_TRUE@ ExecWait '"$SYSDIR\regsvr32.exe" /s /u "$INSTDIR\axvlc.dll"'
Delete /REBOOTOK "$INSTDIR\axvlc.dll"
;remove mozilla plugin
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d13608f8867b66dec2e8079b4d07d1b8567ffa0a
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d13608f8867b66dec2e8079b4d07d1b8567ffa0a
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list