Desktop Application Distribution with Files in ZFS 6.5

I'm trying to do a Desktop Application Distribution with a simple NAL and
can not get the files associated with the NAL to copy to the subscriber
server. I am using ZFS 6.5 SP1. I am using a mapped drive letter in the NAL
and have chosen "Keep the same source paths for the replicated objects" in
the distribution. I also have defined a variable in the service location
package as 'drive letter'='volume name' and associated this policy with the
container that the distributor and subscriber are in. I checked the box in
the subscriber's variable property to use this policy. The documentation
also says to use a SOURCE_PATH macro and 'Package Source List' to define the
mapped drive but I am unsure how those should be defined. Should they be
just a drive letter or the entire path to the applications files? Also, I'm
not sure if anything else is need to make this work.
Any Ideas of what I might need to do to get this to work?
Thanks!
John

Graham,
Thanks for the suggestions. I thought this type of distribution still
worked in Zen 6.5. It used to work great for us under Zen 6 and I hadn't
seen anything that said it didn't work with Zen 6.5. We'll probably use a
second distribution for the short term and then try one of your other
suggestions or see if we can find another way that works better.
John
"Graham Mitchell" <[email protected]> wrote in message
news:[email protected]...
> Depends on the kind of app you're trying to distribute... If it's a simple
> one ie you run something like setup.exe in a directory of files, then the
> files will NOT replicate out. If it's an MSI you're trying to distribute,
> even one with a file of support files (like say office), these WILL
> replicate out. Unfortunately, this is working as designed. You'll also
> find
> that file rights are NOT copied out yet either...
>
> There are a couple of ways round it... One is to do a seperate file
> distribution object to copy out the needed files/directories - I think
> this
> is messy, as you need to have 2 distributions for each application.
>
> You can use the repackager that comes with Zen to repackage the files into
> an MSI and use that to install the application on the workstations. This
> will replicate out fine.
>
> Another way, and they way we're starting to look at doing it, since it
> resolves some issues with workstation associated installs, is to have the
> application object copy all the files from the server onto the local
> workstation and run the install from there. To do that, you need a
> SOURCE_PATH pointing to the server distribution point, and another
> variable
> (we call it INSTALL_PATH) pointing to somewhere on the local workstation
> (C:\Install\MS\Office2k3). We then run the install from this location.
> Since
> all the files are mentioned in the distribution portion of the application
> object, when we distribute the application out to the remote servers, all
> the required files are copied out too.
>
> To do this manually for more than a couple of files is a royal pain in the
> ass... however, there's a makeaxt.pl PERL script available on
> coolsolutions
> that does most of the donkey work for you - give it the source and
> destination directories, and it will make an AXT file you can import. The
> only thing we have to do is to hit it with an editor, and replace the
> absolute paths (C:\Install\MS\Office2k3) with the variable we want to use
> (INSTALL_PATH).
>
> We're actually doing this, combined with the MSIs at the moment, since
> we're
> doing an image/application refresh for WinXPSP2, so we're rebuilding all
> the
> apps this way.
>
> If anyone is doing it differently, or has other suggestions, I'd love to
> hear...
>
>
>
> Graham
>
>
>
> "John Malinowski" <[email protected]> wrote in message
> news:[email protected]...
>> I'm trying to do a Desktop Application Distribution with a simple NAL and
>> can not get the files associated with the NAL to copy to the subscriber
>> server. I am using ZFS 6.5 SP1. I am using a mapped drive letter in the
> NAL
>> and have chosen "Keep the same source paths for the replicated objects"
>> in
>> the distribution. I also have defined a variable in the service
>> location
>> package as 'drive letter'='volume name' and associated this policy with
> the
>> container that the distributor and subscriber are in. I checked the box
> in
>> the subscriber's variable property to use this policy. The documentation
>> also says to use a SOURCE_PATH macro and 'Package Source List' to define
> the
>> mapped drive but I am unsure how those should be defined. Should they be
>> just a drive letter or the entire path to the applications files? Also,
> I'm
>> not sure if anything else is need to make this work.
>>
>> Any Ideas of what I might need to do to get this to work?
>>
>> Thanks!
>>
>> John
>>
>>
>
>

