dewild1 Posted October 19, 2007 Share Posted October 19, 2007 (edited) Description of bug.If you do thisFileInstall("C:\temp2\setup15.exe" , "@DesktopDirsetup15.exe")It does install the file onto the current user desktop on the XP laptop I am using right now, BUT, if renames the file "@DesktopDirYOURPROGRAM.exe", yes it adds, @DesktopDir, to the front!If I do thisfileinstall("C:\DOCUME~1\ALLUSE~1\dekstop\anyfile.txt" , "C:\DOCUME~1\ALLUSE~1\dekstop\anyfile2.txt")does not work. If will not install, (put the file in the right place) If the copy from is too deep in dir, it will copy the file but not extract it. Even using old school DOS names.fileinstall("C:\anyfile.txt" , "C:\DOCUME~1\ALLUSE~1\dekstop\anyfile2.txt")does not workfileinstall("C:\anyfile.txt" , "C:\anyfile2.txt")does workWith Vista, and its crappy UAC, this a big problem because you can not simply make a folder first, like c:\temp1, in the code because it wont let you.In XP, this can be a temporary work around.Other users have the same problem. File install in gen helpVersion of AutoIT.3.2.8.1My OS.15 on XP, 4 on Vista, 6 on 2003.Had these problems on Vista and XP. Did not try on 2003.Scripts and or files.NA, you can use the above examples. Edited October 19, 2007 by dewild1 Link to comment Share on other sites More sharing options...
GaryFrost Posted October 19, 2007 Share Posted October 19, 2007 (edited) Description of bug. If you do this FileInstall("C:\temp2\setup15.exe" , "@DesktopDirsetup15.exe") It does install the file onto the current user desktop on the XP laptop I am using right now, BUT, if renames the file "@DesktopDirYOURPROGRAM.exe", yes it adds, @DesktopDir, to the front! If I do this fileinstall("C:\DOCUME~1\ALLUSE~1\dekstop\anyfile.txt" , "C:\DOCUME~1\ALLUSE~1\dekstop\anyfile2.txt") does not work. If will not install, (put the file in the right place) If the copy from is too deep in dir, it will copy the file but not extract it. Even using old school DOS names. fileinstall("C:\anyfile.txt" , "C:\DOCUME~1\ALLUSE~1\dekstop\anyfile2.txt") does not work fileinstall("C:\anyfile.txt" , "C:\anyfile2.txt") does work With Vista, and its crappy UAC, this a big problem because you can not simply make a folder first, like c:\temp1, in the code because it wont let you. In XP, this can be a temporary work around. Other users are have the same problem. File install in gen help Version of AutoIT. 3.2.8.1 My OS. 15 on XP, 4 on Vista, 6 on 2003. Had these problems on Vista and XP. Did not try on 2003. Scripts and or files. NA, you can use the above examples. fileinstall("C:\anyfile.txt" , "C:\DOCUME~1\ALLUSE~1\dekstop\anyfile2.txt") should be: fileinstall("C:\anyfile.txt" , "C:\DOCUME~1\ALLUSE~1\desktop\anyfile2.txt")oÝ÷ ØX¥x쵩eªê-Ovµé©ÛOv±ën§^^Åꮢڮ¢ÐÞ²Kh¤8«±ën§^^ÅꮢÛ!¢é]m殶sdfÆTç7FÆÂgV÷C´3¢b3#·FV×"b3#·6WGWRæWRgV÷C²ÂFW6·F÷F"fײgV÷C²b3#·6WGWRæWRgV÷C² Edited October 19, 2007 by GaryFrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Developers Jos Posted October 19, 2007 Developers Share Posted October 19, 2007 (edited) Description of bug.If you do thisFileInstall("C:\temp2\setup15.exe" , "@DesktopDirsetup15.exe")It does install the file onto the current user desktop on the XP laptop I am using right now, BUT, if renames the file "@DesktopDirYOURPROGRAM.exe", yes it adds, @DesktopDir, to the front!If I do thisfileinstall("C:\DOCUME~1\ALLUSE~1\dekstop\anyfile.txt" , "C:\DOCUME~1\ALLUSE~1\dekstop\anyfile2.txt")does not work. If will not install, (put the file in the right place) If the copy from is too deep in dir, it will copy the file but not extract it. Even using old school DOS names.fileinstall("C:\anyfile.txt" , "C:\DOCUME~1\ALLUSE~1\dekstop\anyfile2.txt")does not workfileinstall("C:\anyfile.txt" , "C:\anyfile2.txt")does workWith Vista and it crappy UAC, this a big problem because you can not simply make a folder first, like c:\temp1, in the code because it wont let you.In XP, this can be a temporary work around.Version of AutoIT.3.2.8.1My OS.15 on XP, 4 on Vista, 6 on 2003.Had these problems on Vista and XP. Did not try on 2003.Scripts and or files.NA, you can use the above examples.Please strop posting here and stick to the support thread we are working in !This is WRONG: FileInstall("C:\temp2\setup15.exe" , "@DesktopDirsetup15.exe")Should be: FileInstall("C:\temp2\setup15.exe" , @DesktopDir & "\setup15.exe")This is also wrong as I told you in the other thread:fileinstall("C:\anyfile.txt" , "C:\DOCUME~1\ALLUSE~1\dekstop\anyfile2.txt")It is desktop NOT dekstop.Now back to the support thread.* click * Edited October 19, 2007 by Jos 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...
Recommended Posts