BScorpion
02-21-2006, 05:18 PM
This is my code:
if not File.DoesExist(SessionVar.Expand("%AppFolder%\\App.exe")) then
Dialog.Message("Fatal Error", SessionVar.Expand("%ProductName% Executable not found. Setup will abort."), MB_OK, MB_ICONSTOP, MB_DEFBUTTON1)
Application.Exit()
end
When i used this code, i expected that if the file wasn´t found, should be displayed an error message with the Stop icon (X).
But instead, when the file isn´t found, is shown a Message with the Information icon (i).
Does anyone know why this is happening? I would appreciate some help, please...
Thanks,
Black_Scorpion
if not File.DoesExist(SessionVar.Expand("%AppFolder%\\App.exe")) then
Dialog.Message("Fatal Error", SessionVar.Expand("%ProductName% Executable not found. Setup will abort."), MB_OK, MB_ICONSTOP, MB_DEFBUTTON1)
Application.Exit()
end
When i used this code, i expected that if the file wasn´t found, should be displayed an error message with the Stop icon (X).
But instead, when the file isn´t found, is shown a Message with the Information icon (i).
Does anyone know why this is happening? I would appreciate some help, please...
Thanks,
Black_Scorpion