OutFile "test.exe"
Name "INI Test"
!define CLIENTNAME $6
!define SECTIONNAME "CLIENTNAME=${CLIENTNAME}"
Section
; Getting Clientname From Registry
ReadRegStr $1 HKCU "Software\BenVista\PhotoZoom Pro 2" "Registration"
ReadINIStr $2 "$EXEDIR\reg.ini" "Field 1" "Something 1"
WriteRegExpandStr HKCU "Software\BenVista\PhotoZoom Pro 2" "Registration" "$2"
ReadRegStr $1 HKCU "Software\BenVista\PhotoZoom Pro 2\WindowSettings" "Main"
ReadINIStr $2 "$EXEDIR\reg.ini" "Field 2" "Something 2"
WriteRegExpandStr HKCU "Software\BenVista\PhotoZoom Pro 2\WindowSettings" "Main" "$2"
SectionEnd
© 版权声明
THE END
暂无评论内容