tags:

views:

506

answers:

2

How can I customize the welcome page of an Inno Setup installer?

I want to create an installer similar to Skype's installer with only 3 pages:

  1. Custom Welcome Page with some options
  2. Progress Page
  3. Finish Page with "Run Program" option

But all the code samples I've seen only allow customizing the wizard after the welcome page.

Apparently Skype uses Inno Setup, so I know this is possible. But how?

A: 

You can use Inno Setup Form Designer by Marc Hoffmann, you can hide the Welcome page and instead show your own custom pages.

Priyank Bolia
How do I hide the welcome page?
Kevin Thiart
Priyank Bolia
The first question in the google cache above give you some idea.
Priyank Bolia
Also, Inno Setup Form Designer only creates wizard pages (with the banner and Back/Next/Cancel panel). I'm looking for a completely custom form like Skype's. So I'll need to use the CreateCustomForm function instead of CreateCustomPage (which the form designer uses).
Kevin Thiart
Not sure, about that, whether Inno Setup Form Designer allows such things, but aren't you using the wrong thing then for your project. You might looks at alternatives. Otherwise you can write you own extension dll for INNO. Inno website will have more details.
Priyank Bolia
Nice! Thanks for the link. But I think I still see a quick flicker of the welcome screen. I'll do some more testing just to be sure.
Kevin Thiart
As I said above, you might want to look at alternatives, if you really don't want the default INNO gui. Inno is used because its easy to create simple setups not custom setups.
Priyank Bolia
Thing is, the setup is simple. I just want an alternative UI. Anyway, I accepted your answer, but the answer was really in your comments so would be great if you included that link in your answer.
Kevin Thiart
A: 
  1. create your own custom page and skip the welcome page.

  2. read CodeDlg.iss in your Inno setup folder: Inno Setup 5\Examples\

  3. see [Run] section in the Inno help document.

AZ