Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. Function Test
  2. !insertmacro MUI_INSTALLOPTIONS_READ $0 "pageInputLicenseInfo.ini" "Settings" "State"
  3. ${If} $0 == 9 # btton
  4. !insertmacro MUI_INSTALLOPTIONS_READ $R0 "pageInputLicenseInfo.ini" "Field 1" "State"
  5. !insertmacro MUI_INSTALLOPTIONS_READ $R1 "pageInputLicenseInfo.ini" "Field 2" "State"
  6. !insertmacro MUI_INSTALLOPTIONS_READ $R2 "pageInputLicenseInfo.ini" "Field 3" "State"
  7. !insertmacro MUI_INSTALLOPTIONS_READ $R3 "pageInputLicenseInfo.ini" "Field 4" "State"
  8. !insertmacro MUI_INSTALLOPTIONS_READ $R4 "pageInputLicenseInfo.ini" "Field 5" "State"
  9. !insertmacro MUI_INSTALLOPTIONS_READ $R5 "pageInputLicenseInfo.ini" "Field 6" "State"
  10.  
  11. nsExec::ExecToStack '$INSTDIRParamterTestConsole.exe ${PRODUCT_NAME} $R0 $R1$R2$R3$R4$R5'
  12.  
  13. Pop $2 ; Exit code
  14. Pop $3 ; console OUTPUT
  15.  
  16. Blah blah..........
  17.  
  18. FunctionEnd
  19.  
  20. ; Ini file generated by the HM NIS Edit IO designer.
  21. [Settings]
  22. NumFields=14
  23. Title=test
  24.  
  25. [Field 1]
  26. Type=Text
  27. Text=1
  28. Left=29
  29. Right=275
  30. Top=46
  31. Bottom=57
  32.  
  33. [Field 2]
  34. Type=Text
  35. Text=123
  36. Left=30
  37. Right=60
  38. Top=67
  39. Bottom=78
  40.  
  41. [Field 3]
  42. Type=Text
  43. Text=123
  44. Left=74
  45. Right=103
  46. Top=67
  47. Bottom=78
  48.  
  49. [Field 4]
  50. Type=Text
  51. Text=123
  52. Left=121
  53. Right=149
  54. Top=67
  55. Bottom=78
  56.  
  57. [Field 5]
  58. Type=Text
  59. Text=123
  60. Left=164
  61. Right=193
  62. Top=67
  63. Bottom=78
  64.  
  65. [Field 6]
  66. Type=Text
  67. Text=123
  68. Left=206
  69. Right=236
  70. Top=67
  71. Bottom=78
  72.  
  73. [Field 7]
  74. Type=Label
  75. Text=IP
  76. Left=1
  77. Right=15
  78. Top=48
  79. Bottom=56
  80.  
  81. [Field 8]
  82. Type=Label
  83. Text=Key
  84. Left=1
  85. Right=20
  86. Top=70
  87. Bottom=78
  88.  
  89. [Field 9]
  90. Type=Button
  91. Text=enter
  92. Flags=NOTIFY
  93. Left=225
  94. Right=275
  95. Top=92
  96. Bottom=105
  97.  
  98. [Field 10]
  99. Type=Label
  100. Text=※
  101. Enter four digits.
  102. Left=0
  103. Right=152
  104. Top=26
  105. Bottom=43
  106.  
  107. [Field 11]
  108. Type=Label
  109. Text=-
  110. Left=154
  111. Right=160
  112. Top=68
  113. Bottom=80
  114.  
  115. [Field 12]
  116. Type=Label
  117. Text=-
  118. Left=199
  119. Right=205
  120. Top=68
  121. Bottom=76
  122.  
  123. [Field 13]
  124. Type=Label
  125. Text=-
  126. Left=110
  127. Right=116
  128. Top=68
  129. Bottom=76
  130.  
  131. [Field 14]
  132. Type=Label
  133. Text=-
  134. Left=64
  135. Right=70
  136. Top=68
  137. Bottom=76
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement