Results 1 to 2 of 2

Thread: Inno [RUN]section to start another exe off the CD

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2009
    Posts
    739

    Inno [RUN]section to start another exe off the CD

    If I use this in the RUN section of my inno script I have no problems.

    Code:
    [Run]
    Filename: "{app}\SomeApp.exe"; etc etc
    That works when SomeApp.exe is in the Program Files\SomeApp folder

    But how do I run SomeApp.exe if it's on the CD and not in the {app} folder ? I just can't figure out the syntax.

    I have Autorun.inf configured so that my installer runs automatically when the CD is inserted but I want to use the [RUN] section to automatically start the install of another application from the same CD.

    I hope I explained that clearly

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2009
    Posts
    739

    Re: Inno [RUN]section to start another exe off the CD

    Quote Originally Posted by IanS View Post
    If I use this in the RUN section of my inno script I have no problems.

    Code:
    [Run]
    Filename: "{app}\SomeApp.exe"; etc etc
    That works when SomeApp.exe is in the Program Files\SomeApp folder

    But how do I run SomeApp.exe if it's on the CD and not in the {app} folder ? I just can't figure out the syntax.

    I have Autorun.inf configured so that my installer runs automatically when the CD is inserted but I want to use the [RUN] section to automatically start the install of another application from the same CD.

    I hope I explained that clearly
    I found it. Use {src} in place of {app}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width