Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Check program instance using afaria

2 posts in General Last posting was on 2010-07-12 09:10:07.0Z
Siva Posted on 2010-07-06 14:46:09.0Z
Sender: 17ea.4c3340cc.1804289383@sybase.com
From: Siva
Newsgroups: ianywhere.public.afaria.general
Subject: Check program instance using afaria
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4c3341b1.1805.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 6 Jul 2010 07:46:09 -0700
X-Trace: forums-1-dub 1278427569 10.22.241.41 (6 Jul 2010 07:46:09 -0700)
X-Original-Trace: 6 Jul 2010 07:46:09 -0700, 10.22.241.41
Lines: 19
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.afaria.general:274
Article PK: 17354

Hi

I was just wondering if there is a way in the service
manager of Afaria to check if a program instance is running
on a windows professional device.

Eg: To check if winword is running.

Just Briefly:
What I intend to achieve here is downloading a cab file and
executing it; before executing the cab file I have to check
if the previous version of the application which I am trying
to execute is being used. If it is being used then do not
execute the cab file.

Please advice.

Many Thanks
Siva


Siva Posted on 2010-07-12 09:10:07.0Z
Sender: 5ef1.4c3adbb2.1804289383@sybase.com
From: Siva
Newsgroups: ianywhere.public.afaria.general
Subject: Re: Check program instance using afaria
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4c3adbee.5efd.1681692777@sybase.com>
References: <4c3341b1.1805.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 12 Jul 2010 02:10:07 -0700
X-Trace: forums-1-dub 1278925807 10.22.241.41 (12 Jul 2010 02:10:07 -0700)
X-Original-Trace: 12 Jul 2010 02:10:07 -0700, 10.22.241.41
Lines: 23
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.afaria.general:277
Article PK: 658

Found a solution for this by writing a console app.

Thanks

> Hi
>
> I was just wondering if there is a way in the service
> manager of Afaria to check if a program instance is
> running on a windows professional device.
>
> Eg: To check if winword is running.
>
> Just Briefly:
> What I intend to achieve here is downloading a cab file
> and executing it; before executing the cab file I have to
> check if the previous version of the application which I
> am trying to execute is being used. If it is being used
> then do not execute the cab file.
>
> Please advice.
>
> Many Thanks
> Siva