Sign in to follow this  
Followers 0
Skrip

File Install

49 posts in this topic

Why isn't FileInstall working at all for me? I've tried exe's...txt's. Nothing is working.

FileInstall("C:\Users\Derek Shaheen\Desktop\WoW\WoWIDs\GMCommands.txt", "C:\test1.txt")

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

No error messages. Just..nothing happends.

>"C:\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\AutoIt3\test.au3" /autoit3dir "C:\AutoIt3" /UserParams

+>15:59:48 Starting AutoIt3Wrapper v.1.9.2

>Running AU3Check (1.54.9.0) from:C:\AutoIt3

+>15:59:48 AU3Check ended.rc:0

>Running:(3.2.8.1):C:\AutoIt3\autoit3.exe "C:\AutoIt3\test.au3"

+>15:59:48 AutoIT3.exe ended.rc:0

+>15:59:49 AutoIt3Wrapper Finished

>Exit code: 0 Time: 1.918

Edited by Firestorm

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites

Are you running this just from Scite or have you tried to compile it?

If not try compiling it, when uncompiled it uses a copy method as apposed to a real install extraction and see if you get an error

Share this post


Link to post
Share on other sites

The reason I ask the above, is this code from Scite does not fail

Fileinstall ("dave.txt", @desktopdir & "\tempor.txt")

The truth is Dave.txt doesn't exist

When I try to compile it the compile errors with can not find Dave.txt or words to that effect

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Just tried compiling. Didn't work still..I'll add error checking for the compiled version.

Still no error, and no fileinstall. I just updated autoit to try that. Still no.

Edited by Firestorm

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites

Well, GMCommands.txt exists. Then I want it fileinstalled to test1.txt


[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites

Tried it with the overwrite flag. Nope...To the best of my knowlage it doesn't exist.


[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites

Tried doing a different file?

Choose a file from Windows Directory and fileinstall it to your desktop.

Have you tried doing FileCopy("C:\Users\Derek Shaheen\Desktop\WoW\WoWIDs\GMCommands.txt", "C:\test1.txt") just to see if it will copy

Share this post


Link to post
Share on other sites

File did not copy. No error found...


[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

Why is the root folder called Users and not Documents and Settings?

Share this post


Link to post
Share on other sites

Why is the root folder called Users and not Documents and Settings?

I dunno..I think it's because it's vista. I dunno..

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites

I had some issues too.. it won't Install in @TempDir. It works in my comp, but when I use it in another one, it doesn't. ..

Share this post


Link to post
Share on other sites

Does FileMove() work on Vista?

A temp fix could be FileInstall() to a @somedir and then FileMove() to the temp dir if FileMove() in fact does work.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

Does FileMove() work on Vista?

A temp fix could be FileInstall() to a @somedir and then FileMove() to the temp dir if FileMove() in fact does work.

That's a good idea. According to the help file, you can't use a variable as a parameter in FileInstall and I don't like installing in "C:\". I preffer the @TempDir.

Share this post


Link to post
Share on other sites

That's a good idea. According to the help file, you can't use a variable as a parameter in FileInstall and I don't like installing in "C:\". I preffer the @TempDir.

You can't use a variable as the 1st Parameter of FileInstall, there's nothing wrong with using it in the 2nd parameter.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0