Jump to content

Recommended Posts

Posted

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

Posted

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

that'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.

Cheers

Kurt

__________________________________________________________(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 *

Posted

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.

Posted

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!

Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...