Archive: abort problem


abort problem
  Hello,

I use this script to show a costumpage two times. It works very well but I have one problem. When I press the Cancel Button on the first page, my Installer doesnt close. Instead of this the second costum page is displayed.
Do you know a simple way to solve this problem?

!insertmacro MUI_INSTALLOPTIONS_WRITE "software.ini" "Settings" "NextButtonText" "Reload"

!insertmacro MUI_INSTALLOPTIONS_WRITE "software.ini" "Field 20" "Text" "Note: Please install all the missing software now and click the Refresh Button to check once more."
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "software.ini"
call software ;Function to check and change something
!insertmacro MUI_INSTALLOPTIONS_WRITE "software.ini" "Field 20" "Text" ""
!insertmacro MUI_INSTALLOPTIONS_WRITE "software.ini" "Settings" "NextButtonText" "Next >"
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "software.ini"

Thanks aemik

Attach the complete script. It's impossible to know what's the problem without seeing it. Though I'd guess you have the two pages in the same function. You should use two Page commands with two functions for two pages. Each page should have its own Page command and its own function.