Mark Nascimento
27th February 2007 19:02 UTC
Cancel during instfiles
Now, is there a way to cancel during page instfiles, last section?
Page InstFiles
Section
Ini:
Sleep 5000
Do Something ;(Installing...)
If Bored, quit using mouse, cancel button, but NO MESSAGEBOX
Still doing that Something
GoTo Ini
SectionEnd
AutoCloseWindow True
What is the use for "Abort" ?
Never worked in my apps. Only "Quit" works.
kichik
27th February 2007 19:56 UTC
Abort is used to abort the installer in sections and works fine for me. I can't tell what your example means.
Mark Nascimento
28th February 2007 00:56 UTC
There goes the code.
If I set to 20 or more tryies, I want to be able to stop the loop before the last try.
Please, test it.
Mark Nascimento
28th February 2007 18:43 UTC
I,m not able to have $R0 with 0 or 1
In NotifyIcon::Icon , $R0 is ALWAYS 2.
So, I can´t quit the process.
NotifyIcon::Icon always brings the window to front, watever flag is used. In a testing script, using default interface,
it always brings window to front AND the icon desapears after POP $R0 and before the next line or any other action.
Please, remember again that there are many users that are not developers. We need more and easier explanations.
How can I quit, in the attached script, the last section by clicking the icon of the NotifyIcon::Icon in the notification area? And the app must be aways silent, except if I click the icon.
kichik
1st March 2007 19:49 UTC
In page callback functions, Abort has a special meaning. In the leave callback function, it means "stay on this page".