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

LaunchAppAndWait issue


2 replies to this topic

harishv

harishv
  • Members
  • 25 posts

Posted 15 August 2003 - 00:54

Hi,

i have an app (Win32 Console application) that i launch (LaunchAppAndWait) during uninstallation. while this is executing, it creates a DOS prompt & stays there until the exe terminates. that kinda looks ugly!! Is there any way to push it to the background?

i tired this..

LaunchApp();
SdShowMsg();
delay(); //to let the app complete

but, this also does not get back the focus to IS!! any thoughts?

thanx
HV

Ozone

Ozone
  • Full Members
  • 77 posts

Posted 15 August 2003 - 14:12

On this site look under the InstallScript Samples \ External Programs and Shell \ hideappandwait.zip.
Download the zip file and use that script by Elihu Rozen.

I have used that script to run DOS programs during installations and it works really well. You never see the DOS frame...

harishv

harishv
  • Members
  • 25 posts

Posted 15 August 2003 - 15:36

wow!! that is simply great. thanx for pointing it to me. it was bad on my part to overlook the samples before posting the question.

actually, i solved it the other way round. i modified the app from Win32 Console to Win32 App & NOT handle any messages.

thanx again
HV