Go Back   Winamp & Shoutcast Forums > Search Forums

Showing results 1 to 25 of 33
Search took 0.00 seconds.
Search: Posts Made By: Andrew Wallo
Forum: NSIS Discussion 18th December 2008, 17:43
Replies: 5
Views: 2,764
Posted By Andrew Wallo
Finally finishing this thread....

Page edited on the NSIS Wiki. Not sure if I did it correctly. Usually you have a debate page on a wiki.... but I just edited the main content with a proof comment and a patch comment. If the group...
Forum: NSIS Discussion 16th December 2008, 19:56
Replies: 6
Views: 2,300
Posted By Andrew Wallo
And ifFileExists should return an error if that...

And ifFileExists should return an error if that is not a supported path definition.... but ifFileExists would pass the test too!
Forum: NSIS Discussion 16th December 2008, 19:46
Replies: 6
Views: 2,300
Posted By Andrew Wallo
Thanks for helping me push this to conclusion. I...

Thanks for helping me push this to conclusion. I was ( by requirment for ClamAV ) using forward slashed paths because ClamAV needs/expects them in its *nix config file formats. So... my convention...
Forum: NSIS Discussion 16th December 2008, 19:37
Replies: 6
Views: 2,300
Posted By Andrew Wallo
Stupid stupid stupid stupid. Using forward...

Stupid stupid stupid stupid.
Using forward slashes in file name creates impossible read errors.

Every read after that results in error flag being set. However, NO error flag on FileOpen?????...
Forum: NSIS Discussion 16th December 2008, 19:10
Replies: 6
Views: 2,300
Posted By Andrew Wallo
StepThough.....

Ok, well I confirmed your test. I can acutally open the file seperately, and rip through it. I get all teh ## lines etc. So then I edited the ReplaceInFile's central function called RIP... as you...
Forum: NSIS Discussion 15th December 2008, 11:35
Replies: 6
Views: 2,300
Posted By Andrew Wallo
Unhappy FileRead throws error with *unix style text file and returns no chars.

I'm editing an install of ClamAV. Its configuration is stored in a clamav.conf file which is in unix format. i.e. Only char(10) endings. $\n no $\r$\n's.

ReadFile throws error and quits....
Forum: NSIS Discussion 13th November 2008, 18:46
Replies: 1
Views: 1,444
Posted By Andrew Wallo
Exclamation Onname Filenames not null-terminated.Windows FindNext FindFirst Fails with zero files

Potential bug in the File \onname feature of NSIS.

