+ Reply to Thread
Results 1 to 4 of 4

Thread: Adressing the Files

  1. #1

    Default Adressing the Files

    Hello, my installation project has several files to be installed, and they all are located in the same root folder where sbp project file is also located. For example, my sbp is under this directory in my hard-disk:

    Code:
    D:\Projects01\install.sbp
    And the files to be installed are addressed like this in the Script Editor:

    Code:
    Install File(s) "D:\Projects01\files\001.xyz"
    Install File(s) "D:\Projects01\files\002.xyz"
    Install File(s) "D:\Projects01\files\003.xyz"
    ...
    My problem is, whenever I need to rename the root folder "Projects01" or just move it somewhere else in my hard-disk, the project requires me to relocate every single *.xyz file in the Script Editor again. Otherwise SetupBuilder compiler cannot find these files (obviously), and gives errors. Instead of using the full address like "D:\Projects01\files\001.xyz" in the ScriptEditor, is it possible to shorten it like "..\files\001.xyz" where ".." means the location of main sbp file (root)?

    Thank you in advance for your assistance!

  2. #2

    Default Re: Adressing the Files

    Hello, I would still like to hear some tips or advices about this subject, please.

    I often move my entire project folder (along with the files to install) via USB-stick and need to compile the project in different computers in different directories. Is there a way to avoid using full addresses in the Script Editor for the files, and make the project compilable in any directory as long as sbp and project files stay together in the same root folder?

    Thank you in advance

  3. #3
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Adressing the Files

    Hello,

    Yes, just use [SB_PROJECT] and it should do what you want ;-)

    Does this help?

    Friedrich

  4. #4

    Default Re: Adressing the Files

    It absolutely did! That's what I literally wanted to do

    Thank you very much, Friedrich!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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