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

Put installer as foreground process on Windows2000


1 reply to this topic

Christoph

Christoph
  • Full Members
  • 81 posts

Posted 10 October 2001 - 09:16

All,

I've a problem with launching installers on Windows2000. We have 3 different installers. One 'ParentInstaller' and two 'childinstallers' who are launched by the parentinstaller.  The 'parentinstaller' is on the foreground when running. When I call one of the childinstallers with the functioncall 'DoInstall', the childinstaller is never launched on the foreground. It is everytime running at the background of the parentinstaller. As user, you have everytime to do ALT-TAB to take a notice of the childinstaller.
I do not know how to manage this problem. I already tried to include to code 'SystemParametersInfo' out of the IS5/6 samples - External Programs and Shell section, but this doesn't work neither. Can anyone help me???

Regards,
Christoph.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 30 October 2001 - 23:34

Have you tired the following in the parent installer:

Disable(DIALOGCACHE);
Disable(BACKGROUND);
// call child setup
Enable(BACKGROUND);
Enable(DIALOGCACHE);