[THIN] Re: Launching two apps with one published app, can it bedone?

  • From: "Dirk Blose" <Dirk.Blose@xxxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Wed, 16 Apr 2003 13:52:07 -0400


Try this.

@echo off

e:
cd \Program Files\Microsoft Office\Office
START Outlook.exe

cd \Program Files\project1
START project1.exe

EXIT

Dirk Blose, MCSE, CCA
Lead Technical Analyst
(919) 765-4791
dirk.blose@xxxxxxxxxx

>>> MarioV@xxxxxxxxx 04/16/03 01:43PM >>>

Hey dirk
Tried that originally, but didn't work.  Still took your advice and =
re-added
the START command.  Still no go.

Here is what I'm using:
--------------------------------------
@echo off

START
"E:\Program Files\Microsoft Office\Office\Outlook.exe"=20

START
"E:\Program Files\project1\project1.exe"=20

EXIT

--------------------------------------------

If I remove the first START command outlook opens.

If I close outlook, the second app will start.  Interesting.



-----Original Message-----
From: Dirk Blose [mailto:Dirk.Blose@xxxxxxxxxx]=20
Sent: Wednesday, April 16, 2003 10:33 AM
To: thin@xxxxxxxxxxxxx=20
Subject: [THIN] Re: Launching two apps with one published app, can it be
done?



You need to use the start command to start them so that the script will =
=3D
continue.

Dirk Blose, MCSE, CCA
Lead Technical Analyst
(919) 765-4791
dirk.blose@xxxxxxxxxx=20

>>> MarioV@xxxxxxxxx 04/16/03 01:30PM >>>

Further testing shows that if I close the first app, the second will open.

-----Original Message-----
From: Mario Villarreal=3D20
Sent: Wednesday, April 16, 2003 10:27 AM
To: 'thin@xxxxxxxxxxxxx'=3D20=20
Subject: [THIN] Re: Launching two apps with one published app, can it be
done?


Thanks again magnus...

I tried your solution=3D20
But only one app opens and the cmd box stays open..

Something I'm missing?  I'll also try the wtslaunch program that Jim
recommended.




-----Original Message-----
From: Magnus [mailto:magnus@xxxxxxxx]=3D20=20
Sent: Wednesday, April 16, 2003 9:42 AM
To: thin@xxxxxxxxxxxxx=3D20=20
Subject: [THIN] Re: Launching two apps with one published app, can it be
done?


Sorry I screwed up the script try this

@echo off
"D:\Apps\Program Files\Microsoft Office\Office10\Outlook.exe"
"D:\Apps\Program Files\MyApp\Myapp.exe"
Exit

That should work for you

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On =3D
Behalf
Of Mario Villarreal
Sent: Wednesday, April 16, 2003 12:33 PM
To: 'thin@xxxxxxxxxxxxx'=3D20=20
Subject: [THIN] Re: Launching two apps with one published app, can it be
done?



Thanks Magnus,=3D20
I gave your script a go, but I just get the failed to start application =
=3D
pop
up. =3D20

I tried to run the batch file in a citrix session but I just got command
windows.

My knowledge of scripts and batch files is minimal.  In fact what I do =3D
know
I learned from this list.

Thanks
Mario



-----Original Message-----
From: Magnus [mailto:magnus@xxxxxxxx]=3D20=20
Sent: Wednesday, April 16, 2003 9:14 AM
To: thin@xxxxxxxxxxxxx=3D20=20
Subject: [THIN] Re: Launching two apps with one published app, can it be
done?


Publish a batch file that launches both your app and outlook=3D20

@echo off
Start (path of outlook.exe)
Start (path of yourapp.exe)
Exit


Something like the above

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On =3D
Behalf
Of Mario Villarreal
Sent: Wednesday, April 16, 2003 11:53 AM
To: 'thin@xxxxxxxxxxxxx'=3D20=20
Subject: [THIN] Launching two apps with one published app, can it be done?


Hello
I'm trying to launch outlook at the same time an in house program is
launched.  The trick is that we need it be in the same session.  We're
trying to avoid giving this customer a full desktop.  Our in house app =3D
needs
to view outlook from within the same session to send reports via email.  I
published outlook and our in house app, but still could not email from =3D
with
our inhouse app.  We are using crystal reports to email from our in house
app but it cannot see the email client running as a separate published =3D
app.
Am I stuck with giving the customer a desktop? Thanks for your input and
advice Mario
=3D20
System Specs: W2K SP3, MF1.8, NT Domain, Exchange 5.5, Crystal Reports 8.5


********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services=3D20
and Citrix Metaframe.
http://www.thinprint.com/=3D20=20
**********************************************************

For Archives, to Unsubscribe, Subscribe or=3D20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm=3D20=20

********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services=3D20
and Citrix Metaframe.
http://www.thinprint.com/=3D20=20
**********************************************************

For Archives, to Unsubscribe, Subscribe or=3D20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm=3D20=20
********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services=3D20
and Citrix Metaframe.
http://www.thinprint.com/=3D20=20
**********************************************************

For Archives, to Unsubscribe, Subscribe or=3D20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm=3D20=20

********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services=3D20
and Citrix Metaframe.
http://www.thinprint.com/=3D20=20
**********************************************************

For Archives, to Unsubscribe, Subscribe or=3D20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm=3D20=20
********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services=3D20
and Citrix Metaframe.
http://www.thinprint.com/=3D20=20
**********************************************************

For Archives, to Unsubscribe, Subscribe or=3D20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm=3D20=20
********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services=3D20
and Citrix Metaframe.
http://www.thinprint.com/=3D20=20
**********************************************************

For Archives, to Unsubscribe, Subscribe or=3D20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm=20

********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services=20
and Citrix Metaframe.
http://www.thinprint.com/=20
**********************************************************

For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm=20
********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services=20
and Citrix Metaframe.
http://www.thinprint.com/=20
**********************************************************

For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services 
and Citrix Metaframe.
http://www.thinprint.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: