i use the following code in my installer,but it does NOT work!
---------------------------------
!include "LogicLib.nsh"
!include "FileFunc.nsh"
!insertmacro GetDrives
;other codes
Section -DelVc2008TempFiles
${GetDrives} "FDD" "DelTempFilesOfVc2008"
SectionEnd
Function DelTempFilesOfVc2008
MessageBox MB_OK "$9 ($8 Drive)"
MessageBox MB_OK "11111111"
Push $0
FunctionEnd
------------------------------------
the section DelVc2008TempFiles is before Section -post.
i didn't even see MessageBox MB_OK "11111111"!
why ?
GetDirves does NOT work!
6 posts
Sorry,it's my mistake.I should use HDD instead of FDD!
Do you actually have any floppy drives on your computer? If it is not found, it will never call that function.
Just out of curiosity, why are you searching for floppy drives in this day and age?
Just out of curiosity, why are you searching for floppy drives in this day and age?
Originally posted by CrushBugi just copied the example code and tried it.
Do you actually have any floppy drives on your computer? If it is not found, it will never call that function.
Just out of curiosity, why are you searching for floppy drives in this day and age?
Originally posted by nsispysnThat's a common error, you should first read the documentation... always
i just copied the example code and tried it.
Yeah, I had started my post before you replied, so I didn't see your clarification. =)