However, although in the install directory browse popup the OK button enables and disables correctly, the Install button on the main dialog only enables if you choose the default install directory, if you choose an alternate directory that contains the executable to be replaced the Install button remains disabled.
Here is the entire script:
Any suggestions on what I'm doing wrong?
Name "Uploader SP1"
OutFile "UploaderSP1.exe"
InstallDir $PROGRAMFILES\Uploader
Page directory
Page instfiles
Section ""
SetOutPath $INSTDIR
File "Uploader.exe"
SectionEnd
Function .onVerifyInstDir
IfFileExists $INSTDIR\Uploader.exe PathGood
Abort ;
PathGood:
FunctionEnd