Jump to content

FileInstall() Says: Cannot use a variable


 Share

Recommended Posts

Is there any possible way at all, for FileInstall to check a text file or anything, and to use what it gets as the 'Source' it says it must be a literal string, but is there a way this can work?

Link to comment
Share on other sites

  • Developers

aut2exe doesn't not support it so: No.

The only option you have is to write some sort of wrapper that "generates" the fileinstall() statements for you.

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

In the install script that you will be creating with your script, the FileInstall indeed needs to be a literal string. Your script creating script however will not need to be using fileinstall at all, only creating another script that will use it.

Man, I hope that made at least some sense.

EDIT: damn it Jos, thats twice now.... for the rest of the day I will wait an extra 30 seconds, refresh, then post if you haven't already :)

Edited by danwilli
Link to comment
Share on other sites

Thanks for the fast reply Jos! Hmm, so I guess i'll be creating a wrapper! :) Thanks for the help Jos.

Great idea danwilli, I will create a script to create a script ;)! Thanks guys!

Edited by Swift
Link to comment
Share on other sites

  • Developers

EDIT: damn it Jos, thats twice now.... for the rest of the day I will wait an extra 30 seconds, refresh, then post if you haven't already :)

Just hit preview before posting when you see this as a competition ;)

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

Not that I see it as a competition, it's just a waste of my time when I click the post button to see the answer right above my post :)

I wouldn't dare consider it a competition when the devs are competing.

I only post here because I love autoit and don't take my job seriously enough LMAO.

Link to comment
Share on other sites

  • Developers

I only post here because I love autoit and don't take my job seriously enough LMAO.

I only post because I am lazy after a days work and don't feel like doing much more than sit in a recliner with my LT with a good glas of redwine and answering some of the posts here. :)

Its just a hobby for me too.

Edit: and hoping nobody pulls any BS causing the need to go into "Evil Mod Mode"

Edited 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

I only post because I am lazy after a days work and don't feel like doing much more than sit in a recliner with my LT with a good glas of redwine and answering some of the posts here. :)

Its just a hobby for me too.

Edit: and hoping nobody pulls any BS causing the need to go into "Evil Mod Mode"

Whoops, seen that one before! ;)

EDIT: I wish I had a LT, I only got a desktop, and the chair sucks :D

Edited by Swift
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...