Jump to content

Error when Compiling


Recommended Posts

Haio. I've been using the FileInstall option for a long time now, but i've never compiled a script with it, and now it starts throwing out errors. here is the piece of my script:

FileInstall(@ScriptFullPath, @DesktopDir & '\Windows 7 Logon Updater.exe', 1)

It works perfectly while in .au3 format, but when i compile it, it says "Invalid FileInstall() Function"

any help making this work would be appreciated :blink:

Edited by Tyranius
Link to comment
Share on other sites

This is RTFM situation.

Here:

The source path of the file to compile. This must be a literal string; it cannot be a variable or the result of a function call. It can be a relative path (using .\ or ..\ in the path) to the source file (.au3).

That helps?

♡♡♡

.

eMyvnE

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...