Command Line Parameters for Run Application.vi in the LVWUtil

I am trying to use the "Run Application.vi" located in the LVWUtil.llb.  I am sending a command line similiar to this:
"C:\WINXP\system32\msiexec.exe" /i "C:\qc data\ZVMS Program Updates\Application Installer\install.msi"
this command line works from the Start>Run dialog but the Run Application.vi only sees the beginning of the line "C:\WINXP\system32\msiexec.exe" so it opens the windows installler but does not go to the install.msi file and run it.  Does anyone know the correct command line formats for the Run Application.vi to run the entire command line?
Thanks,
BethV

Hello BethV,
I downloaded the LVWUtil32.zip file from the Windows API Function Utilities (32-bit) for LabVIEW example program.  In that zip file, is a library entitled Winevent.lib, which includes the Run Application.vi.  When you used this VI, I believe the string you passed in as a input had too many quotation marks.  Namely, you do not need quotes around the msiexec.exe call.  I passed the following string into the Run Application.vi and got the expected results:
C:\WINDOWS\system32\msiexec.exe /i "C:\mymsi.msi"
Please let me know if it helps.
Message Edited by Wendy L on 10-21-2005 02:34 PM
Wendy L
LabWindows/CVI Developer Newsletter - ni.com/cvinews
Attachments:
RunApplication.GIF ‏2 KB

