Jump to content

Including an executable?


Olish
 Share

Recommended Posts

Well you can use FileInstall() to include the executable (it includes it in the exe on compile regardless), and then use your InputBox idea to tell whether to place the included exe onto the user's computer.

In other words:

$passwd = InputBox("Security Check", "Enter your password.", "", "*")

If $passwd="toto" Then
    FileInstall ("C:\Direct\Path\To\File.exe", $NewFilePathThatCanBeAVariable, $FlagThatIs1ToOverWriteExistingFiles)
Endif

The flag is optional - default is 0 (don't overwrite).

Edited by greenmachine
Link to comment
Share on other sites

Ok. If I understand good, I can make an "home made" installer including the files in the compiled script, which script installs the files in the directory precised by $NewFilePathThatCanBeAVariable ???

Yes, you can do that. :lmao:
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...