Skip to content

Commit

Permalink
Fix x64 prerequisit check
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxhy committed Jul 10, 2015
1 parent d8f16bd commit e05cfd4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dokan_install/install.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,12 @@ Section -Prerequisites

IfSilent endVCRedist
${If} ${RunningX64}
ReadRegStr $0 HKLM "SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{13A4EE12-23EA-3371-91EE-EFB36DDFFF3E}" "Version"
SetRegView 32
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{13A4EE12-23EA-3371-91EE-EFB36DDFFF3E}" "Version"
${If} $0 == ""
Goto beginVCRedist
${EndIf}
SetRegView 64
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A749D8E6-B613-3BE3-8F5F-045C84EBA29B}" "Version"
${If} $0 == ""
Goto beginVCRedist
Expand Down

0 comments on commit e05cfd4

Please sign in to comment.