check for 32-bit firefox install even if it should have been 64-bit

This commit is contained in:
zab2
2019-01-08 13:02:49 +00:00
parent 5574f60917
commit b7dc6e8db4
2 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* Rename the output of the windows installer to include version.
- current (initial) version is 0.01a
* Change text in prompts for Firefox and I2P locations
* check 32-bit location even if install should have been 64-bit
2019-01-07 zzz
* Remove irrelevant parts of Tor license

View File

@ -60,6 +60,8 @@ Function .onInit
${If} $0 == 1
${If} ${FileExists} "${FFINSTEXE64}/firefox.exe"
StrCpy $FFINSTEXE "${FFINSTEXE64}"
${ElseIf} ${FileExists} "${FFINSTEXE32}/firefox.exe"
StrCpy $FFINSTEXE "${FFINSTEXE32}"
${EndIf}
${If} ${FileExists} "$PROFILE/OneDrive/Desktop/Tor Browser/Browser/firefox.exe"
StrCpy $FFINSTEXE "$PROFILE/OneDrive/Desktop/Tor Browser/Browser/"