Sign in to follow this  
Followers 0
redfive19

Write to line of setup.iss

6 posts in this topic

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

Share this post


Link to post
Share on other sites



Hi,

setup.iss for which application, I did something similar for ESM

Share this post


Link to post
Share on other sites

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 *

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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.

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  
Followers 0