The following code was used to create 2000 dummy emails for stress testing an email program. ( You would need to provide dummy email files to...
Forum: NSIS Discussion 8th September 2008, 17:33
Replies: 1
Views: 2,388
Posted By Andrew Wallo
Bad Net Start Return Code?

nsExec::Exec /TIMEOUT=700 "NET START sdfweflwiejflsdkfjsliefj" SH_HIDE
pop $0
MessageBox MB_OK "Trying to start :sdfweflwiejflsdkfjsliefj RESULT:$0"


Returning 2.. no matter...
Forum: NSIS Discussion 25th August 2008, 17:41
Replies: 5
Views: 2,764
Posted By Andrew Wallo
Legit Error On NSIS Site:

This page, needs to be corrected: [ Per my previous post.] Where do I post this, if its not here?


nsis.sourceforge.net/GetBetween:_Get_text_in_between_two_markers_in_a_file

The register...
Forum: NSIS Discussion 22nd August 2008, 22:08
Replies: 5
Views: 2,764
Posted By Andrew Wallo
{bump}

Confirmation?
Forum: NSIS Discussion 21st August 2008, 21:52
Replies: 6
Views: 2,395
Posted By Andrew Wallo
Grrrrrr.

It IS a variable. Its just an enumerated, restricted pre-defined set of acceptable values and it should beable to say, OH... variable... that resolves to... and if it can't resolve at runtime it...
Forum: NSIS Discussion 21st August 2008, 21:32
Replies: 5
Views: 2,764
Posted By Andrew Wallo
Stack/Register Error: ${GetBetween}: NSIS Website

The Developer center hosts this macro here:

http://nsis.sourceforge.net/GetBetween:_Get_text_in_between_two_markers_in_a_file

And if you search for GetBetween on the developer center you will...
Forum: NSIS Discussion 21st August 2008, 20:39
Replies: 6
Views: 2,395
Posted By Andrew Wallo
But THIS works?

!macro SetRegistry_with_RollbackControl _RootKey _RegistryKey _SubKey _Value

WriteRegStr ${_RootKey} ${_RegistryKey} ${_SubKey} ${_Value}

!macroend
Forum: NSIS Discussion 21st August 2008, 20:15
Replies: 6
Views: 2,395
Posted By Andrew Wallo
Unhappy Example of the curren workaround.....

Example of the handling I need to do to get my abstraction to compile. It seems unnecessary.... but if I understood why the compiler required the Enumeration I probably would understand the...
Forum: NSIS Discussion 21st August 2008, 19:51
Replies: 6
Views: 2,395
Posted By Andrew Wallo
Angry Can't abstract all variables in Registry Edit/Delete Call...HKLM must be clear text?

[ Preface, I realize that I now have three distinct discussions on abstracting variables out of compile time and into runtime.... I'll stop posting threads now until I get them resolved, but they ARE...
Forum: NSIS Discussion 21st August 2008, 17:12
Replies: 0
Views: 1,099
Posted By Andrew Wallo
Enumerating and abstracting function names.....function_Ptr anyone?

Based on insufficient solutions for resolving a string to its function name during runtime, ( see posts
Post on Rollbacks. (http://forums.winamp.com/showthread.php?postid=2393593#post2393593)
And...
Forum: NSIS Discussion 21st August 2008, 16:16
Replies: 17
Views: 10,458
Posted By Andrew Wallo
agreed......

Considering that we're sort of operating in an Assembly like stack mentality... I understand that the nice readable names get stored merely as a memory location.

Are you saying that there is no...
Forum: NSIS Discussion 21st August 2008, 01:24
Replies: 3
Views: 2,101
Posted By Andrew Wallo
Unhappy Um.... no...still needs compile-time literal to be present.

No..... GetFunctionAddress requires a literal.... i.e. This works

Function myFunctionName
Quit
FunctionEnd

GetFunctionAddress $R1 "myFunctionName"
GetFunctionAddress $R1 myFunctionName...
Forum: NSIS Discussion 21st August 2008, 01:21
Replies: 17
Views: 10,458
Posted By Andrew Wallo
Not the answer.... still requries compile time binding.

Sadly, that doesn't seem to work.... for example....

Function testCallback
MessageBox MB_OK "Called it"
FunctionEnd


;--------------------------------
; There are no sections or pages in...
Forum: NSIS Discussion 20th August 2008, 21:02
Replies: 3
Views: 2,101
Posted By Andrew Wallo
Runtime 'binding' of function....

Say I have three functions

Function myOne
StrCpy $R1 "1"
Function End


Function myTwo
StrCpy $R1 "2"
Function End
Forum: NSIS Discussion 20th August 2008, 20:50
Replies: 17
Views: 10,458
Posted By Andrew Wallo
rollback.nsh

I'm working on a nice rollback include. ( Aptly titled rollback.nsh ) Just a set of macros really, but it sets up a log that can be saved to a provided path.... builds the log...as you install or...
Forum: NSIS Discussion 11th August 2008, 21:20
Replies: 1
Views: 2,290
Posted By Andrew Wallo
Clarification....

Just so future readers understand.....

StrCpy $1
insertmacro StartRadioButtons $1
insertmacro RadioButtons a,b,c,d,e,f,g, etc...
insertmacro EndRadioButtons
StrCmp $1

Is a macro set for...
Forum: NSIS Discussion 11th August 2008, 17:49
Replies: 2
Views: 2,471
Posted By Andrew Wallo
Must check the master flag settings for the Setction Group prior to moving next buton

Greetings everyone,

I have a clear answer now to the issue that became rather cluttered on this post:

http://forums.winamp.com/showthread.php?s=&postid=2388180#post2388180

But a less...
Forum: NSIS Discussion 11th August 2008, 17:47
Replies: 1
Views: 2,290
Posted By Andrew Wallo
Start Radio Buttons macro doesn't handle section groups.

Greetings everyone,

I have a clear answer now to the issue that became rather cluttered on this post:

http://forums.winamp.com/showthread.php?s=&postid=2388180#post2388180

But a less...
Forum: NSIS Discussion 8th August 2008, 20:36
Replies: 2
Views: 2,471
Posted By Andrew Wallo
I'm not sure, but it seems as if it automatically...

I'm not sure, but it seems as if it automatically sets $1 to be the last in the list, if there was nothing selected.... and if you click on the SectionGroup 'radiobox' it acts as if theres nothing...
Showing results 1 to 25 of 33

 
Forum Jump