PDA

View Full Version : How to be sure, that all citrix servers are updated.



NewsArchive
08-09-2012, 01:38 AM
Hi!

I have a program, which is used of app. 1000 users on a citrix network
with 58 citrix servers.

We are making updates quite regularyly, unfortunately.
The IT department sends a message - Nobody should use the program from
17:00 to 18:00 on 09082012, but of cause, there is ALLWAYS some who
has the program open.

How to close them down first, and then install the program.

I think its something with a seperate 'Install program' containing a
'Check-in use files' followed by 'Terminate Active Application ' and
writing to a logfile to tell about there was some who did not close
down nicely.

Suggestions?

Best regards

Edvard Korsbæk

NewsArchive
08-09-2012, 06:51 AM
Tried this - Not very complicated!

Set Variable %EASYPLANINUSE% to FUNCTION:Detect Active
Application("easyplan.exe") [File Name]

Display Message Box "Program open = %EASYPLANINUSE%\nReturnex =
%_SB_R..." -- "Result"
If %EASYPLANINUSE% Equals "1" Then
Terminate Application ""C:\Program
Files\BBSOFT\EASYPLAN\EasyPlan.exe"" [Application File Name] [Gently]
Display Message Box "%_SB_ERRORCODE%" -- "Error"
End


Don't do anything....

The first message box returns a "1" for %EasyplanInUse% and blank for
%_SB_RETURNEX%

The second returns 603 for %_SB_ERRORCODE% (Program not running)

I have tried with and without "" in ""C:\Program
Files\BBSOFT\EASYPLAN\EasyPlan.exe""

What am i doing wrong?

>Edvard Korsbæk

NewsArchive
08-09-2012, 06:51 AM
Edvard,

>
> What am i doing wrong?
>

See attached screenshot. File Name specifies the name of the file WITHOUT
the path name.

Friedrich

NewsArchive
08-10-2012, 01:43 AM
Well, my customers too don't read the documentation (Properly)....

THANKS!

Edvard

NewsArchive
08-10-2012, 01:44 AM
the only guys who read thoroughly the documenttaion are all the F1
technical guys :oÞ

--
JP
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com