Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

414 lines
9.1 KiB

  1. Document Type: IPF
  2. item: Global
  3. Version=6.0
  4. Flags=00000100
  5. Languages=0 0 65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  6. LanguagesList=English
  7. Default Language=2
  8. Japanese Font Name=MS Gothic
  9. Japanese Font Size=10
  10. Start Gradient=0 0 255
  11. End Gradient=0 0 0
  12. Windows Flags=00010100001000000010110001010010
  13. Log Pathname=%WIN%\IE55UserRightsDeployment.txt
  14. Message Font=MS Sans Serif
  15. Font Size=8
  16. Disk Filename=SETUP
  17. Patch Flags=0000000000000001
  18. Patch Threshold=85
  19. Patch Memory=4000
  20. FTP Cluster Size=20
  21. end
  22. item: Open/Close INSTALL.LOG
  23. end
  24. item: Remark
  25. end
  26. item: Remark
  27. Text= CHECK IE VERSION
  28. end
  29. item: Get Registry Key Value
  30. Variable=IEVERSION
  31. Key=SOFTWARE\Microsoft\Internet Explorer
  32. Value Name=Version
  33. Flags=00000100
  34. end
  35. item: If/While Statement
  36. Variable=IEVERSION
  37. Value=6.0
  38. Flags=00001001
  39. end
  40. item: Remark
  41. Text= IE INSTALL FAILED - RECORD AND EXIT
  42. end
  43. item: Add Text to INSTALL.LOG
  44. Text=IE Install failed:
  45. end
  46. item: Add Text to INSTALL.LOG
  47. Text="HKLM\SOFTWARE\Microsoft\Internet Explorer\Version"=%IEVERSION% ...shoud be higher than 5.5x to indicate success
  48. end
  49. item: Add Text to INSTALL.LOG
  50. Text=+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  51. end
  52. item: Check if File/Dir Exists
  53. Pathname=%WIN%\ISMIF32.DLL
  54. Flags=00000100
  55. end
  56. item: Copy Local File
  57. Source=%WIN%\ISMIF32.DLL
  58. Destination=%TEMP%\ISMIF32.DLL
  59. Flags=0000000001000010
  60. end
  61. item: Call DLL Function
  62. Pathname=%TEMP%\ISMIF32.dll
  63. Function Name=InstallStatusMIF
  64. Argument List=41IESMSWRAP
  65. Argument List=41MS
  66. Argument List=41IE
  67. Argument List=4155
  68. Argument List=41ENU
  69. Argument List=41serial-number
  70. Argument List=41Internet Explorer 6 installation failed
  71. Argument List=010
  72. Return Variable=0DLLRET
  73. Flags=00100000
  74. end
  75. item: Delete File
  76. Pathname=%TEMP%\ISMIF32.DLL
  77. end
  78. item: End Block
  79. end
  80. item: Exit Installation
  81. end
  82. item: Else Statement
  83. end
  84. item: Remark
  85. Text= IE INSTALL SUCCEEDED
  86. end
  87. item: Add Text to INSTALL.LOG
  88. Text=IE6.0 Install Succeeded
  89. end
  90. item: End Block
  91. end
  92. item: Remark
  93. end
  94. item: Remark
  95. end
  96. item: Remark
  97. Text= CHECK OS
  98. end
  99. item: Get Environment Variable
  100. Variable=OS
  101. Environment=OS
  102. end
  103. item: Add Text to INSTALL.LOG
  104. Text=OS Environment Variable = %OS%
  105. end
  106. item: Remark
  107. end
  108. item: If/While Statement
  109. Variable=OS
  110. Value=NT
  111. Flags=00000011
  112. end
  113. item: Set Variable
  114. Variable=SYSTEM
  115. Value=%SYS%
  116. end
  117. item: Else Statement
  118. end
  119. item: Set Variable
  120. Variable=SYSTEM
  121. Value=%SYS32%
  122. end
  123. item: End Block
  124. end
  125. item: Remark
  126. end
  127. item: Remark
  128. Text= CHECK FOR THE WINDOWS INSTALLER
  129. end
  130. item: Check if File/Dir Exists
  131. Pathname=%SYSTEM%\MSI.DLL
  132. Title English=SMS Wrapper
  133. Flags=00000101
  134. end
  135. item: Add Text to INSTALL.LOG
  136. Text=%SYSTEM%\MSI.DLL not present... attempting to install the Windows Installer
  137. end
  138. item: Remark
  139. Text= TRY TO INSTALL THE WINDOWS INSTALLER
  140. end
  141. item: If/While Statement
  142. Variable=OS
  143. Value=NT
  144. Flags=00000011
  145. end
  146. item: Install File
  147. Source=.\INSTMSI.EXE
  148. Destination=%TEMP%\INSTMSI.EXE
  149. Flags=0000000000000010
  150. end
  151. item: Else Statement
  152. end
  153. item: Install File
  154. Source=.\INSTMSIW.EXE
  155. Destination=%TEMP%\INSTMSI.EXE
  156. Flags=0000000000000010
  157. end
  158. item: End Block
  159. end
  160. item: Execute Program
  161. Pathname=%TEMP%\instmsi.exe
  162. Command Line=/q /r:n
  163. Flags=00000010
  164. end
  165. item: Delete File
  166. Pathname=%TEMP%\instmsi.exe
  167. end
  168. item: Check if File/Dir Exists
  169. Pathname=%SYSTEM%\MSI.DLL
  170. Title English=SMS Wrapper
  171. Flags=00000101
  172. end
  173. item: Remark
  174. Text= FAILED TO INSTALL THE WINDOWS INSTALLER
  175. end
  176. item: Add Text to INSTALL.LOG
  177. Text=%SYSTEM%\MSI.DLL not present, failed to install the Windows Installer
  178. end
  179. item: Add Text to INSTALL.LOG
  180. Text=+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  181. end
  182. item: Check if File/Dir Exists
  183. Pathname=%WIN%\ISMIF32.DLL
  184. Flags=00000100
  185. end
  186. item: Copy Local File
  187. Source=%WIN%\ISMIF32.DLL
  188. Destination=%TEMP%\ISMIF32.DLL
  189. Flags=0000000001000010
  190. end
  191. item: Call DLL Function
  192. Pathname=%TEMP%\ISMIF32.dll
  193. Function Name=InstallStatusMIF
  194. Argument List=41IESMSWRAP
  195. Argument List=41MS
  196. Argument List=41IE
  197. Argument List=4155
  198. Argument List=41ENU
  199. Argument List=41serial-number
  200. Argument List=41Failed to install the Windows Installer
  201. Argument List=010
  202. Return Variable=0DLLRET
  203. Flags=00100000
  204. end
  205. item: Delete File
  206. Pathname=%TEMP%\ISMIF32.DLL
  207. end
  208. item: End Block
  209. end
  210. item: Exit Installation
  211. end
  212. item: End Block
  213. end
  214. item: Add Text to INSTALL.LOG
  215. Text=Windows Installer is installed.
  216. end
  217. item: Else Statement
  218. end
  219. item: Add Text to INSTALL.LOG
  220. Text=Windows Installer is already installed on the system
  221. end
  222. item: End Block
  223. end
  224. item: Remark
  225. end
  226. item: If/While Statement
  227. Variable=OS
  228. Value=NT
  229. Flags=00000011
  230. end
  231. item: Remark
  232. Text= WIN9x - REPORT STATUS AND EXIT
  233. end
  234. item: Add Text to INSTALL.LOG
  235. Text=System is running a Windows 9X OS
  236. end
  237. item: Add Text to INSTALL.LOG
  238. Text=+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  239. end
  240. item: Edit Registry
  241. Total Keys=1
  242. Key=Software\Microsoft\Windows\CurrentVersion\RunOnce
  243. New Value=%SYS%\IE5MSI.EXE /3
  244. Value Name=IE5MSI
  245. Root=2
  246. end
  247. item: Install File
  248. Source=..\..\active\ie5msi\obj\i386\ie5msi.exe
  249. Destination=%SYS%\ie5msi.exe
  250. Flags=0000000000000010
  251. end
  252. item: Check if File/Dir Exists
  253. Pathname=%WIN%\ISMIF32.DLL
  254. Flags=00000100
  255. end
  256. item: Copy Local File
  257. Source=%WIN%\ISMIF32.DLL
  258. Destination=%TEMP%\ISMIF32.DLL
  259. Flags=0000000001000010
  260. end
  261. item: Call DLL Function
  262. Pathname=%TEMP%\ISMIF32.dll
  263. Function Name=InstallStatusMIF
  264. Argument List=41IESMSWRAP
  265. Argument List=41MS
  266. Argument List=41IE
  267. Argument List=4155
  268. Argument List=41ENU
  269. Argument List=41serial-number
  270. Argument List=41Internet Explorer Install Succeeded
  271. Argument List=011
  272. Return Variable=0DLLRET
  273. Flags=00100000
  274. end
  275. item: Delete File
  276. Pathname=%TEMP%\ISMIF32.DLL
  277. end
  278. item: End Block
  279. end
  280. item: Exit Installation
  281. end
  282. item: Else Statement
  283. end
  284. item: Remark
  285. Text= WINNT CODE PATH
  286. end
  287. item: Add Text to INSTALL.LOG
  288. Text=System is running a Windows NT or Windows 2000 OS
  289. end
  290. item: Get Registry Key Value
  291. Variable=IEAPPATH
  292. Key=SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE
  293. Value Name=Path
  294. Flags=00000100
  295. end
  296. item: Parse String
  297. Source=%IEAPPATH%
  298. Pattern=;
  299. Variable1=IEEXPLOREPATH
  300. end
  301. item: Add Text to INSTALL.LOG
  302. Text=IE installed to "%IEEXPLOREPATH%"
  303. end
  304. item: Install File
  305. Source=..\..\active\ie5msi\obj\i386\ie5msi.exe
  306. Destination=%SYS32%\ie5msi.exe
  307. Flags=0000000000000010
  308. end
  309. item: Install File
  310. Source=..\..\active\ie5msi\ie5.msi
  311. Destination=%SYS32%\ie5.msi
  312. Flags=0000000000000010
  313. end
  314. item: Execute Program
  315. Pathname=%SYS32%\ie5msi.exe
  316. Flags=00000010
  317. end
  318. item: Get Registry Key Value
  319. Variable=URDSTATUS
  320. Key=SOFTWARE\Microsoft\Internet Explorer
  321. Default=0
  322. Value Name=URDReturnCode
  323. Flags=00000010
  324. end
  325. item: Edit Registry
  326. Total Keys=1
  327. Key=SOFTWARE\Microsoft\Internet Explorer
  328. Value Name=URDReturnCode
  329. Root=193
  330. end
  331. item: If/While Statement
  332. Variable=URDSTATUS
  333. Value=0
  334. end
  335. item: Add Text to INSTALL.LOG
  336. Text=Succeeded in preparing IE install for Windows Installer file registration
  337. end
  338. item: Add Text to INSTALL.LOG
  339. Text=Ready to reboot the system
  340. end
  341. item: Add Text to INSTALL.LOG
  342. Text=+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  343. end
  344. item: Check if File/Dir Exists
  345. Pathname=%WIN%\ISMIF32.DLL
  346. Flags=00000100
  347. end
  348. item: Copy Local File
  349. Source=%WIN%\ISMIF32.DLL
  350. Destination=%TEMP%\ISMIF32.DLL
  351. Flags=0000000001000010
  352. end
  353. item: Call DLL Function
  354. Pathname=%TEMP%\ISMIF32.dll
  355. Function Name=InstallStatusMIF
  356. Argument List=41IESMSWRAP
  357. Argument List=41MS
  358. Argument List=41IE
  359. Argument List=4155
  360. Argument List=41ENU
  361. Argument List=41serial-number
  362. Argument List=41Internet Explorer Install Succeeded
  363. Argument List=011
  364. Return Variable=0DLLRET
  365. Flags=00100000
  366. end
  367. item: Delete File
  368. Pathname=%TEMP%\ISMIF32.DLL
  369. end
  370. item: End Block
  371. end
  372. item: Else Statement
  373. end
  374. item: Add Text to INSTALL.LOG
  375. Text=Failed in preparing IE install for Windows Installer file registration
  376. end
  377. item: Add Text to INSTALL.LOG
  378. Text=Ready to reboot the system
  379. end
  380. item: Add Text to INSTALL.LOG
  381. Text=+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  382. end
  383. item: Check if File/Dir Exists
  384. Pathname=%WIN%\ISMIF32.DLL
  385. Flags=00000100
  386. end
  387. item: Copy Local File
  388. Source=%WIN%\ISMIF32.DLL
  389. Destination=%TEMP%\ISMIF32.DLL
  390. Flags=0000000001000010
  391. end
  392. item: Call DLL Function
  393. Pathname=%TEMP%\ISMIF32.dll
  394. Function Name=InstallStatusMIF
  395. Argument List=41IESMSWRAP
  396. Argument List=41MS
  397. Argument List=41IE
  398. Argument List=4155
  399. Argument List=41ENU
  400. Argument List=41serial-number
  401. Argument List=41Failed to prepare machine for user login. Administrator must login after restart.
  402. Argument List=010
  403. Return Variable=0DLLRET
  404. Flags=00100000
  405. end
  406. item: Delete File
  407. Pathname=%TEMP%\ISMIF32.DLL
  408. end
  409. item: End Block
  410. end
  411. item: End Block
  412. end
  413. item: End Block
  414. end