NewsArchive
05-11-2009, 01:40 AM
Hi Friedrich,
I would need somthing like "equals 1 at pos." for binary results. I have
to check for special file attributes and would like to use
http://msdn.microsoft.com/en-us/library/aa364944(VS.85).aspx
But I can't see how to proceed the result.
I would like to do something like that:
Call DLL "kernel32.dll" -- Function "GetFileAttributes" (STRING)
(%CHECKDIR_EXISTINGPART%)
If %_SB_RETURN% BINARYAND 0x800 Is Greater Than "0" Then
Show Messagebox "Compressed Folder" "For performance reasons, you
should not install in compressed folders. Do it anyway?"
yada
yada
yada
Do you have any suggestions? Thanks in advance.
Markus
I would need somthing like "equals 1 at pos." for binary results. I have
to check for special file attributes and would like to use
http://msdn.microsoft.com/en-us/library/aa364944(VS.85).aspx
But I can't see how to proceed the result.
I would like to do something like that:
Call DLL "kernel32.dll" -- Function "GetFileAttributes" (STRING)
(%CHECKDIR_EXISTINGPART%)
If %_SB_RETURN% BINARYAND 0x800 Is Greater Than "0" Then
Show Messagebox "Compressed Folder" "For performance reasons, you
should not install in compressed folders. Do it anyway?"
yada
yada
yada
Do you have any suggestions? Thanks in advance.
Markus