Old 4th February 2005, 13:33   #41
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Of course... there aren't windows or dialogs which the banner attached to it...

The MSIBanner isn't a standalone one
Needs a parent window.

BIG EDIT:
Just test the code ... and I don't get any errors:
code:

!define PRODUCT "MSIBanner"

Name ${PRODUCT}
OutFile "${PRODUCT}2.exe"
ShowInstDetails show
;XPStyle on

Function .onInit
SetSilent silent
MSIBanner::Show /NOUNLOAD "NSIS Installer - ${PRODUCT}"
Sleep 1000
MSIBanner::Move /NOUNLOAD 20 "Countdown to destruction 5"
Sleep 1000
MSIBanner::Pos /NOUNLOAD 100 "Cleaning...."
Sleep 1000
FunctionEnd

Function .onInstSuccess
MessagebOX MB_OK "DONE!"
FunctionEnd

Section -default
MSIBanner:estroy
DetailPrint "Works great!"
SectionEnd


Be sure to have the lastest version of the MSIBanner...
WOW! Works even in silent mode


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 4th February 2005, 19:45   #42
Comperio
Major Dude
 
Comperio's Avatar
 
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
Your explanation makes perfect sense! (And once you do it right, it works like a charm!)

Thanks!
Comperio is offline   Reply With Quote
Old 14th February 2005, 14:33   #43
Comperio
Major Dude
 
Comperio's Avatar
 
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
2 new questions:
I have situations where I launch applications during an install. The applications I use a banner page that displays while the app is initializing. The problem is that the banner of the other apps covers MSI Banner's window.

Is it possible to force the MSI Banner to the top of all other windows? Or is it posible to set the position of MSI Banner on the screen?
Comperio is offline   Reply With Quote
Old 14th February 2005, 15:41   #44
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Try using BringToFront to bring the installer to the top.

-Stu
Afrow UK is offline   Reply With Quote
Old 14th February 2005, 19:28   #45
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Quote:
Is it possible to force the MSI Banner to the top of all other windows?
Do what Stu said
code:

Or is it posible to set the position of MSI Banner on the screen?


Maybe on next release


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 14th February 2005, 19:31   #46
Comperio
Major Dude
 
Comperio's Avatar
 
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
Thanks guys!
Comperio is offline   Reply With Quote
Old 30th July 2006, 09:47   #47
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
could you make it support InstallColors and InstProgressFlags in future?
Yathosho is offline   Reply With Quote
Old 30th July 2006, 11:52   #48
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
Quote:
Originally posted by Joel
The MSIBanner isn't a standalone one
Needs a parent window.
i take it that's why the attached example doesn't work?
Attached Files
File Type: nsi msibanner-mypage.nsi (2.1 KB, 131 views)
Yathosho is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump