Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to diplay a splash bitmap at the beginning of install?


4 replies to this topic

Peter Bi

Peter Bi
  • Members
  • 68 posts

Posted 16 August 2001 - 17:21

Hi,

We want our product to display a splash bitmap at the beginning of
install.
Currently, with double click on setup.exe, it start two small windows, the
first is titled "InstallShield
Wizard" with text "Product name is preparing InstallShield Wizard which will
guide you through the program setup. Please wait...", there is progress bar
at the bottom; the second one is titled "Windows Installer" with text
"Preparing to install...".
Now we want to hide these two small windows from users, and instead
we would like to display a splash bitmap (say for 5 seconds). I tried to
insert the bitmap to billboard, but it only displayed after the
'ReadyToInstall' dialog, that's way after than we wanted.

Can anybody tell me how to hide the two small windows and display my bitmap
at the beginning?

Thanks,
Peter



Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 16 August 2001 - 17:43

The first of there dialogs in not from windows installer that is from setup.exe.  You can write your own setup.exe program to display your own dialog.

The second one is a dialog called SetupInitialization.  You can change that to look as you like. Invisible

Microsoft often use a tiny please wait dialog here.


Peter Bi

Peter Bi
  • Members
  • 68 posts

Posted 16 August 2001 - 18:25

Thanks, Ian,

I think the first one is the SetupInitialization dlg, but even I set the 'visible' property of the dlg to 'false', it still shows at the beginning.

The second one should be the one you mentioned from setup.exe, you said I could write my own setup.exe program to display my own dlg, can you give a little bit more detail, I don't know how to 'write setup.exe program'.

The other part of my previous post is 'how to display a splash bitmap at the beginning of install', do you have any idea on that.

Thanks again,
Peter


Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 16 August 2001 - 20:23

Your own setup program can be as simple or as complex as you like.

At the simplest all it needs to do is call MsiInstallProduct with the name of your msi file.

You will probably want to add code to apply the Install Shield ;anguage transforms if required.

You will probably want to detect the version or presence of msi and run Instmsia/w.exe if necessary.  

At the most extreme it can completely replace the user interface.  But this option is a lot of work.