Page 1 of 1

Adding Additional files

Posted: Thu Apr 03, 2008 11:55 am
by Stonecrop
How is the "Embedded Files" feature intended to work? If I embed a file that is used by my script, the file cannot be found when the compiled executable runs.

Posted: Fri Apr 04, 2008 4:33 pm
by support
You can select the output forlder for embedded files during compilation:

- TEMP folder
- APPDATA folder
- current folder

Extract embedded files before script OPTION

Posted: Thu Feb 19, 2009 5:07 pm
by feneque
Hello,
Extract embedded files before script execution dont work.
I am trying to extract 2 exe files to apptdata. My script execute this exe with parameters, but it is not working because dont extract exe to appdata.
Why?
Help please

Posted: Fri Feb 27, 2009 6:10 pm
by support
How you call extracted files? You should specify full path, so if you select APPDATA then you need a function that return full-qualifyed file name.

For example, this fulction will show path to APPDATA:

dim filesys, f
Set filesys = CreateObject("Scripting.FileSystemObject")
Set f = filesys.GetSpecialFolder(2)
wscript.echo f