Hello,
Another Inno problems of mine...
in my code section i have the followingVB Code:
: [COLOR=Navy][Code] [COLOR=DarkOrange]procedure BeforeInstall[/COLOR](); begin if FileExists('{userappdata}\MyApp\Settings.ini') then if MsgBox('Your Settings seem to be Installed. Would you like to keep them?', mbConfirmation, MB_YESNO or MB_DEFBUTTON1) = IDNO then begin // Delete the directory and everything inside it DelTree('{userappdata}\MyApp', True, True, True); end; end;[/COLOR]
And then i call the procedure like so..
VB Code:
[COLOR=Navy] [INI] 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..






Reply With Quote