Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

Commit

Permalink
64-bit processes fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KaleidonKep99 committed Aug 31, 2015
1 parent a994f38 commit 5f11e7b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions bassmididrv.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,22 @@ UninstPage Custom un.LockedListShow
!define DeleteOnReboot `!insertmacro DeleteOnReboot`

Function LockedListShow
${If} ${AtLeastWinVista}
${If} ${RunningX64}
File /oname=$PLUGINSDIR\LockedList64.dll `${NSISDIR}\Plugins\LockedList64.dll`
${EndIf}
!insertmacro MUI_HEADER_TEXT `File in use check` `Drive use check`
LockedList::AddModule \bassmididrv.dll
LockedList::Dialog /autonext
Pop $R0
${EndIf}
FunctionEnd
Function un.LockedListShow
${If} ${AtLeastWinVista}
${If} ${RunningX64}
File /oname=$PLUGINSDIR\LockedList64.dll `${NSISDIR}\Plugins\LockedList64.dll`
${EndIf}
!insertmacro MUI_HEADER_TEXT `File in use check` `Drive use check`
LockedList::AddModule \bassmididrv.dll
LockedList::Dialog /autonext
Pop $R0
${EndIf}
FunctionEnd
;--------------------------------
Function .onInit
Expand Down

0 comments on commit 5f11e7b

Please sign in to comment.