JSThePatriot Posted November 29, 2004 Share Posted November 29, 2004 Upon running the following code during Au2Exe I get an error saying "Error adding file: vncpwdumpdll.dll". I have the .dll in the proper place. This is doing this on both of my computers. Is there something wrong with my code or can a fileinstall not include a .dll. If that is the case then it should be noted in the helpfile (or I missed the note ) If Not (FileExists(@TempDir & "\vncpwdump.exe")) Then FileInstall("vncpwdump.exe", @TempDir & "\vncpwdump.exe") If Not (FileExixts (@TempDir & "\vncpwdumpdll.dll")) Then FileInstall("vncpwdumpdll.dll", @TempDir & "\vncpwdumpdll.dll") EndIf EndIf Thanks a million, JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
ezzetabi Posted November 29, 2004 Share Posted November 29, 2004 (edited) Does it works correctly with an uncompiled script? Edit: I guess you meant "(FileExists" instead of "(FileExixts" Edited November 29, 2004 by ezzetabi Link to comment Share on other sites More sharing options...
Developers Jos Posted November 29, 2004 Developers Share Posted November 29, 2004 (edited) Upon running the following code during Au2Exe I get an error saying "Error adding file: vncpwdumpdll.dll".I have the .dll in the proper place. This is doing this on both of my computers. Is there something wrong with my code or can a fileinstall not include a .dll. If that is the case then it should be noted in the helpfile (or I missed the note )<{POST_SNAPBACK}>EDIT: Edited November 29, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
JSThePatriot Posted November 29, 2004 Author Share Posted November 29, 2004 Perfectly. :-/ Gives no errors. I am pretty sure I have to have both files for the .exe to work. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
JSThePatriot Posted November 29, 2004 Author Share Posted November 29, 2004 <{POST_SNAPBACK}>Are you saying it cant work with the @TempDir?JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
ezzetabi Posted November 29, 2004 Share Posted November 29, 2004 (edited) Jbeb? There are no variants in JS' fileinstall()s... Why posting that? Ah, ok. Try... I am not sure it helps... but worth a shoot. If Not (FileExists(@TempDir & "\vncpwdump.exe")) Then FileInstall("vncpwdump.exe", @TempDir & "\",1) If Not (FileExists (@TempDir & "\vncpwdumpdll.dll")) Then FileInstall("vncpwdumpdll.dll", @TempDir & "\",1) EndIf EndIf Edited November 29, 2004 by ezzetabi Link to comment Share on other sites More sharing options...
Developers Jos Posted November 29, 2004 Developers Share Posted November 29, 2004 (edited) Are you saying it cant work with the @TempDir?JS<{POST_SNAPBACK}>Forget about it... its getting to late for this....go to sleep now Edited November 29, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
JSThePatriot Posted November 29, 2004 Author Share Posted November 29, 2004 Jbeb? There are no variants in JS' fileinstall()s... Why posting that?Ah, ok. Try... I am not sure it helps... but worth a shoot.If Not (FileExists(@TempDir & "\vncpwdump.exe")) Then FileInstall("vncpwdump.exe", @TempDir & "\",1) If Not (FileExists (@TempDir & "\vncpwdumpdll.dll")) Then FileInstall("vncpwdumpdll.dll", @TempDir & "\",1) EndIf EndIf <{POST_SNAPBACK}>That wont allow the script to run properly...JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
ezzetabi Posted November 29, 2004 Share Posted November 29, 2004 Why? It does not seem you changed the filename. Link to comment Share on other sites More sharing options...
JSThePatriot Posted November 29, 2004 Author Share Posted November 29, 2004 Why? It does not seem you changed the filename.<{POST_SNAPBACK}>I dont know why it doesnt work. I know that when I check the output of what that stuff is supposed to do it doesnt do it.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
JSThePatriot Posted November 30, 2004 Author Share Posted November 30, 2004 No one else have any ideas? I have tried running everything... Tidy, Compile Checker, Script Checker, and nothing seems to work. I cant figure this one out. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Administrators Jon Posted November 30, 2004 Administrators Share Posted November 30, 2004 Get a big text file and rename it to that dll and see if that works. Also post your directory structure in relation to the .au3 file. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
JSThePatriot Posted November 30, 2004 Author Share Posted November 30, 2004 (edited) I don't know what is wrong... what you have done to debug... but if I were to code it, I would...If Not (FileExists(@TempDir & "\vncpwdump.exe")) Then FileInstall(".\vncpwdump.exe", @TempDir & "\vncpwdump.exe") If Not (FileExixts (@TempDir & "\vncpwdumpdll.dll")) Then FileInstall(".\vncpwdumpdll.dll", @TempDir & "\vncpwdumpdll.dll") EndIf EndIfThen have the files in the script directory when you compile...How do you compile? with right-click or the GUI?Lar.<{POST_SNAPBACK}>Have been trying to compile with SciTE.I have the files in the script directory. I always do that. There is no reason for all of the files to be in a different spot.I will try that really quickly, but I dont see how that would help at all (I just dont quite understand the . I guess it just tells it to be in same directory Give me a few).Edit: The . didnt change a thing. Same error except now it has .\vncpwdumpdll.dll as the unable to add.Thanks for your help Larry,JS Edited November 30, 2004 by JSThePatriot AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Developers Jos Posted November 30, 2004 Developers Share Posted November 30, 2004 (edited) Have been trying to compile with SciTE.I have the files in the script directory. I always do that. There is no reason for all of the files to be in a different spot.I will try that really quickly, but I dont see how that would help at all (I just dont quite understand the . I guess it just tells it to be in same directory Give me a few).Edit: The . didnt change a thing. Same error except now it has .\vncpwdumpdll.dll as the unable to add.Thanks for your help Larry,JS<{POST_SNAPBACK}>Ok back to basics: is the name correct ? shouldn't that be vncdumpdll.dll ? Edited November 30, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
JSThePatriot Posted November 30, 2004 Author Share Posted November 30, 2004 Get a big text file and rename it to that dll and see if that works. Also post your directory structure in relation to the .au3 file.<{POST_SNAPBACK}>It compiled fine when I replaced the .dll with another file of the same size. (Large 40kb text file).All of my .au3 files are in the same folder as well as the files I use in them. I rarely have a directory structure for them other than possibly putting each script in its own directory with all of its included files.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
JSThePatriot Posted November 30, 2004 Author Share Posted November 30, 2004 Ok back to basics: is the name correct ? shouldn't that be vncdumpdll.dll ?<{POST_SNAPBACK}>okay whoa... I thought I had checked that like 3 times. I must have missed it. Thanks JdeB Sorry for the wild goose chase everyone...JSBTW It compiled fine AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) 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