title: whats wrong with my Zipdll code?
body: <pre><code>#Var directoryexe# ;Declare the variable
  
  ###Section directory###
      StrCpy $DIRECTORYEXE "$EXEDIR"
  ###SectionEnd###
  
  **Section "ZIP" locatezip**
  
  ClearErrors
  
      ${Locate} "$DIRECTORYEXE" "/L=F /M=something.zip /S=1K" "ExtractZip"
  
      ; '.zip' file next to .exe with size 1 Kb or more
  
      IfErrors 0 noerror
  
      MessageBox MB_OK "ERRROR" IDOK +3
  
  noerror:
  
  MessageBox MB_OK "$$R0=$R0" 
  
  **SectionEnd**
  </code></pre>
  
  <p><strong>Function ExtractZip</strong></p>
  
  <pre><code>    strcpy "$R0" "$R9"
  
      ZipDLL::extractall "$R0" "$PROGRAMFILES\Example"
  
      Pop $0
  
      MessageBox MB_OK "$$0=$0"
  
      StrCpy $0 StopLocate
  
      Push $0
  </code></pre>
  
  <p><strong>FunctionEnd</strong></p>
  
  <p>And if zip is in the exedir, extract it but when its not there not write error message, whats the problem ? :S</p>