Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    7

    Relative link to external media

    Hi - our installer has the main core of its code packaged into a SETUP.EXE file and then it references an "External Media" folder which contains the files used with the various optional packages selected by the user.

    However, unless our SETUP.EXE is run from the root level of a drive, the links to the external media fail. From looking at our SF7 script, the runtime folder is set to %SourceDrive%\External Media\[filepaths]. This is obviously the problem - the script is always looking at the top level of the drive for the "External Media" folder.

    What should I replace %SourceDrive% with so that SETUP.EXE looks relative to itself to find the "External Media" folder?? Is it as simple as just \External Media\[filepaths]??

  2. #2
    Join Date
    May 2009
    Posts
    7
    Sorry - I've answered my own question. I should be using the "%SourceFolder%" variable. It's done the trick.

Similar Threads

  1. Relative paths to external files
    By manolete111 in forum Setup Factory 8.0
    Replies: 5
    Last Post: 02-23-2009, 09:08 AM
  2. How can I close external Windows Media Player?
    By pierre in forum AutoPlay Media Studio 5.0
    Replies: 10
    Last Post: 01-17-2005, 08:35 AM
  3. INFO: Difference between the Media Player Object and the AVI Object
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-29-2002, 02:15 PM
  4. HOWTO: Make a Media Player Object Go Full Screen
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 11:23 AM
  5. Replies: 0
    Last Post: 10-04-2002, 10:09 AM

Posting Permissions

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