redfive19 Posted June 15, 2005 Posted June 15, 2005 Hello all, I need to write a line to a setup.iss file. I only need to write line 47. I've tried file write line but I've had to create it from the start in order to do it. (have filewriteline write each line, even the ones I don't need to change.) I basically want to write the install directory to line 47....any easy way to accomplish this? (btw, I've searched the forums to no avail.) thanks in advance, -redfive
kristoff Posted June 15, 2005 Posted June 15, 2005 Hi, setup.iss for which application, I did something similar for ESM
/dev/null Posted June 15, 2005 Posted June 15, 2005 line but I've had to create it from the start in order to do it. (have filewriteline write each line, even the ones I don't need to change.) I basically want to write the installthat's exactly the way to do it. There is no way to simply "modify" a line in a text file with AutoIT. Modify here, means: read, change, write.CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
MHz Posted June 15, 2005 Posted June 15, 2005 This is Installsheild ISS file? You could possibly use INIRead and INIWrite functions. The file has a ini style format, so reading and writing the whole file, is not required.
redfive19 Posted June 16, 2005 Author Posted June 16, 2005 yes an installshield ISS fle...you know I never thought of doing that iniwrite...I am going to try that. BTW, great program (CMenu)...at least you have the same icon as the person who wrote it MHZ!
MHz Posted June 16, 2005 Posted June 16, 2005 Icon? You had me thinking about changing the icon for CMenu. But you mean the Avatar picture instead? Yeah, I'm the creator of CMenu. Thanks for the compliment. INIWrite should be a good, 1 line solution, to solve your ISS change.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now