jimpark / unsis

Automatically exported from code.google.com/p/unsis
Other
59 stars 15 forks source link

MUI_UNPAGE_CONFIRM does not wait for input #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
MUI_UNPAGE_CONFIRM does not wait for accepting or canceling just starts 
Uninstall section.

some parts of my nsh:
...
!include "MUI2.nsh"
...
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
...
Function un.onInit
  nsExec::Exec "$INSTDIR\skydns-agent.exe -p uninstall"
  Pop $0
  ${If} $0 == "error"
  ${OrIf} $0 == "timeout"
  ${OrIf} $0 = 100
    Goto +3
  ${EndIf}
  Abort
FunctionEnd

Original issue reported on code.google.com by rion4ik on 25 Jun 2012 at 12:44