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

Components Dialog


8 replies to this topic

AngeloF

AngeloF
  • Full Members
  • 12 posts

Posted 09 February 2011 - 20:11

Hi guys!

I have another question for you :

Premise

There is an attached file with a example dialog


The Question

I want to achieve a dialog (similar to the dialog in attached file) to have the choice to choose which components to install.
How i fill the treeview control in the dialog?
How I manage the choice in a property ?

Have suggestion on I can move?

Thanks for all replies

[removed .rar attachment - please see .gif in next post instead]

Edited by Stefan Krueger, 10 February 2011 - 17:30.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 10 February 2011 - 12:01

Here's the image from the archive. I think it's easier to see a GIf instead of a BMP inside a RAR archive smile.gif

Attached Images

  • Scelta_Componenti.gif


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 10 February 2011 - 12:06

Let's start with terminology: In Windows Installer, users don't select "components" but "features".

You can use the CustomSetup dialog to display a tree view of your features. However it doesn't have simple checkboxes but selection controls where the user has a choice of install local, run from source, install on first use etc. For more information about these options see http://www.installsi...etupOptions.htm

In this screenshot there's also a combo box to select setup types. InstallShield has a separate dialog for this: SetupType.

AngeloF

AngeloF
  • Full Members
  • 12 posts

Posted 10 February 2011 - 16:06

Thanks for your reply.

I have more questions for you, will explain in another topics


P.S.:
I created a bitmap of ~1,5 MB, Then i noticed that was greater than 500 k and I have compressed, only to do before.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 10 February 2011 - 17:28

QUOTE
I created a bitmap of ~1,5 MB
GIF or JPG are much better than BMP. My GIF is around 40 kB.

AngeloF

AngeloF
  • Full Members
  • 12 posts

Posted 10 February 2011 - 18:47

this is not the sense of what I said!
I known that a JPEG is smaller than a BMP.

With Paint, I created the first format of image that happened to me.
I hope to be clear

Bye

Edited by AngeloF, 10 February 2011 - 18:48.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 15 February 2011 - 10:44

Sorry, no offense intended.
Let's return to your real question: how to build a dialog like that.

AngeloF

AngeloF
  • Full Members
  • 12 posts

Posted 15 February 2011 - 11:58

My problem is:

I have to create an installation setup is this :

"SQL"
|---->"Engine"
|---->"SQL Management"
"Application"
|---->"Client"
|---->"Server"

I want using my bitmap in a my dialog with a treeview control with these features

What are your suggestions ?

Edited by AngeloF, 15 February 2011 - 12:31.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 16 February 2011 - 21:49

In Setup Design or Feature view, you can set up your feature tree as needed. Then use the CustomSetup dialog to display it.