WriteINIStr problem
Problem is i need to modify the .ini file to make it display, for example, 123.
1.Make buttom
2.Click on buttom
3.Run .exe file
a custom page, that is set on a mypage.ini file, it has 4 buttoms and each one of this buttons calls the same installer with one diferent parameters, on my custompage.ini had 2 button fields like this:
[Field 1]
Type=Button
Text=INSTALL 0
Flags=NOTABSTOP
State=Installer\db.exe 0
Left=254
Right=304
Top=65
Bottom=75
[Field 2]
Type=Button
Text=INSTALL 1
Flags=NOTABSTOP
State=Installer\db.exe 1
Left=254
Right=304
Top=65
Bottom=75
but it does not work, if i use:
State=Installer\db.exe
without the parameter it works fine, but no parameters is set, is there anyway to make the .ini file to accept command lines with parameters?
Or add Section for only bottom
Section "PaintDesktopVersion" Extras_Paint
WriteRegDword HKCU "Control Panel\Desktop" "PaintDesktopVersion" 0x00000001
MessageBox MB_OK|MB_ICONINFORMATION ' Paint Desktop Version Enable '
MessageBox MB_OK|MB_ICONINFORMATION ' Please restart computer '
SectionEnd Plz Eeample for me.Best regards.
Thx in advance. 🙂