Saturday, November 15, 2008

[THIN] Re: Published applications in a mixed OS environment

Better still, have a look at XLaunch from Ctrl-Alt-Del IT Consultancy - http://www.ctrl-alt-del.com.au/CAD_TSUtils.htm

 

Cheers,

Jeremy.

 

From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On Behalf Of Rick Mack
Sent: Thursday, November 13, 2008 6:30 PM
To: thin@freelists.org
Subject: [THIN] Re: Published applications in a mixed OS environment

 

Hi,

 

Kixstart is brilliant but seeing as Citrix use ctxhide to hide usrlogon.cmd so there's no reason that couldn't be used to hide any other batch file.

 

regards,

 

Rick


--
Ulrich Mack
Quest Software
Provision Networks Division

On Wed, Nov 12, 2008 at 4:08 AM, TSguy92 Lan <tsguy92@gmail.com> wrote:

My work around for launching CMD files / custom scripts for starting published apps is to use Kix as the app execution script engine.

www.kixtart.org

Very robust scripting language that you can generally port DOS commands directly into.

So, the Pub App calls a CMD / BAT file which then calls to the KIX script. Just in case you can also flag the console to hide within Kix.

Since you already have the logic worked out for the Batch script. You could probably do the following:

CMD / BAT script =

@echo off

IF /I "%PROCESSOR_ARCHITECTURE%"=="AMD64" (

kix32.exe C:\scripts\64bitexcel.kix

) ELSE (

kix32.exe C:\scripts\32bitexcel.kix

)

Exit /B 0


Kix script1 = "64bitexcel.kix"

SETCONSOLE="HIDE"
RUN "%ProgramFiles(x86)%\Microsoft Office\Office12\EXCEL.EXE"

Kix script2 = "32bitexcel.kix"

SETCONSOLE="HIDE"
RUN "%ProgramFiles%\Microsoft Office\Office12\EXCEL.EXE"


All that's needed for this, would be the Kix32.exe under C:\windows\system32 on any of the TS servers which might execute it.

It would be cleaner to convert the processor identity logic into the Kix script, so that you only need 2 scripts per app (CMD just calls to a single Kix script, which checks proc types, then runs correct app), but the above should at least get you going for testing this out.

HTH

Lan



 


Confidentiality and Privilege Notice
This document is intended solely for the named addressee.  The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you.

No comments: