Hi pros,
Is it possible
MessageBox MB_OK|MB_ICONEXCLAMATION "Do not reboot after this installation"
replacing MB_OK|MB_ICONEXCLAMATION as a timer count down, during installation, before 1.exe is being installed, the messagebox will appear as a timer message and then close by itself.
I did refer to the forum and the manual, but it only give me all this. But nothing with a time.
I hope someone could help me.
About Messagebox
10 posts
Use Banner plugin, with a Sleep instruction in between.
-Stu
-Stu
Banner::show /NOUNLOAD /set 76 "Please Read While Loading" "Please do not reboot after this installation"
Banner::getWindow /NOUNLOAD
how do I add the sleep functions ???
Banner::getWindow /NOUNLOAD
how do I add the sleep functions ???
-StuBanner::show /NOUNLOAD /set 76 "Please Read While Loading" "Please do not reboot after this installation"
Sleep 3000
Banner::destroy
there's one part of the forum topic says I can have mulitple
Banner::show /NOUNLOAD
I tried doing this
Banner::show /NOUNLOAD /set 76 "Please Read While Loading" "Please do not...."
sleep 300
Banner::show /NOUNLOAD /set 77 "Please Read While Loading" "Please do not"
sleep 200
Can you show me how can I adjust to have multiple banners message.
thanks for the help
Banner::show /NOUNLOAD
I tried doing this
Banner::show /NOUNLOAD /set 76 "Please Read While Loading" "Please do not...."
sleep 300
Banner::show /NOUNLOAD /set 77 "Please Read While Loading" "Please do not"
sleep 200
Can you show me how can I adjust to have multiple banners message.
thanks for the help
You can't show multiple banners; only one.
-Stu
-Stu
MSIBanner might help you
Hi joel, its kinda complicated.
Can you show me how can I use the source int this
# Installer sections
Section Main SEC0000
SetOutPath $TEMP
SetOverwrite on
Banner::show /NOUNLOAD /set 76 "Please Read While Loading" "Please do not reboot after this installation"
Sleep 1000
Banner::destroy
File "G:\xxx.exe"
File "upgrade.exe"
ExecWait "$TEMP\xxx.exe"
ExecWait "$TEMP\upgrade.exe"
Delete "$TEMP\xxx.exe"
Delete "$TEMP\upgrade.exe"
SectionEnd
# Installer functions
Function .onInit
InitPluginsDir
FunctionEnd
Can you show me how can I use the source int this
# Installer sections
Section Main SEC0000
SetOutPath $TEMP
SetOverwrite on
Banner::show /NOUNLOAD /set 76 "Please Read While Loading" "Please do not reboot after this installation"
Sleep 1000
Banner::destroy
File "G:\xxx.exe"
File "upgrade.exe"
ExecWait "$TEMP\xxx.exe"
ExecWait "$TEMP\upgrade.exe"
Delete "$TEMP\xxx.exe"
Delete "$TEMP\upgrade.exe"
SectionEnd
# Installer functions
Function .onInit
InitPluginsDir
FunctionEnd
If you would like to change the text on the banner while it is displayed, do like so:
-Stu
Banner::show /NOUNLOAD "Calculating important stuff..."
Banner::getWindow /NOUNLOAD
Pop $R0
GetDlgItem $R0 $R0 1030
Sleep 5000
SendMessage $R0 ${WM_SETTEXT} 0 "STR:Calculating more important stuff..."
Sleep 5000
SendMessage $R0 ${WM_SETTEXT} 0 "STR:Nearly done now..."
Sleep 5000
Banner::destroy
thanks stu its working well