Jump to content
Sign in to follow this  
Swift

FileInstall() Says: Cannot use a variable

Recommended Posts

Swift

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?

Share this post


Link to post
Share on other sites
Jos

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.


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

Share this post


Link to post
Share on other sites
DW1

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

Share this post


Link to post
Share on other sites
Swift

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

Share this post


Link to post
Share on other sites
Jos

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 ;)

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

Share this post


Link to post
Share on other sites
DW1

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.

Share this post


Link to post
Share on other sites
Jos

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

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

Share this post


Link to post
Share on other sites
Swift

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

Share this post


Link to post
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
Sign in to follow this  

×