Glowshi Posted May 5, 2006 Share Posted May 5, 2006 In four years of using this program I have never had a problem until now. I've been writing some scripts to be run under WinPE (not BartPE) and I've found that the FileInstall function does not work at all. It doesn't error out or anything, just doesn't work. The most recent version I could get it to work with was 3.0.101, anything after that fails including the betas. Perhaps Im just expecting too much? Thanks for any light anyone can shed on this... Glowshi Link to comment Share on other sites More sharing options...
jpm Posted May 5, 2006 Share Posted May 5, 2006 No sure what is not working. Can you post a simple script reproducing your problem? Thanks Link to comment Share on other sites More sharing options...
Glowshi Posted May 5, 2006 Author Share Posted May 5, 2006 Even a simple one line script like this FileInstall ( "test.txt", "C:\Test.txt" ) If I compile it with 3.0.101 or earlier the file shows up where it should. Anything after that and the file won't show up. Im thinking it might just be my company's version of WinPE missing something. Do later versions of FileInstall require different system files than earlier ones? Link to comment Share on other sites More sharing options...
Glowshi Posted September 8, 2007 Author Share Posted September 8, 2007 I finally got around to figuring this out after reading some other posts dealing with FileInstall. In Microsofts WinPE prior to Vista there is no TEMP environment variable set by default. When FileInstall works it seems to write the file to the %TEMP% directory first and it will fail if %TEMP% doesn't exist or isn't writable. After much pulling my hair out I sit here and wonder why it doesn't just write the file to the directory specified in the FileInstall command rather than relying on the existence of temp directories. If anyone knows Id be interested in the reasoning. I don't know what I'd do without these amazing forums. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now