Go Back   Winamp & Shoutcast Forums > Search Forums

Showing results 1 to 25 of 36
Search took 0.00 seconds.
Search: Posts Made By: megan19
Forum: NSIS Discussion 9th April 2006, 21:59
Replies: 6
Views: 2,728
Posted By megan19
Hi dienjd, Thanks alot for replying. I...

Hi dienjd,

Thanks alot for replying. I really appreciate it!


Thanks all!!
Forum: NSIS Discussion 9th April 2006, 18:31
Replies: 6
Views: 2,728
Posted By megan19
Thanks alot Afrow. IfFileExists...

Thanks alot Afrow.

IfFileExists $WINDIR\notepad.exe 0 +2
MessageBox MB_OK "notepad is installed"
else do_something??

Where do I place the else statement?


Thanks!!
Forum: NSIS Discussion 9th April 2006, 01:11
Replies: 6
Views: 2,728
Posted By megan19
empezar, Thanks for replying. But I am not...

empezar,

Thanks for replying. But I am not sure where to put the else statement?

${Unless} $0 == ""
THEN_STATEMENT...
${EndUnless}
Forum: NSIS Discussion 8th April 2006, 20:29
Replies: 6
Views: 2,728
Posted By megan19
if readINIStr then else?

Hi all,

I was wondering if someone could show me how to build this construction?

As in:

ReadINIStr $0 $INSTDIR\winamp.ini winamp outname == nothing?

Basically I want to use this method to...
Forum: NSIS Discussion 2nd March 2006, 21:49
Replies: 25
Views: 5,084
Posted By megan19
Hey Afrow, Thanks. Yeah I use 8192 build...

Hey Afrow,

Thanks. Yeah I use 8192 build now.

I will let you know if I see the problem again, as I try to initialize the value in my software using the INI key. If I can do it, I will focus on...
Forum: NSIS Discussion 1st March 2006, 20:03
Replies: 25
Views: 5,084
Posted By megan19
Afrow, Thanks so much. It works so perfect...

Afrow,

Thanks so much. It works so perfect now. But there always comes problems, but this time not from your code.

I use
WriteINIStr $INSTDIR\options.ini XSI OImage ""

first to clear the...
Forum: NSIS Discussion 1st March 2006, 19:14
Replies: 25
Views: 5,084
Posted By megan19
Thanks alot! I was wondering if it is possible to...

Thanks alot! I was wondering if it is possible to write strings from top to bottom, like?

text01
text02
text03
...

?
Forum: NSIS Discussion 1st March 2006, 18:31
Replies: 25
Views: 5,084
Posted By megan19
Hey, It really works! Now I see a problem...

Hey,

It really works! Now I see a problem which I dont know the reason of. When I want to write into keys like "OFImage" or "Oimage", etc it doesnt work.

But it works with new.


Any idea?
...
Forum: NSIS Discussion 1st March 2006, 17:25
Replies: 25
Views: 5,084
Posted By megan19
FileWrite statements are only 1 line each in NSIS...

FileWrite statements are only 1 line each in NSIS editor.
Forum: NSIS Discussion 1st March 2006, 17:24
Replies: 25
Views: 5,084
Posted By megan19
I use this: !define INIFile...

I use this:

!define INIFile "$INSTDIR\options.ini"

GetTempFileName $R1
FileOpen $R0 $R1 w
FileOpen $R2 "${INIFile}" r
StrCpy $R4 0

Loop:
Forum: NSIS Discussion 1st March 2006, 16:24
Replies: 25
Views: 5,084
Posted By megan19
Afrow, Thanks so much again. This seems to...

Afrow,

Thanks so much again. This seems to do what I need.

So first I will create a key called "New", as empty and then use your code to fill it. Now there is only 1 problem.

When I use your...
Forum: NSIS Discussion 1st March 2006, 02:34
Replies: 25
Views: 5,084
Posted By megan19
Hey Afrow, Thank you so much! I cant thank...

Hey Afrow,

