Reply to Thread

Post a reply to the thread: Adressing the Files

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 01-26-2023, 05:19 AM
    tez

    Re: Adressing the Files

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

    Thank you very much, Friedrich!
  • 01-25-2023, 07:10 AM
    linder

    Re: Adressing the Files

    Hello,

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

    Does this help?

    Friedrich
  • 01-25-2023, 05:41 AM
    tez

    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
  • 12-13-2022, 12:01 PM
    tez

    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!

Posting Permissions

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