Announcement

Collapse
No announcement yet.

executing a program from the setup

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • executing a program from the setup

    I want to execute an exe with some command line options . my exe is in windows system directory and takes command line option /i
    along with command line parameter ( which is a file) . I tried the following in shell operation->Execute program


    Target = %SysDir%\msiexec.exe

    command line arguments ="/i %AppDir%\xyz.msi"

    this seems to not work. when I tried the same on commandline it fails. the following is the command that has to be given to make it work.

    msiexec.exe /i "c:\program files\xyx\xyz.msi"

    Can any one please tell me how can I achieve the same ( I want /i option on the command line along with the file option) using Shell Operation.

    thanx in Advance

    Vamsi

  • #2
    Re: executing a program from the setup

    Did you put quotes around the path in the arguments? Like so:

    /i "%AppDir%\xyz.msi"
    --[[ Indigo Rose Software Developer ]]

    Comment

    Working...
    X