Hello,

Another Inno problems of mine...

in my code section i have the following
VB Code:
  1. :
  2.  
  3. [COLOR=Navy][Code]
  4. [COLOR=DarkOrange]procedure BeforeInstall[/COLOR]();
  5. begin
  6.     if FileExists('{userappdata}\MyApp\Settings.ini') then
  7.  
  8.  if MsgBox('Your Settings seem to be Installed. Would you like to keep them?', mbConfirmation, MB_YESNO or MB_DEFBUTTON1) = IDNO then
  9.         begin
  10.           // Delete the directory and everything inside it
  11.           DelTree('{userappdata}\MyApp', True, True, True);
  12.         end;
  13. end;[/COLOR]


And then i call the procedure like so..
VB Code:
  1. [COLOR=Navy]
  2.  
  3. [INI]
  4. Filename: {userappdata}\MyApp\Settings.ini; Section: Info; Key: Information; String: myapp; [/COLOR] [COLOR=DarkOrange]BeforeInstall: BeforeInstal[/COLOR]

Basically the problem is, when i install the application I dont see any MessageBox.

How can i get it to show..