Externals and file paths
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Externals and file paths
Hi.
I want to send a friend an exe that I made n Runrev. Being my first ever attempt at this I have a couple of questions please.
1. Does Runev auto adjust the filepath for externals when building for a Mac or Unix?
2. If I make an installer for the exe and my friend chooses to install it in a folder other than "C:/Program Files/App" will Runrev automatically adjust the filepath for the externals or do I have to adjust the externals filepath at the install with a script?
3. How do you set the externals filepath from an installer?
Many thanks
Bidge
I want to send a friend an exe that I made n Runrev. Being my first ever attempt at this I have a couple of questions please.
1. Does Runev auto adjust the filepath for externals when building for a Mac or Unix?
2. If I make an installer for the exe and my friend chooses to install it in a folder other than "C:/Program Files/App" will Runrev automatically adjust the filepath for the externals or do I have to adjust the externals filepath at the install with a script?
3. How do you set the externals filepath from an installer?
Many thanks
Bidge
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
When ypu build a standalone, Revolution automatically creates a subdirectory "Externals" inside each platform's build directory, and copies the referenced externals for that specific platform in said directory.
Standalone applications will look for externals in specific places: the Externals subdirectory, the executable's directory, and the directories defined in the PATH environment variable.
So in general, you don't have to do anything fancy and it should "just work" even if the user decides to install elsewhere.
Jan Schenkel.
Standalone applications will look for externals in specific places: the Externals subdirectory, the executable's directory, and the directories defined in the PATH environment variable.
So in general, you don't have to do anything fancy and it should "just work" even if the user decides to install elsewhere.
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
Hi Janschenkel.
Thanks for the response. In this case I am using QT External and the way you install it into Runrev is via placing it in
"C:/ Docments and Settings/User/My Documents/My Revolution Studio/Externals/" folder.
This allows QTExternal to function when using Runrev. The problem is that Runrev does not "Auto find" it and place it in the Externals folder when you build an exe. Instead, you have to point your stack to it manually via the "External References" in the properties Inspector. I see this as a problem if someone installs my exe in a folder other than "C:/Program Files/etc/etc" which is the path hard coded in the "Externals References".
Cheers
Bidge
Thanks for the response. In this case I am using QT External and the way you install it into Runrev is via placing it in
"C:/ Docments and Settings/User/My Documents/My Revolution Studio/Externals/" folder.
This allows QTExternal to function when using Runrev. The problem is that Runrev does not "Auto find" it and place it in the Externals folder when you build an exe. Instead, you have to point your stack to it manually via the "External References" in the properties Inspector. I see this as a problem if someone installs my exe in a folder other than "C:/Program Files/etc/etc" which is the path hard coded in the "Externals References".
Cheers
Bidge
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
Here is a lesson that shows how to install an external so that it loads in the IDE and can be included when building a standalone.
Installing An External
Installing An External
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Can someone please help me figure out what is going wrong?
I have followed Trevors tutorial for installing the QT Bundle but when I edit the externals.txt and create an EXE i get this message:
EDIT: Problem solved. Restarted Runrev so t could find the altered Externals.txt.
Cheers
Bidge
I have followed Trevors tutorial for installing the QT Bundle but when I edit the externals.txt and create an EXE i get this message:
1 Windows, external not found "C:/Program Files/Revolution Studio/3.5.0-gm-1/Runtime/Windows/x86-32/Externals/revzip.dll
2 C:/Program Files/Revolution Studio/3.5.0-gm-1/Runtime/Windows/x86-32/Externals/EnhancedQT
3 C:/Program Files/Revolution Studio/3.5.0-gm-1/Runtime/Windows/x86-32/Externals/EnhancedQT.dll"
EDIT: Problem solved. Restarted Runrev so t could find the altered Externals.txt.
Cheers
Bidge