Similar Messages

  • Command line parameters for automator?

    I'm trying to setup a cron job to so that every morning at 8 am "New Mail.workflow" will open and run. I'm able to get it to open but I was wondering if there were command line parameters for Automator that could open AND run a workflow file? Ideally I'd like it to close after running, but I'll worry about that later. Thanks in advance.

    The preferred way is to save your workflow as an application and then call usr/bin/open on it. If for some reason you must have the workflow run inside of Automator (not self-contained) then you're looking at some quality time with man osascript. As it happens Apple has removed even the need for Cron for most users. A click to File -> Save As Plug-In -> for iCal handles it from start to finish.
    Edit: I forgot to mention that Automator has its own simple command line utility for running *.workflow files. Check out man automator

  • Command line parameters for al_engine.exe

    If you go to a command line window on a DS server and type al_engine.exe with no parameters it prints "Usage" information.  Some of the parameters it mentions are known to the community (like -XX, -XI, etc).  However there are some which sound pretty interesting, but I can't find any information or examples how it should be used.  Examples:
    -L<list of value> : List of Object Labels from UI (separated by , or ; or space) to filter.
    -Je<XML file> Execute the Installation scenario defined in XML file.
    -jd"datastore delta file in quotes>" : Modify datastore values using "file"
    -Jf, -Ja, -We,  and many more.
    I am particularily interested in -Je functiohnality - it sounds like it can be used to automate deployment.  I am using import/export options to do some automation, but real automation would include deletion of some objects, adding jobs to projects, etc.
    Can anybody help with the documentation/examples?

    The preferred way is to save your workflow as an application and then call usr/bin/open on it. If for some reason you must have the workflow run inside of Automator (not self-contained) then you're looking at some quality time with man osascript. As it happens Apple has removed even the need for Cron for most users. A click to File -> Save As Plug-In -> for iCal handles it from start to finish.
    Edit: I forgot to mention that Automator has its own simple command line utility for running *.workflow files. Check out man automator

  • Command Line Parameters for spotify.exe? (Windows 7)

    I've been trying to use Windows Speech Recognition to open music. The problem is, the WSR Macros only open the executable then ask you if you want to run the program with command-line parameters. What I want to do is say the album or the artist then have Spotify open and play that artist/album; I can't do that until I figure out how to open spotify with parameters, if there are even any. Thanks for your help. (I also know how Spotify has had multiple suggestions for this to be integrated in the application itself, but I'm trying to just use Windows Speech Recog)

    Hi,
    I found the Script at the Task schedulder /libary/ Microsoft/defrag
    There was some discussion of this topic here:
    https://social.technet.microsoft.com/Forums/windows/en-US/7fc46461-daf5-4004-b1a7-ca645e370ee5/defrag-on-ssd-the-volume-system-reserved-was-not-optimized-because-an-error-was-encountered-the?forum=w8itprogeneral
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Using process manager to get command line of a running application

    hello,
    i'm currently using the process manager framework to get a list of current running processes on the machine. i would like to get the command line to display to the user. i can see how to get the path to the executable file. i.e. /Applications/AppRunning however i'd like to get the full command line and im either missing it from the documentation or not seeing the links to get that information. so i want to get /Applications/AppRunning -c someoption -f another option. can anyone recommend a function to assist me or if im using the wrong API to get the information i am looking for can someone recommend the correct API?
    thank you very much.

    musikit wrote:
    thank you very much. you have been more then informative about this. i'll have to check out the kernel queues and events api you mentioned. i've never really digged this far into a unix style OS before. it's pretty interesting. it seems like EVFILT_PROC is what i want to get process starts/stops.
    I've never done this either, so I'm quite sure I'm missing some big things here. Some other things that might be handy are dtrace and ptrace. I strongly suspect that there is some really easy way to do it that I don't know about. You might try searching on the Apple developer mailing lists.
    at the end of the day though i still need to be able to retrieve the command line of a running executable. 'ps' can do it so i'm assuming there is a programatic way of doing it. is the mac 'ps' command source code online anywhere that i can see what it's doing?
    I don't know about ps. There are a number of Mac applications that do things similar to what you propose. Marcopolo is open-source and can detect when applications are launched.
    i have looked at the linux procps package however it relies on the procfs which mac does not have.
    Amit Singh wrote a MacFUSE-based procfs for the Mac. You can look at the source code to that, but, to quote Amit "the MacFUSE version of procfs makes heavy use of the Mach programming interfaces". Good luck with that. Still, there might be some helpful information in that link.

  • Command line parameters for OMBPlus?

    Hi,
    Is it possible to pass command line parameters to TCL scripts running in OMBPlus.sh, and if so, can someone provide an example?
    I'm able to use the argv0 variable to get the script name itself but not sure how to get any other additional parms...
    Thanks,
    Jim

    Jim,
    If you are building command-line scripts to automate OMB+ commands, there is another factor you should be aware of. If your script errors out cleanly, the OMBPlus.sh does NOT pass this back to the shell. The return code is evaluated within OMBPlus as the return from a "source" command and then OMBPlus exits normally.
    For example:
    #file test.tcl
    return -code error
    Unix/shell> OMBPlus.sh test.tcl
    Unix/shell> echo $?
    0What I do to pass an error state back to the shell is to create a flag file in my script if exiting due to error. My shell script deletes this file prior to running the script and then tests for it after the run as part of the conditional logic
    Function in tcl file:
    #Get location where this script installed
    #This variable is set at the top of the script.
    set theScriptDir  [ file dirname [info script]]
    #If we want to bail in the script at any point we call exit_failure with an appropriate error message
    proc exit_failure { msg } {
       global theScriptDir 
       set ERRFLAGFILE "$theScriptDir/ers_owb_import.error"
    #rollback any uncommitted work
       OMBROLLBACK
    #Log the error and exit
       set fout [open "$ERRFLAGFILE" a+]     
       puts $fout "Error:-> $msg"
       close $fout
       # return and also bail from calling function
       return -code error
    }And my shell script does something like:
    cd ${JOB_DIR}
    rm -f ers_owb_import.error 2>/dev/null
    echo \\nBegining Uninstall of OWB Project
    ./OMBPlus.sh ${JOB_DIR}/my_tcl_Script.tcl
    if [ -f ${JOB_DIR}/ers_owb_import.error ] ; then
          echo \\nERROR - SCRIPT FAILED
    else
         echo \\nScript Succeeded.
         # script logic continues....
    fiCheers,
    Mike

  • Adobe DNG Converter - command-line parameters for new 1.4 features

    Adobe DNG Converter - I need to know what the command-line parameters are for the new DNG-1.4 options (e.g. lossy compression).
    Last I checked, there was no updated documentation released - would somebody please help?
    Rob

    By inspecting strings in the exe file using ProcessExplorer (MS SysInternals), I found these command-line switches for controlling lossy compression:
    -lossy
    -size
    -count
    A D O B E
    Adobe: please take a moment and update the command-line documentation - thanks.
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/dng_ commandline.pdf
    or, if there is another that is updated - do tell...
    Rob

  • Command Line Parameters for Silent Install with Status for BI4.0 Products

    For the XI3.1 product installations, which clearly leveraged MSIEXEC installation files, it was possible to use the /qb+ command line parameter to trigger a silent install which showed the progress of the installation with a final prompt to acknowledge the completion of the installation.
    For the new BI4.0 installation package, it's not clear how to trigger a silent installation which also shows the installation progress.  The installation guide describes using -q in the command line to run a silent installation, or leveraging a response.ini file to trigger a silent install, but in neither case does it show how to modify the silent installation command to enable a display of the installation progress.
    Does anyone know the syntax, either command line or embedded in a response.ini file, to trigger a silent installation for the BI4.0 products which ALSO shows the progress of the installations?
    Thanks,
    Josh

    Yes, I've tried the same switch that I used for the XI3.1 installations, namely "/qb".  In XI3.1 I was able to use this switch either directly in the MSIEXEC command line or in the Response.ini file as "QUIET=/qb".  In either case, this switch resulted in a silent install that showed a progress bar window for the installation, completing with a confirmation prompt indicating that the installation had completed.
    Neither approach works with the BI4.0 installation packages.  My suspicion is that SAP has switched to a different installation engine as I can't find the typical .msi installation files that would indicate this is a MSIEXEC installation.  I'm hoping someone knows what type of installation engine is being used and what the switching syntax is for silent installs. But it can't be a completely transparent silent install (I know how to do this); it must provide an option to show an installation progress bar.
    Thanks,
    Josh

  • New Command-Line Parameters for defrag.exe?

    Hi,
    what means the Dollar sign
    at Task-Scheduler, under Scheduler/Library/Microsoft/defrag/ 
    %windir%\system32\defrag.exe -c -h -o -$
    Is it a new parameter? Which function has it?
    Thanks in advance.

    Hi,
    I found the Script at the Task schedulder /libary/ Microsoft/defrag
    There was some discussion of this topic here:
    https://social.technet.microsoft.com/Forums/windows/en-US/7fc46461-daf5-4004-b1a7-ca645e370ee5/defrag-on-ssd-the-volume-system-reserved-was-not-optimized-because-an-error-was-encountered-the?forum=w8itprogeneral
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Argument "10.2.8.39 c/ 1435.Process" for option "connection" is not valid. The command line parameters are invalid.

    Hello,
    I am running a sql job which runs SSIs pakcage imported from Integration Service Sever..
    it give me this error.... the server is :10.2.8.39 and the database is process
    how can I fix It? 

    Hello Arthux ,, thx alot for your help,,, I run the job again and this time it gives me this error ??
    Date,Source,Severity,Step ID,Server,Job Name,Step Name,Notifications,Message,Duration,Sql Severity,Sql Message ID,Operator Emailed,Operator Net sent,Operator Paged,Retries Attempted
    11/28/2011 13:58:09,SSISScoreCardsSDM,Error,0,OPLINKDEVINTRA\OPLINKDEVINTRA,SSISScoreCardsSDM,(Job outcome),,The job failed.  The Job was invoked by User LINKDOTNET\michael.philip.  The last step to run was step 1 (SDM).,00:00:01,0,0,,,,0
    11/28/2011 13:58:10,SSISScoreCardsSDM,Error,1,OPLINKDEVINTRA\OPLINKDEVINTRA,SSISScoreCardsSDM,SDM,,Executed as user: LINKDEV\OPSQLADMIN. Microsoft (R) SQL Server Execute Package Utility  Version 10.50.1600.1 for 64-bit  Copyright (C) Microsoft
    Corporation 2010. All rights reserved.    Option "    /CONNECTION" is not valid.  The command line parameters are invalid.  The step failed.,00:00:00,0,0,,,,0

  • We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a

    We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a printer."C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /T "\\<Application Server>\Report\<TEST.PDF>" "<Printer Name>". Current Situation: The above command line parameter when executed is working as expected in a User's Workspace. When executed in a command line on the Application Server is working as expected. But, the same is not working while executing it from Deployed environment.Software being used: 1. Adobe 11.0 enterprise version. 2. Webshpere Application Server 8.5.5.2. Please let us know if there is a way to enable trace logs in Adobe Reader to further diagnose this issue.

    This is the Acrobat.com forum.  Your question will have a much better chance being addressed in the Acrobat SDK forum.

  • Running a class with command line parameters from IDE

    Hi there,
    I want to run a class from with the developer IDE. But I also want to pass in some command line parameters. Is there any way to do this from within the IDE, without having to go out to a Dos Prompt or shell?
    Thanks in advance
    Johnny

    In JDeveloper 10.1.3, Project Properties->Run/Debug->Edit
    choose the program that should be be the default run target.
    Click "Tool Settings" in the left pane and then in the right pane under "Additional Runner Options" select "Allow program input".
    It works, but the input works better in the command prompt. The problem is that after entering one input the Input-line looses focus and one have to click it to re-focus. A bug?
    However, this lets me use the "Run" button. All in all, a more efficient way of developing programs.

  • Command line parameters and resuming

    Hi,
    I am researching for a client who wishes to have several students (K-12) using Adobe Captivate course on the same computer. Another constraint is that a course is run from DVD (1+ GB in size) so it's published as standalone application (.exe for Windows, .app for Mac). Quick questions:
    Can a course have an action to parse command line parameters? I haven't found that.
    Explanation: this would be used to simply parse a name and e-mail address (if possible) and last module passed to a course player. Resuming could be disabled (there is an answer how to do that in the forum) or overridden but the learner should be transferred to a slide to resume based on the calling parameter (and not the default resuming - there will be several users so each must resume from the last passed module slide).
    Can a progress of the current learner using the course be saved to a database (no LMS, e-mail, Acrobat.com etc)?
    Explanation: this is needed for the current learner and for each one separately. I guess I already have a solution in mind (custom application, having small internal web server like Mongoose, with a script that replaces internalServerReporting.php and saves the data to a internal database, SQLite). But for this to work spawning a course with command line parameters and course itself reading these parameters would need to work.
    If there is a (better) solution for the above, please reply. The goal is have minimal changes on the course e.g. if there are command line parameters, then parse them and do something (mark modules passed, open appropriate next slide). If parameters are not given/recognized, do nothing (so the course would still work on computers used by one learner only, including resuming etc).
    My opinion is that this should also be one-way as much as possible. E.g. additional application handles user name, e-mail and current progress and spawns Captivate course. The published course itself should not depend on the application like reading progress from a text file (though an URL call could return current progress from an application for the same user name). So ideally only changes to use internal server publishing to save current progress and adding a logic to check parameters at start would be applied to a course.
    Waiting for your smart answers.
    Matt

    DVDs, when finalized, are read-only... so unless you are considering to do an Install of the course from the DVD to the machine, you're not going to be able to write to a database.  A USB stick may be more suitable in this situation.
    Command line params are not possible with EXEs unless you create your own EXE wrapper.  If you're going to go through that trouble, you'd be better off creating an Adobe Air application that can run your local web content without security restrictions and use SQLite or some other backend to store the data.
    Can the progress be saved?  It depends what you mean by progress.  If you just want to allow the student to resume from the slide where they left off... you can do that with a bit of JavaScript.  However, if you want to ensure that any previous questions answered on a quiz were also resumed and intact from the previous session... not possible without an LMS.
    Why not run a Moodle installation via a USB stick and you can have a full featured LMS with a database and ability to resume a previous session?
    http://docs.moodle.org/19/en/Installation_guide_-_Moodle_for_Windows_on_a_USB_Memory_Stick
    Just some things to consider...

  • MS TS RemoteApp Programs Command-line Parameters (%temp% or %appdata%)

    Hello,
    We are trying to get an in house Application published to the TS RemoteApp Programs. We are using a logon script that places the a cmd file in the users %temp% or %adddata%.  We are using this so that there is no file locks that occur.
    Then we wish to use the command-line parameter "Always use the following command-line parameters" as Local -t -c "%temp%\file.fp". However this is not successful. I have eliminated the %temp% with the temp directory path and the application
    runs correctly. 
    It looks like to me that the environmental variable is not loading. Is there something that I can do for this to get this running? 

    Hi,
    Thanks for posting in Windows Server Forum.
    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as ‘Answered’ as the previous steps should be helpful for many similar scenarios. If the issue still persists, please feel free to 
    reply this post directly so we will be notified to follow it up.
    BTW,  we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems.
    Thanks for your Support & understanding.
    Regards.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • InstallShield command line parameters when launching install

    Hi,
    I am attempting to install Ver 5.0.1.4 (same error occurs with ver 4.x)and after the .exe unpackages, I get the following error: InstallShield - command line parameters... etc etc..
    I have attempted to uninstall all Apple apps and reinstall. The iPod Updater reinstalls without error, iTunes always returns the above error. I have performed the following steps:
    1. msiexec /regserver - reboot
    2. uninstalling and reinstalling Windows Installer 3.1 KB893803v2
    3. clearing the %temp% dir
    4. deleting the Program Files/Common Files/InstallShield/Engine contents
    5. rebooting, cursing and taking numerous mental 'time-outs'
    I'm running XP SP2 w/ all updates. Zonealarm FW - disabled, McAfee Virusscan - disabled, and no active anti-spy software.
    I've scoured the forums for help on this issue and can't find any. Google also hasn't been much help.
    Does anyone know how to get past this error?
    Cheers

    Jakub,
    I've seen people complain about this problem a time or two, but it's very rare. I'm told that you can work around this problem by downloading the winrar application and opening that to uncompress the iTunesSetup.exe file.
    http://www.download.com/3000-2250-10007677.html

Maybe you are looking for