Talk:ConfigWrite: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
(No difference)

Revision as of 14:50, 2 August 2005

CONFIG.SYS >

device=c:\windows\himem.sys /testmem:off device=c:\windows\EMM386.EXE NOEMS dos=high,umb files=80 deviceHIGH=c:\windows\SETVER.EXE deviceHIGH=c:\windows\COMMAND\display.sys con=(ega,,1) Country=090,857,c:\windows\COMMAND\country.sys

I need to change config.sys like above but there are two keys device so is it work if i simply call function as

Section ${ConfigWrite} "C:\config.sys" "device=c:\windows\himem.sys " " /testmem:off" $R0 ;$R0=CHANGED SectionEnd

Section ${ConfigWrite} "C:\config.sys" "device=c:\windows\EMM386.EXE " " NOEMS" $R0 ;$R0=CHANGED SectionEnd Section ${ConfigWrite} "C:\config.sys" "deviceHIGH=c:\windows\SETVER" ".EXE" $R0 ;$R0=CHANGED SectionEnd