Thank you so much! I cant thank you enough man. It will really help me so much but it didnt work and I dont know why.

You create a temp file copy everything from the first file and...
Forum: NSIS Discussion 28th February 2006, 20:30
Replies: 25
Views: 5,084
Posted By megan19
Anyone care to help please?

Anyone care to help please?
Forum: NSIS Discussion 28th February 2006, 14:29
Replies: 25
Views: 5,084
Posted By megan19
Please someone help.

Please someone help.
Forum: NSIS Discussion 27th February 2006, 18:53
Replies: 25
Views: 5,084
Posted By megan19
You mean either way I will have to use FileWrite?...

You mean either way I will have to use FileWrite? If so, can you please show me a small example like this:

[UK]
England=16

[XSI]
New=
Mass=4

[Ca]
Forum: NSIS Discussion 27th February 2006, 16:21
Replies: 25
Views: 5,084
Posted By megan19
Comperio, With your information, I get to...

Comperio,

With your information, I get to write much longer strings! Thank you very much. But this still didnt let me to write a very long 1 line string.

In case you want to see the code, I...
Forum: NSIS Discussion 26th February 2006, 20:33
Replies: 25
Views: 5,084
Posted By megan19
Is this impossible?

Is this impossible?
Forum: NSIS Discussion 26th February 2006, 20:08
Replies: 25
Views: 5,084
Posted By megan19
Thank you very much for replying, but this doesnt...

Thank you very much for replying, but this doesnt do what I need. Because I am trying to write a very long string, and this function only writes a very small part of it.

So one friend here told me...
Forum: NSIS Discussion 26th February 2006, 18:47
Replies: 25
Views: 5,084
Posted By megan19
Writing to a specific part of an ini file

Anyone knows how to write a specific part of an ini file, like
first finding a string named "New=" and then starting to write from there, possibly using fileWrite?



THANKS!
Forum: NSIS Discussion 26th February 2006, 15:00
Replies: 27
Views: 4,790
Posted By megan19
I found a new way. I will have to create a...

I found a new way.

I will have to create a few ini entries in the same file, of which only this one is very long. So instead of writing alot of routines to see if there is an ini key created, etc....
Forum: NSIS Discussion 25th February 2006, 19:55
Replies: 27
Views: 4,790
Posted By megan19
Thanks deinjd. But your example doesnt add the...

Thanks deinjd. But your example doesnt add the entries to XSI, instead they write it to file directly. Is this what is supposed to happen?

Thanks!
Forum: NSIS Discussion 25th February 2006, 19:07
Replies: 27
Views: 4,790
Posted By megan19
Hey dienjd, Now it works man! Thanks so...

Hey dienjd,

Now it works man! Thanks so much! Now I have one question:

How I can find out if there is a section called [NEW] in the ini, and if not create one. But if it exists, then find an...
Forum: NSIS Discussion 25th February 2006, 18:45
Replies: 27
Views: 4,790
Posted By megan19
I have used this and it wrote the same thing as...

I have used this and it wrote the same thing as writeINIStr:

FileOpen $7 "$INSTDIR\options.ini" a
FileSeek $7 0 END
FileWrite $7 "$0$1$2$3$4$5"
FileClose $7

Is it possible that I use this...
Forum: NSIS Discussion 25th February 2006, 17:58
Replies: 27
Views: 4,790
Posted By megan19
Hi dienjd, I have found out the limit of...

Hi dienjd,

I have found out the limit of StrCpy and splitted the code before the limit.

But unfortunately I couldnt write the full code with writeINIStr, with this:

StrCpy $0...
Forum: NSIS Discussion 25th February 2006, 17:12
Replies: 27
Views: 4,790
Posted By megan19
dienjd, You rock! This is something I was...

dienjd,

You rock! This is something I was expecting. These "$0$1$2" is so different from my language, thats why I couldnt think about it. Now I will really try on this and will let you know about...
Showing results 1 to 25 of 36

 
Forum Jump