Sign in to follow this  
Followers 0
dewild1

fileinstall

3 posts in this topic

#1 ·  Posted (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 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.

Edited by dewild1

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 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.

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 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.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.

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 by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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