NSIS 替换文件中的内容

NSIS 替换文件中的内容
Textreplace插件的使用:

1  ! include  " TextReplace.nsh "
2 
3  ${textreplace::ReplaceInFile}  " c:\1.txt "   " c:\1.txt "   " %Install% "   " 替换的内容 "   " /S=1 "  $ 4
4  ${textreplace::FreeReadBuffer}  " $4 "
5  ${textreplace::Unload}

你可能感兴趣的:(NSIS 替换文件中的内容)