Is it possible to dynamically change files (such as .dll or .txt), after build?
For example, I want to replace a .dll file with a newer version at home, where i don't have installAware app,
can I just replace it and run installation file?
Same I wanna do with version no., can I read it each time I install the software from a .txt file that changes after installation file was built???
If so, how can I?
changing files after build
Re: changing files after build
Hi,
You can technically specify the location of these files in a text file, but these is very unstable and therefore not recommended.
You can technically specify the location of these files in a text file, but these is very unstable and therefore not recommended.
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: changing files after build
Thanks, It really works, but still, how can I read the version's installation number from a text file?
I try adding the text file to "SupportFiles" and read the file using a script, but it seems as if the text is constant,
even though I change the .txt and rebuild...
Also I tried adding the .txt file's folder in the "files" screen but from there, the script didn't read at all.
I try adding the text file to "SupportFiles" and read the file using a script, but it seems as if the text is constant,
even though I change the .txt and rebuild...
Also I tried adding the .txt file's folder in the "files" screen but from there, the script didn't read at all.
Re: changing files after build
Hi,
So you mentioned you were trying to rebuild. You made it sound in the original post like you are not trying to rebuild.
If you are rebuilding, you can specify values for installer variables via the command line (assuming you are building from the command line as well).
Is this what you are looking for?
So you mentioned you were trying to rebuild. You made it sound in the original post like you are not trying to rebuild.
If you are rebuilding, you can specify values for installer variables via the command line (assuming you are building from the command line as well).
Is this what you are looking for?
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: changing files after build
Yes, it's a bit complex, I wanna do it all! 
First, I wana rebuild. Next I wanna use this installation with my private configuration folder("Config"),
so to be capable of setting the installation parameters, such as version number whenever I change the participating files.
The thing is, I wanna read the "Config"s path from a relative folder into a variable, as you suggested...
but is there any function that can get me the current folder using a concatenation with "DATADIR" environment variable?
(since i wanna read from the DATADIR/Config/1.txt) but the "set variable" doesn't seem to help me with this...
Thank you for your help, and sorry for the complicated story I gave you

First, I wana rebuild. Next I wanna use this installation with my private configuration folder("Config"),
so to be capable of setting the installation parameters, such as version number whenever I change the participating files.
The thing is, I wanna read the "Config"s path from a relative folder into a variable, as you suggested...
but is there any function that can get me the current folder using a concatenation with "DATADIR" environment variable?
(since i wanna read from the DATADIR/Config/1.txt) but the "set variable" doesn't seem to help me with this...
Thank you for your help, and sorry for the complicated story I gave you

Re: changing files after build
What do you mean by "current folder"?
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: changing files after build
I mean the installation build folder, not the "program files", the build's output folder,
where the installation .exe file is located.
where the installation .exe file is located.
Re: changing files after build
I made it!!!
My mistake was that I tried to set the concatenated text directly insted of using a variable to both path parts,
so set didn't work... it took it as a string and not variable.
Thank you for your help!
My mistake was that I tried to set the concatenated text directly insted of using a variable to both path parts,
so set didn't work... it took it as a string and not variable.
Thank you for your help!

Who is online
Users browsing this forum: No registered users and 43 guests