Jump to content

Autoit + WPI


Recommended Posts

Trying to install a program and copy a file to desktop and it's working but when I put the compiled script in WPI

the install runs fine but the file does not get copied to desktop. Anyone has an idea how to fix that? Thanks

Here's the script

;Edukleuter
RunWait("Edukleuter.exe /SILENT /SUPPRESSMSGBOXES /NORESTART /SP-")
sleep (500)
FileCopy("Edukleuters.lnk", @DesktopDir)
Edited by dannyict
Link to comment
Share on other sites

Hi dannyict,

what is WPI? :mellow:

If you're not installing the program under the current user's account, then @DesktopDir might point to another directory than you believe it does. Try using the "All Users Desktop" directory.

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...