Thats a keeper. : ) Jim Kenzig Blog: http://www.techblink.com On Mon, Nov 10, 2008 at 12:08 PM, Jeremy Saunders < Jeremy.Saunders@xxxxxxxxxxxxxx> wrote: > Personally, I've not tried mixing architectures before in the same > published application, and I would suggest that it's not a recommended > practice, but you could get it to work a different way. > > > > Change your published app to launch a .cmd file. The .cmd file would make > the decision on the location of the application based on the > %PROCESSOR_ARCHITECTURE% variable. Something like this… > > > > @echo off > > IF /I "%PROCESSOR_ARCHITECTURE%"=="x64" ( > > "%ProgramFiles(x86)%\Microsoft Office\Office12\EXCEL.EXE" > > ) ELSE ( > > "%ProgramFiles%\Microsoft Office\Office12\EXCEL.EXE" > > ) > > Exit /B 0 > > > > Cheers, > > Jeremy. > > > > *From:* thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] *On > Behalf Of *George Wasgatt > *Sent:* Tuesday, November 11, 2008 1:50 AM > *To:* thin@xxxxxxxxxxxxx > *Subject:* [THIN] Re: Published applications in a mixed OS environment > > > > We upgraded our farm to Presentation Manager 4.5 and added a new server > running Windows 2003 Standard x64. We want to load balance across the > entire farm so we loaded our standard set of applications on the server. We > immediately ran into a problem – some of the applications were loaded into > the subdirectory c:\program files (x86) rather than into c:\program files > like they were on the 32 bit servers. > > > > I thought I could just change the published application to something like > this: > > > > Command line: > > "%programfiles%\Microsoft Office\Office12\EXCEL.EXE" > > > > Working Directory: > > %programfiles%\Microsoft Office\Office12 > > > > After testing this it starts OK on the 32 bit servers but fails on the 64 > bit server with this error message (note: I named the published application > Excel 64): > > > > "Excel 64" Failed to start. > > The Citrix server is unable to process your request. > > Please try again. If the problem persists, contact your administrator. > > > > But, if I hit OK on this message and launch the application again it starts > just fine. > > > > George Wasgatt > > Network Administrator > > ProHealth Physicians > > 4 Farm Spring Rd. > > Farmington, CT 06032 > > Phone: 860-284-5264 > > > ------------------------------ > *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. > ------------------------------ >