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

Keeping dialog while promting


7 replies to this topic

jive02

jive02
  • Members
  • 40 posts

Posted 09 April 2002 - 14:05

Hi,

I would like to ask the user for a serialcode the very moment
he presses Next in the sdWelcome dialog. The problem is that
I cannot do that because the dialog has closed when I allowed
to call my function. So what I need is to I guess have my own sdWelcome() and don't close the dialog right away uppon the Next-click. I looked for SdWelcome() in the include/ directory but couldn't find it.. Has someone got a clue
how to do this?

/jonas
(sorry if Im not making sense but Im doing like 100 thing a once right now and delivery is tomorrow)
- jonas

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 April 2002 - 19:14

I'm not sure I understand what you want, but maybe
Enable(DIALOGCACHE)
is what you want

jive02

jive02
  • Members
  • 40 posts

Posted 10 April 2002 - 09:22

This didn't seem to help me, plus I thing it's enebled by default
and I hadn't disabled it. However, I can see how you thought it might have worked.

I'll try to explain my situation better. My installation is not in
fullscreen and when I popup i.e. a Messagebox I kind of feel
like Im not IN the installation anymore since a messagebox is
all I see. So I wanted to find a way to display the messagebox
with the IS dialog still behind it. Using DIALOGCACHE keeps it
for a splitsecond or two but that isn't enough. It should stay
while the MessageBox is there. Do you know a way to acomplish this?
- jonas

Fouad Rziki

Fouad Rziki
  • Members
  • 43 posts

Posted 10 April 2002 - 13:28

i dont know if this solves your problem, but you can check it out.

greetings fouad

"Grant setup the right to set the foreground window
A process can set the foreground window if it currently is the foreground process or if it was started by the foreground process. Here is a program that will launch your setup and grant the launched program the right to set the foreground window to put itself at the top of the Z order. This right is granted only to your setup program, not to other processes.

AllowSetForeground.zip    Written by Joe Nathanson"


source : http://www.installsi...-bin...._os.htm

jive02

jive02
  • Members
  • 40 posts

Posted 10 April 2002 - 14:05

Thank you, but this doesn't seem to do what I want.. :)

Hmm, I try to put my question like this. Would it be possible
to find the code for SdWelcome(), copy paste it to my script,
name is MySdWelcome() and do the stuff I want from inside
it. If so, where can I find the SdWelcome() implementation?
- jonas

Lucky

Lucky
  • Members
  • 119 posts

Posted 10 April 2002 - 14:39

No, I don't think you will be able to get your hands on the source code. Basically you can write your own Welcome dialog, or change the existing one via  Moonsea's callback method.

Blake Miller Wonder

Blake Miller Wonder
  • Members
  • 121 posts

Posted 10 April 2002 - 17:49

If you can get your hands on a copy of Installshield 5.5, then you can get your hands on the source code.  I know because I just checked my install of IS 5.5 and SDWEL.RUL has the source code for SDWelcome.

However, I have experienced trouble getting most InstallShield dialogs other than a message box or a cancel form to come up while any SD dialog was currently displayed.

If you run into such trouble, then I recommend that you place your special dialog code into a DLL and thus separate its handling out from that of the InstallShield internal dialog handler.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 10 April 2002 - 19:30

Aa far as I know IS 5.5 is on the IS6 CD-ROM (at least it used to be there). The dialog source code my need some modification to work properly with IS6.

For the Welcome dialog in particular you are lucky: In your IS6 program directory there should be a sub folder Examples\Example Custom Welcome Dialog