Similar Messages

  • Getting path to application associated with file type

    Hello,
    I'm looking for a platform-independent way to get path to application associated with given file type. Desktop API introduced in JSE 1.6 seems to do this, but it only lanuches the app.
    Any suggestions will be apprecieted

    Okay then, how can I open the file in it's associated
    application AND get the Process object of app's
    instance?If it doesn't bother you that the app will only work on windoze, then you can use the shell "start" command on the file.
    Process proc = Runtime.getRuntime().exec(new String[]{"cmd", "/C","start",filePath});However waitFor() will only wait for the process to be launched, not completed. Since your program doesn't know what Windoze will choose to launch, this makes sense.

  • Associating Application Icons with Files

    I just moved about a Gigs worth of files over from my G4 to my Wallstreet. The .pdf files do not obtain the Adobe Acrobat Reader icon until I actually open the file. Is there a way to change all the files icons at once without opening them all?

    Hi, Kirk -
    OS 9 uses embedded File Type and Creator codes in order for Finder to know how to handle a file when it is double-clicked, and to know what icon to use for it. OSX does not use those codes; it may be that they are not being added to the file until the file has been opened by the program.
    There are some utilities available which can be used to change those codes, and may be able to fix those files. The one I'd recommend is FileBuddy.
    With FileBuddy you can create a droplet, a small mini-app designed to change file characteristics in a specified way - you can then drop a folder full of files onto the droplet, and all files in the folder will be changed to match the settings in the droplet.
    To use FileBuddy for that, you will first need to acquire the correct File Type and Creator codes. Drop a 'good' file, one with the correct icon, onto FileBuddy's icon. FB's Get Info window will open. At the bottom center of that window will be a couple of data blocks containing the File Type and Creator codes for that file. Write those codes down - note that all File Type and Creator codes are exactly four characters in length, and may contain numbers and special characters (such as a space) in addition to letters; and that the characters are case sensitive (upper and lower case are important). Close that window.
    Now drop one of the generic files of the same kind onto FileBuddy. In FB's Get Info window, change the File Type and Creator codes to match the ones you copied previously. Once you have done so, the droplet button should become active - it's the leftmost of the row of samll icons near the top of the Get Info window. Click it, name the droplet something appropriate, and complete the creation of the droplet.
    Then test it with a copy of one of the generic files. If it works okay, you can then drop an entire folder of such files onto the droplet for mass fixing.
    Be sure you do not have a stray other-kind of file in that folder, because all files in the folder will be changed to match the settings in the droplet.
    For future importation of files, try adjusting the file/program linkages in the File Exchange control panel, particularly those in the PC Exchange section; and the similar settings in the Internet control panel (Advanced tab > File Mappings). I'm not sure which of those settings will be used by the OS when files are brought in by TCP/IP.

  • Desktop application distribution on windows

    Hi everybody.
    My app configuration files are formed by:
    - all-users configuration xml files (modifiable by admin)
    - user specific configuration (modifiable by each user)
    If I should install it on windows, is there some automated software/script to save different config files in right places?
    Thanks in advance
    Agostino
    Edited by: agostino75 on Sep 2, 2010 5:18 AM

    No, you can't do that because Java is platform independent.
    If you want to interact with your OS, you must create your own native interface (JNI).
    Denis

  • Web application and desktop application?

    Hi everyone,
    I am new to this platform.I have a basic doubts that whats the difference between developing application in flex as a web application and desktop application from programming point of view?Can we use same code in both cases?
    Please guide me....
    Thanks

    Hi and welcome,
    The main difference between a web application and a desktop application is that web applications do not have access and can't manipulate your local system ( you can't open a window that displays all your local files, you can't delete, rename, edit local files and so on ). Obviously, this is just one difference, there are many more ( the best would be if you google for "web aplication vs desktop application" because the same rules apply for 99% if not all the platforms you can find out there ).
    Desktop applications can have full control of your local system ( obviously, we have to take in consideration the platform we are using because since AIR is quite new in the desktop application field it is also more limited than other languages that have been used successfully to create desktop applications for years and year; like ce C# or C++ and so on ).
    Another important difference is that desktop applications usually need to be installed in order to function where on the other hand, web applications can run in the browser without you having to install the aplication you are about to view on your computer ( in some cases, like of the Flash and Flex platforms, you only require a "special player" that can display the content you are trying to access... for Flash and Flex applications you need the Flash Player installed for your browser ).
    So, before jumping into a project/platform you need to know your target. If you goal is to offer a fast, easy to access and no install required application to your users then you'll usually go with a web application. If your application needs to work with local files, maybe local databases, or it needs more control over the user's PC and so on, then you'll most likely go with a desktop application.
    With kind regards,
    Barna Biro

  • Need to avoid header When using GUI_DOWNLOAD with file type "DBF"

    Hi ,
    I am downloading internal table to excel on the desktop using GUI_DOWNLOAD with file type "DBF".
    Internal table I use do not have any header.
    But I do see the header in the downloaded file.
    It displays 1 row as " F1  F2 F3..ETC" heading for each column.
    Is there any variable we need to set to suppress header.
    Thank you,
    Kumar

    Hello Dilip,
    I tried using GUI_DOWNLOAD with FILE TYPE as "DBF", and i see the problem as mentioned. My question to you is:
    1. Why do you need 'DBF' format?
    2. Is it required to save the file as '.CSV'? Can you not try to save in '.XLS' file?
    Plz revert back.
    BR,
    Suhas

  • Htmldb page with 'File Browse' hang on submit change

    I have a htmldb page with 'File Browse' item. With File Browse empty, on pressing submit button with which has 'SQL UPDATE' action and returning to same page branch, the page hangs.
    It also happen on File Import page of htmldb application itself with File Browse.
    Anyone have the same problem or know why?

    I'm working with Sashisu on our problem and I wanted to give a few more details on what we've found.
    -We're using HTMLDB 1.6
    -The problem occurs only on pages with a file upload page item.
    -When clicking a link on one of the problem pages the browser will stick on retrieving the page for 1-2 minutes, then ultimately it will end in a page cannot be displayed error.
    -Sometimes the page will not hang and go directly to the page cannot be displayed error.
    -After encountering the error, clicking back to return to the page and then retrying the link will successfully load (and upload the file) the next page.
    -The problem only happens in IE 6.0. The submits work fine in FireFox.
    -Our development servers do not have this problem using the same HTMLDB code. The configuration between the servers on Development and Production is similar but not exact (we're working on finding the delta).
    -We did not have this problem on production until a recent code update.
    Thanks in advance,
    -John

  • Use of Shared Variables for data transfer from a RT traget to a desktop application

    Hi,
    I want to adopt the shared variables to share data in an existing distributed application comparable with the T3 Benchmark configuration in this document:
    [1] http://zone.ni.com/devzone/conceptd.nsf/webmain/5B4C3CC1B2AD10BA862570F2007569EF
    The current implementation uses a well tuned solution with RT FIFOs and TCP/IP communication with a desktop-PC which monitors and stores the data.
    The desktop application runs with a much slower execution rate than the TCL. So the TCP/IP packets are used to buffer the data with a package size dependent on the data send rate.
    To use the shared variables instead of this RT FIFO + TCP/IP implementation I need to read the shared vairable buffer at once each time the desktop application reads the shared variable.
    But according to this quotation from [1]:
    "With buffering, you can account for temporary fluctuations between read/write rates of a variable. Readers that occasionally read a variable slower than the writer can miss some updates."
    this seems to be impossible. Am I right?
    Are there any suggestions to circumvent this problem? Or are shared variables not made to share data between unsynchronized processes without data loss?
    Regards Till

    You can use the error-cluster to detect the end of your queue. The erroroutput of the shared variable will return a -2220 Warning, if it reads a value it has read already before. I attached a modified example and saved it for 8.2 I hope you can open it.
    Attachments:
    readbuffered82.zip ‏51 KB

  • Getting problem during deploying desktop application with JNLP File.

    Hi,
    I am developing one standalone (desktop) application in swing. I want to make one jnlp file that would be install on my computer as a client(suppose). When i am doing jav web start enabled after that making application descriptor. But when i am running a web browser where i have stored my html file. but it is giving me an error that codebase or something like this. Please tell me is there any other way to do this task. Please help me to do this. Is NetBeans ide is best way to do this. please help me.
    Thanks in advance.
    Manveer.

    >
    ...but it is giving me an error that codebase or something like this. ...>Try changing the JNLP file to 'something like that', that might work.
    In case it does not, I provide a tool called JaNeLA that will provide a lot more specific error message(s) than 'something like this'.
    Really, I cannot see you getting better help than on some of your other recent threads, with vague, unspecific error messages, and without putting the JNLP file and other relevant information.

  • How to change 'always open with' file settings with parallels desktop 4?

    Hi all.
    here's my problem; parallels desktop 4 has hijacked file association on some of my file types and wont let me change them back to their mac equivilants
    Accidentally clicking on one of these parallels associated apps causes the virtual machine to boot up, slowing my pc down dramatically and causing me grief.
    Setting certain files to 'always open with' the equivilant mac app [eg. trying to get text documents to open with textedit as oppose to xp's notepad, hasn'thelped]
    any suggestions ? - i am stumped
    Thanks!

    Delete Windows Applications folder in Virtual Machine folder (it's from Mac Side); disable Shared Applications from Configuration Editor.
    ---or---
    ...other permanent solution to try on Mac side
    1 select a file in your finder (e.g. .doc)
    2 press <cmd>
    3 go to 'open with' option...
    4 select the correct application (e.g. Microsoft Word)
    5 click 'change all' - done...go try
    When Microsoft Word is already selected, change that to another app, click 'change all', then set it back to Microsoft Word again and once more click 'change all'.
    If still no joy, try strong language....

  • Access to local file system for desktop application

    As a .NET and VBA developer/user, I have found Flash to be a
    great RAD development solution for certain desktop app. projects...
    if only actionscript could access the local file system and talk to
    local (preferably non-XML) data-sources!
    I'm not familiar with the latest version of Flash CS3 &
    Actionscript 3.0
    Is there any reliable way Flash CS3 can be programmed to access
    the user's local file system - that is, as a stand-alone desktop
    application????

    Thanks for the response.
    I hope Adobe catches a clue ... with Microsoft's Windows
    Presentation Framework and the new ability of easily implementing
    Flash-like animation on .NET apps, Adobe is going to have to get
    busy. Stand-alone desktop apps still rule (as opposed to web-based)
    in the business world, and they are driven by data. If Flash was
    capable of easily talking to local data-sources (Access, Excel,
    Text etc.), it could significantly increase its adoption as a
    widely used business RAD tool. The Flash IDE is great and rivals
    any Microsoft RAD IDE + users love the slick Flash GUIs.

  • Testing for applications associated with a file type

    Dear contributors,
    while trying to open a simple *.txt file via java.awt.Desktop.open(File)
    the IOException is thrown. According to Javadoc there is "no associated
    application or the associated application fails to be launched" in this
    case. Interestingly the Desktop class does not provide methods to test
    for particular file type registration, just for the "support" of a generic
    Desctop.Action. Colud you please illuminate how to check, whether a file
    extension / file type / mime type has an associated application in a platform
    (in)dependent way at least for "opening" ?
    OS: Linux, 2.6.24-22-generic, x86_64
    JDK: 1.6.0_07, 64 bit
    Many thanks
    Jaro Pullmann

    If you make the call and an exception is thrown, then there is not application associated with the file type--otherwise I believe you need to do some registry work if you do not want a pretest.

  • Open Application with files arguments

    I want to create a Finder Service thats launch 7zX Application passing the selected files and folder as parameters. 7zX application works dropping files/folder on his icon, can I simulate that action with appleScript?
    7z compress algorithm can be called from terminal, but I what to use the 7zX graphical interface.

    Camelot wrote:
    You should be able to do it via something like;
    tell application "Finder" to open file "path:to:your.file" using application "7zX.app"
    Thanks to Reply.
    I tried that Script:
    set fileName to "/Users/mario/Desktop/aew.PNG" as POSIX file
    tell application "Finder" to open file fileName using application "7zX"
    but doesn't work.
    7zX send a pop up with message
    This software only works through drag & drop.
    and AppleScript Editor with Error
    error "Finder got an error: Can’t make application \"7zX\" into type application file." number -1700 from application "7zX" to application file
    To test that idea I changed 7zX to Preview but AppleScript Editor send me the same Error.
    (Sorry about my english)
    Message was edited by: MarioBajr

  • We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double

    We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double clicked in Mac 10.6.7 at out clients location, its not opening. For your information the client is able to open this same application by double clicking on index.swf file. The main problem is that client is not able to open the application using index.app file at their office whereas we are able to do so at our office. Can anyone give some suggestions to sort this problem?

    The most common reason is different versions of Flash, or different versions of web browsers used.  Some users may elect to not have Flash installed at all because of the processor overhead of Flash.  If you are going to make an application for a client, check what operating system and browser versions they are using first.  Then determine if a stand alone application is required, or if they have the necessary plugins to run specific browser enhanced code.
    P.S. MAC is an acronym for Media Access Control.  Mac is the shorthand for Macintosh, the operating system and computers made by Apple Inc.

  • How to add a CSV file to a desktop application and access it?

    I'm writing a desktop application for looking up phone numbers (this numbers are stored in a .CSV file). Where should I put the file in the project and how to access it? I intend to put it in the project and open it in a buffered reader!
    Thanks!

    The best place to put application data is probably user.home, as described in the [Store Application Settings and Components|http://sdnshare.sun.com/view.jsp?id=2305] post at SDNShare.
    If those listings are still messed up, try these alternate renderings of [AppStore.java|http://pscode.org/fmt/sbx.html?url=/test%2FAppStore.java&col=2&fnt=2&tab=2&ln=0] & [AppStoreDemo.java|http://pscode.org/fmt/sbx.html?url=/test%2FAppStoreDemo.java&col=2&fnt=2&tab=2&ln=0].

Maybe you are looking for