Hi,
I'm writing a small installer that will copy two files embedded in the installer.
The files are in the executable, but I do not have access to them.
With the relative path (win7, hw4.7: "blabla\\file.exe" | aos3.9, hw4.8: "blabla/file.exe "),
as they were embedded, it does not work.
How to get access to them?
Thanks in advance
AUserLG
How to get access to embedded/linked files?
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: How to get access to embedded/linked files?
Good question, I did the same several months ago and I didn't get a good answer, in my case I want copy config files for a flash game, and fonts, but the problem is extract to embebed file and it is fine to work with it.
Which is the solution for this problem?
Which is the solution for this problem?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: How to get access to embedded/linked files?
You need to use exactly the same filename you specified in the database you pass to -linkfiles. So if you use "blabla\file.exe" on Windows, you also need to use "blabla\file.exe" if you refer to that file. "blabla/file.exe" will NOT work in that case! It will only work if you specify "blabla/file.exe" in the linkfiles database. Currently Hollywood distinguishes between a slash and a backslash so you have to be precise. For the next version I'll change this so that it doesn't matter whether you are passing a slash or a backslash but for now you have to be careful.AUserLG wrote: I'm writing a small installer that will copy two files embedded in the installer.
The files are in the executable, but I do not have access to them.
With the relative path (win7, hw4.7: "blabla\\file.exe" | aos3.9, hw4.8: "blabla/file.exe "),
as they were embedded, it does not work.
How to get access to them?