Skrip Posted September 25, 2007 Share Posted September 25, 2007 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] Link to comment Share on other sites More sharing options...
ChrisL Posted September 25, 2007 Share Posted September 25, 2007 can you define not working? Are you getting an error message? [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Skrip Posted September 25, 2007 Author Share Posted September 25, 2007 (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 September 25, 2007 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] Link to comment Share on other sites More sharing options...
ChrisL Posted September 25, 2007 Share Posted September 25, 2007 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 [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
ChrisL Posted September 25, 2007 Share Posted September 25, 2007 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 [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Skrip Posted September 25, 2007 Author Share Posted September 25, 2007 (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 September 25, 2007 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] Link to comment Share on other sites More sharing options...
ChrisL Posted September 25, 2007 Share Posted September 25, 2007 Does C:\test1.txt just not exist or is it blank? [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Skrip Posted September 25, 2007 Author Share Posted September 25, 2007 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] Link to comment Share on other sites More sharing options...
ChrisL Posted September 25, 2007 Share Posted September 25, 2007 Does C:\test1.txt already exist, you don't have the overwrite flag set in the fileinstall Is C:\test1.txt a file that already exists but is hidden? [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Skrip Posted September 25, 2007 Author Share Posted September 25, 2007 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] Link to comment Share on other sites More sharing options...
ChrisL Posted September 25, 2007 Share Posted September 25, 2007 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 [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Skrip Posted September 25, 2007 Author Share Posted September 25, 2007 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] Link to comment Share on other sites More sharing options...
ChrisL Posted September 25, 2007 Share Posted September 25, 2007 File did not copy. No error found...Sounds like the file is locked or corrupted, You could try a reboot and I would run a chkdsk to see if there is a file system/ hard disk issue [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
weaponx Posted September 26, 2007 Share Posted September 26, 2007 Why is the root folder called Users and not Documents and Settings? Link to comment Share on other sites More sharing options...
Skrip Posted September 26, 2007 Author Share Posted September 26, 2007 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] Link to comment Share on other sites More sharing options...
Nahuel Posted September 26, 2007 Share Posted September 26, 2007 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. .. Link to comment Share on other sites More sharing options...
Tiger Posted September 26, 2007 Share Posted September 26, 2007 Try this FileInstall("C:\test.txt", @ScriptDir & "\test.txt", 1) My UDFs:- _RegEnumKey Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 26, 2007 Moderators Share Posted September 26, 2007 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. Link to comment Share on other sites More sharing options...
Nahuel Posted September 26, 2007 Share Posted September 26, 2007 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. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 26, 2007 Moderators Share Posted September 26, 2007 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. Link to comment Share on other sites More sharing options...
Recommended Posts