home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 July / Chip_2000-07_cd.bin / sharewar / post-it / pn22ftus.exe / psn2ofc.inf < prev    next >
Windows Setup INFormation  |  1999-09-03  |  48KB  |  1,426 lines

  1. ;DO NOT DELETE THIS FILE
  2. ;IT IS NEEDED FOR INSTALLATION OF SYSTEM AND PROGRAM FILES FOR PSN2
  3. ;
  4. ;Copyright 1999 - 3M Corporation
  5. ;
  6. ; NOTE: Entries are processed in the following order within sections:
  7. ;       To decide whether the step needs to be processed:
  8. ;        CheckFileVers (multiple in order)
  9. ;        CheckRegVers (multiple in order)
  10. ;        CheckRegEq or CheckRegNotEq (only 1)
  11. ;    To notify user of license agreement:
  12. ;           License (only 1)
  13. ;       To decide whether there is enough disk space to install:
  14. ;        CheckDiskSpace (multiple in order)
  15. ;       To process the step:
  16. ;           SetDir (multiple in order; cannot use directory in same section that it is set)
  17. ;           Reboot (only 1)
  18. ;           CopyFile (multiple in order)
  19. ;           DeleteFile (multiple in order)
  20. ;           RegSrvr or UnregSrvr (multiple in order)
  21. ;           Execute (multiple in order)
  22. ;           Setup (multiple in order)
  23. ;           DeleteDir (multiple in order)
  24.  
  25. ;----------------------------------------------------------------------------------------------
  26. ; inf file version information:
  27. ;----------------------------------------------------------------------------------------------
  28. [Version]
  29. Signature="$Windows NT$"
  30. Provider="3M Corporation"
  31.  
  32.  
  33. ;----------------------------------------------------------------------------------------------
  34. ; init section processed when inf file opened:
  35. ;----------------------------------------------------------------------------------------------
  36. [Init]
  37.  
  38. ;----------------------------------------------------------------------------------------------
  39. ; language to install in (setlocale Microsoft language strings), such as:
  40. ; usa = US English (language id 0x0409)
  41. ; eng = UK English (language id 0x0809)
  42. ; fra = French (language id 0x040c)
  43. ; deu = German (language id 0x0407)
  44. ; ita = Italian (language id 0x0410)
  45. ; esp = Spanish (language id 0x040a)
  46. ;----------------------------------------------------------------------------------------------
  47. Language: usa
  48.  
  49. ;----------------------------------------------------------------------------------------------
  50. ; supported O/S's:
  51. ;----------------------------------------------------------------------------------------------
  52. WIN95: Win95
  53. WIN98: Win98
  54. WINNT4: NT4
  55. WINNT5: NT4
  56.  
  57. ;----------------------------------------------------------------------------------------------
  58. ; Directories defined when inf file opened:
  59. ;----------------------------------------------------------------------------------------------
  60. ; default program directory
  61. SetDir: 34000, "%1\3M\PSNotes2", "HKLM,Software\Microsoft\Windows\CurrentVersion\ProgramFilesDir"
  62.  
  63. ; source location of system files for psn2 install
  64. SetDir: 33001, "%01%\psn2sys"
  65.  
  66. ; source location of psn2 application files for psn2 install
  67. SetDir: 33002, "%01%\psn2app"
  68.  
  69. ; source location of psn1 application files for psn2 install
  70. SetDir: 33003, "%01%\psn1app"
  71.  
  72. ; previously installed web note plugin dll
  73. SetDir: 33300, "HKCR,CLSID\{CD62C183-73CE-11d0-8F56-0020AF6DCD1D}\InprocServer32\"
  74.  
  75. ; previously installed PSN2 update dll
  76. SetDir: 33301, "HKCR,CLSID\{B817734E-046C-11D3-B674-00104BA25195}\InprocServer32\"
  77.  
  78. ; previously installed Post-it Software Notes Viewer exe & directory
  79. SetDir: 33500, "HKCR,CLSID\{F223DEC5-73A1-11d0-8F56-0020AF6DCD1D}\LocalServer32\"
  80. SetDir: 33501, "HKCR,CLSID\{F223DEC5-73A1-11d0-8F56-0020AF6DCD1D}\LocalServer32\", "..\"
  81.  
  82. ; previously installed Post-it Software Note V1 32-bit exe or V2 FauxNotes exe
  83. SetDir: 33400, "HKCR,CLSID\{93E64050-FA6D-11CE-99F8-0020AF6DCD1D}\LocalServer32\"
  84.  
  85. ; previously installed Post-it Software Note V2 exe & directory
  86. SetDir: 33600, "HKCR,CLSID\{11944A41-6CE5-11d1-9004-0020AF6DCD1D}\LocalServer32\"
  87. SetDir: 33601, "HKCR,CLSID\{11944A41-6CE5-11d1-9004-0020AF6DCD1D}\LocalServer32\", "..\"
  88.  
  89. ; Explorer Auto Startup Directory Locations
  90. SetDir: 34011, "HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Common Startup"
  91. SetDir: 34012, "HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Startup"
  92.  
  93. ; Explorer Start Program Directory Locations
  94. SetDir: 34021, "HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Common Programs"
  95. SetDir: 34022, "HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Programs"
  96.  
  97. ; Explorer Desktop Directory Locations
  98. SetDir: 34031, "HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Common Desktop"
  99. SetDir: 34032, "HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Desktop"
  100.  
  101. ; Explorer Start Menu Directory Locations
  102. SetDir: 34041, "HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Common Start Menu"
  103. SetDir: 34042, "HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Start Menu"
  104.  
  105. ; Internet Explorer plugins directory Locations
  106. SetDir: 34051, "HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ActiveX Cache\0"
  107. SetDir: 34052, "%10%\OCCache"
  108.  
  109. ; Netscape directory
  110. SetDir: 34060, "HKCR,CLSID\%1\LocalServer32\", "HKCR,NetscapeMarkup\CLSID\", "..\"
  111.  
  112. ; Netscape exe
  113. SetDir: 34065, "HKCR,CLSID\%1\LocalServer32\", "HKCR,NetscapeMarkup\CLSID\"
  114.  
  115. ; Internet Explorer exe
  116. SetDir: 34070, "HKCR,CLSID\{0002DF01-0000-0000-C000-000000000046}\LocalServer32\"
  117.  
  118. ; XML Parser exe
  119. SetDir: 34075, "HKCR,CLSID\{C5B622AC-3EA1-11D2-B9EF-0020781058D3}\InProcServer32\"
  120.  
  121.  
  122. ;----------------------------------------------------------------------------------------------
  123. ; Directories defined for Win95 after Init section when inf file opened
  124. ; (These directories depend on directories previously defined in Init section):
  125. ;----------------------------------------------------------------------------------------------
  126. [SetDirs.Win95]
  127. ; Explorer Auto Startup Directory
  128. SetDir: 34010, "%34012%"
  129.  
  130. ; Explorer Start Program Directory
  131. SetDir: 34020, "%34022%"
  132.  
  133. ; Explorer Desktop Directory
  134. SetDir: 34030, "%34032%"
  135.  
  136. ; Explorer Start Menu Directory
  137. SetDir: 34040, "%34042%"
  138.  
  139. ; Internet Explorer plugins directory
  140. SetDir: 34050, "%34051%|%34052%"
  141.  
  142. ; Netscape old plugins directory
  143. SetDir: 34061, "%34060%\Plugins"
  144.  
  145. ; Netscape 3M plugins directory
  146. SetDir: 34062, "%34060%\Plugins\3M\WebNotes"
  147.  
  148. ; Netscape V3 java classes directory
  149. SetDir: 34063, "%34060%\Java\Classes"
  150.  
  151. ; Netscape V4 java classes directory
  152. SetDir: 34064, "%34060%\Java\Download"
  153.  
  154.  
  155. ;----------------------------------------------------------------------------------------------
  156. ; Directories defined for Win98 after Init section when inf file opened
  157. ; (These directories depend on directories previously defined in Init section):
  158. ;----------------------------------------------------------------------------------------------
  159. [SetDirs.Win98]
  160. ; Explorer Auto Startup Directory
  161. SetDir: 34010, "%34012%"
  162.  
  163. ; Explorer Start Program Directory
  164. SetDir: 34020, "%34022%"
  165.  
  166. ; Explorer Desktop Directory
  167. SetDir: 34030, "%34032%"
  168.  
  169. ; Explorer Start Menu Directory
  170. SetDir: 34040, "%34042%"
  171.  
  172. ; Internet Explorer plugins directory
  173. SetDir: 34050, "%34051%|%34052%"
  174.  
  175. ; Netscape old plugins directory
  176. SetDir: 34061, "%34060%\Plugins"
  177.  
  178. ; Netscape 3M plugins directory
  179. SetDir: 34062, "%34060%\Plugins\3M\WebNotes"
  180.  
  181. ; Netscape V3 java classes directory
  182. SetDir: 34063, "%34060%\Java\Classes"
  183.  
  184. ; Netscape V4 java classes directory
  185. SetDir: 34064, "%34060%\Java\Download"
  186.  
  187.  
  188. ;----------------------------------------------------------------------------------------------
  189. ; Directories defined for NT4 after Init section when inf file opened
  190. ; (These directories depend on directories previously defined in Init section):
  191. ;----------------------------------------------------------------------------------------------
  192. [SetDirs.NT4]
  193. ; Explorer Auto Startup Directory
  194. SetDir: 34010,  "%34011%|%34012%"
  195.  
  196. ; Explorer Start Program Directory
  197. SetDir: 34020, "%34021%|%34022%"
  198.  
  199. ; Explorer Desktop Directory
  200. SetDir: 34030, "%34031%|%34032%"
  201.  
  202. ; Explorer Start Menu Directory
  203. SetDir: 34040, "%34041%|%34042%"
  204.  
  205. ; Internet Explorer plugins directory
  206. SetDir: 34050, "%34051%|%34052%"
  207.  
  208. ; Netscape old plugins directory
  209. SetDir: 34061, "%34060%\Plugins"
  210.  
  211. ; Netscape 3M plugins directory
  212. SetDir: 34062, "%34060%\Plugins\3M\WebNotes"
  213.  
  214. ; Netscape V3 java classes directory
  215. SetDir: 34063, "%34060%\Java\Classes"
  216.  
  217. ; Netscape V4 java classes directory
  218. SetDir: 34064, "%34060%\Java\Download"
  219.  
  220.  
  221. ;----------------------------------------------------------------------------------------------
  222. ; Directories dynamically redefined when any section is processed:
  223. ;----------------------------------------------------------------------------------------------
  224. [ResetDirs]
  225. ; default install directory short path name, later set to user selected install directory
  226. SetDir: 33005, "%1"
  227.  
  228. ; default install directory, later set to user selected install directory
  229. SetDir: 33000, "%2"
  230.  
  231. ; previously installed PSN V1 16 or 32-bit exe directory
  232. SetDir: 33004, "%3"
  233.  
  234. ; newly installed PSN Messenger server
  235. SetDir: 33510, "HKCR,CLSID\{54D06E90-392C-11D3-AD4E-0004ACAE5FDC}\InprocServer32\"
  236.  
  237.  
  238. ;----------------------------------------------------------------------------------------------
  239. ; installation steps (must be consecutive starting with 1):
  240. ;----------------------------------------------------------------------------------------------
  241. [Install]
  242. ; install system upgrades if needed
  243. ; the following sections require administrator privileges to update NT system:
  244. Install1: Msvcrt, %Msvcrt%
  245. Install2: CommCtrl, %CommCtrl%
  246. Install3: DCOM, %DCOM%
  247. Install4: SysReg, %SysReg%
  248. Install5: DCOMReg, %DCOMReg%
  249. ; the following sections don't need system privileges:
  250. Install6: Richedit, %Richedit%
  251. Install7: ComCtl, %ComCtl%
  252. Install8: XMLParser, %XMLParser%
  253.  
  254. ; upgrade to latest PSN V1.5+ if PSN V1 present
  255. Install9: AddPsn15, %AddPsn15%
  256.  
  257. ; backup notes from PSN V2 if present
  258. Install10: BakPsn2, %BakPsn2%
  259.  
  260. ; install PSN V2
  261. Install11: InstallPsn2, %InstallPsn2%
  262.  
  263. ; setup PSN V2 VBox:
  264. Install12: Psn2VBox, %InstallPsn2%
  265.  
  266. ; backup notes from PSN V1 if present
  267. Install13: BakPsn1, %BakPsn1%
  268.  
  269. ; install net note for IE
  270. Install14: IENetNote, %IENetNote%
  271.  
  272. ; install net note for Netscape V3 or V4 if present
  273. Install15: NS3NetNote, %NS3NetNote%
  274. Install16: NS4NetNote, %NS4NetNote%
  275.  
  276. ; remove previous PSN V2 if not reinstalled in same directory
  277. Install17: DelPsn2, %DelPsn2%
  278.  
  279. ; remove previous installation of PSN V1
  280. Install18: DelPsn1, %DelPsn1%
  281.  
  282. ; check if reboot needed to register plugins
  283. Install19: RegPlugin, %Reboot%
  284.  
  285. ; reboot if needed by system upgrade or file copies
  286. Install20: Reboot, %Reboot%
  287.  
  288. ; use latest PSN V1.5+ to export PSN V1 notes & mail address book if present
  289. Install21: Psn1Export, %Psn1Export%
  290.  
  291. ; unregister Psn V1 & finish cleanup:
  292. Install22: UnregPsn1, %UnregPsn1%
  293.  
  294. ; register PSN V2 dlls
  295. Install23: RegDlls, %RegPsn2%
  296.  
  297. ; import PSN V1 notes into PSN V2 if previous notes present (custom code)
  298.  
  299. ; register PSN V2 other applications
  300. Install24: RegApps
  301.  
  302. ; register PSN V2 application
  303. Install25: RegPsn2
  304.  
  305. ; delete PSN Lite Viewer application after moving notes to PSN2 via FauxNotes
  306. Install26: DelViewer
  307.  
  308. ; launch PSN2 conduit installer
  309. Install27: InstallConduit
  310.  
  311. ; end of install processing
  312. Install28: RunApps
  313.  
  314. ; start WORD/WordPad to show Readme.doc file content to user if requested
  315. Install29: Readme
  316.  
  317. ; remove self-extracting installer temp files if reboot may have left them behind
  318. Install30: DelSelfExtract
  319.  
  320. ; remove PSN2 Installer files that are not in use if copied for reboot
  321. Install31: DelPsn2Inst
  322.  
  323. ; store user information in system registry
  324. UserName: "HKCU,Software\3M\Post-it(R) Software Notes V2\System\CommonName"
  325.  
  326.  
  327. ;----------------------------------------------------------------------------------------------
  328. ; install/upgrade Microsoft C Runtime library for Win95/Win98/NT4:
  329. ;----------------------------------------------------------------------------------------------
  330. [Msvcrt]
  331. CheckFileVers: "%11%\msvcrt.dll", "5,0,0,7128"
  332. CheckDiskSpace: "%11%\", "%33001%\msvcrt.dll"
  333. Setup: SetupMsvcrt
  334.  
  335. [SetupMsvcrt]
  336. CopyFiles=CopyMsvcrt
  337.  
  338. [CopyMsvcrt]
  339. msvcrt.dll, msvcrt.dll,,0x00000020
  340.  
  341.  
  342. ;----------------------------------------------------------------------------------------------
  343. ; install/upgrade Microsoft Common Control dll for Win95/Win98/NT4:
  344. ;----------------------------------------------------------------------------------------------
  345. [CommCtrl.Win95]
  346. CheckFileVers: "%11%\comctl32.dll", "4,72,2106,4"
  347. License: "%33001%\comctlic.txt", %COMCTL32%
  348. CheckDiskSpace: "%11%\", 465000
  349. Reboot: Set
  350. Execute: 120, 0, """%33001%\40comupd.exe"" /r:n /q:a"
  351.  
  352. [CommCtrl.Win98]
  353. CheckFileVers: "%11%\comctl32.dll", "4,72,3110,1"
  354. License: "%33001%\comctlic.txt", %COMCTL32%
  355. CheckDiskSpace: "%11%\", 465000
  356. Reboot: Set
  357. Execute: 120, 0, """%33001%\40comupd.exe"" /r:n /q:a"
  358.  
  359. [CommCtrl.NT4]
  360. CheckFileVers: "%11%\comctl32.dll", "4,72,2106,4"
  361. License: "%33001%\comctlic.txt", %COMCTL32%
  362. CheckDiskSpace: "%11%\", 465000
  363. Reboot: Set
  364. Execute: 120, 0, """%33001%\40comupd.exe"" /r:n /q:a"
  365.  
  366.  
  367. ;----------------------------------------------------------------------------------------------
  368. ; install/upgrade Microsoft DCOM for Win95/Win98 (not NT):
  369. ;----------------------------------------------------------------------------------------------
  370. [DCOM.Win95]
  371. CheckRegVers: "HKCR,CLSID\{bdc67890-4fc0-11d0-a805-00aa006d2ea4}\InstalledVersion\", "4,71,0,3328"
  372. License: "%33001%\dcm95lic.txt", %DCOM95%
  373. CheckDiskSpace: "%11%\", 1414000
  374. Execute: 120, 0, """%33001%\dcom95.exe"" /r:n /q:u"
  375.  
  376. [DCOM.Win98]
  377. CheckRegVers: "HKCR,CLSID\{bdc67890-4fc0-11d0-a805-00aa006d2ea4}\InstalledVersion\", "4,71,0,3328"
  378. License: "%33001%\dcm98lic.txt", %DCOM98%
  379. CheckDiskSpace: "%11%\", 1414000
  380. Execute: 120, 0, """%33001%\dcom98.exe"" /r:n /q:u"
  381.  
  382.  
  383. ;----------------------------------------------------------------------------------------------
  384. ; update Win95/Win98 system registry:
  385. ;----------------------------------------------------------------------------------------------
  386. [SysReg.Win95]
  387. CheckRegNotEq: "Y", "HKLM,Software\Microsoft\OLE\EnableRemoteConnect"
  388. Setup: SetupSysReg
  389.  
  390. [SysReg.Win98]
  391. CheckRegNotEq: "Y", "HKLM,Software\Microsoft\OLE\EnableRemoteConnect"
  392. Setup: SetupSysReg
  393.  
  394. [SetupSysReg]
  395. AddReg=AddSysReg
  396.  
  397. [AddSysReg]
  398. HKLM,Software\Microsoft\OLE,"EnableRemoteConnect",,"Y"
  399.  
  400.  
  401. ;----------------------------------------------------------------------------------------------
  402. ; update Win95/Win98/NT4 system registry for DCOM:
  403. ;----------------------------------------------------------------------------------------------
  404. [DCOMReg.Win95]
  405. CheckRegNotEq: "Y", "HKLM,Software\Microsoft\OLE\EnableDCOM"
  406. Reboot: Set
  407. Setup: SetupDCOMReg
  408.  
  409. [DCOMReg.Win98]
  410. CheckRegNotEq: "Y", "HKLM,Software\Microsoft\OLE\EnableDCOM"
  411. Reboot: Set
  412. Setup: SetupDCOMReg
  413.  
  414. [DCOMReg.NT4]
  415. ; reboot not needed even if enable DCOM flag changed on the fly in NT4
  416. CheckRegNotEq: "Y", "HKLM,Software\Microsoft\OLE\EnableDCOM"
  417. Setup: SetupDCOMReg
  418.  
  419. [SetupDCOMReg]
  420. AddReg=AddDCOMReg
  421.  
  422. [AddDCOMReg]
  423. HKLM,Software\Microsoft\OLE,"EnableDCOM",,"Y"
  424.  
  425.  
  426. ;----------------------------------------------------------------------------------------------
  427. ; install/upgrade Microsoft Rich Text control for Win95/Win98/NT4:
  428. ;----------------------------------------------------------------------------------------------
  429. [Richedit]
  430. CheckFileVers: "%11%\Riched20.dll", "5,0,120,8"
  431. CheckDiskSpace: "%11%\", "%33001%\Riched20.dll"
  432. Setup: SetupRichedit
  433.  
  434. [SetupRichedit]
  435. CopyFiles=CopyRichedit
  436.  
  437. [CopyRichedit]
  438. Riched20.dll, Riched20.dll,,0x00000020
  439.  
  440.  
  441. ;----------------------------------------------------------------------------------------------
  442. ; install/upgrade Microsoft Common Control ocx for Win95/Win98/NT4:
  443. ;----------------------------------------------------------------------------------------------
  444. [ComCtl]
  445. CheckFileVers: "%11%\comctl32.ocx", "5,01,43,19"
  446. CheckDiskSpace: "%11%\", "%33001%\comctl32.ocx"
  447. Setup: SetupComCtl
  448.  
  449. [SetupComCtl]
  450. CopyFiles=CopyComCtl
  451.  
  452. [CopyComCtl]
  453. comctl32.ocx, comctl32.ocx,,0x00000020
  454.  
  455.  
  456. ;----------------------------------------------------------------------------------------------
  457. ; install/upgrade XML Parser for Win95/Win98/NT4:
  458. ;----------------------------------------------------------------------------------------------
  459. [XMLParser]
  460. CheckFileVers: "%34075%", "2,0,0,0"
  461. CheckDiskSpace: "%11%\", "%33001%\CUEXml.ocx"
  462. Setup: SetupXML
  463.  
  464. [SetupXML]
  465. CopyFiles=CopyXML
  466.  
  467. [CopyXML]
  468. CUEXml.ocx, CUEXml.ocx,,0x00000020
  469.  
  470.  
  471. ;----------------------------------------------------------------------------------------------
  472. ; backup notes from PSN V2 if present and not installing in same directory:
  473. ;----------------------------------------------------------------------------------------------
  474. [BakPsn2]
  475. CheckDiskSpace: CheckSpaceBakPsn2
  476. Setup: CopyNotes.OPT, "%33601%"
  477.  
  478. [CheckSpaceBakPsn2]
  479. CheckDiskSpace: "%33000%\", "%33601%\PSNData"
  480. CheckDiskSpace: "%33000%\", "%33601%\PSNote.psd"
  481. CheckDiskSpace: "%33000%\", "%33601%\PSNAddr"
  482. CheckDiskSpace: "%33000%\", "%33601%\PSNMList"
  483. CheckDiskSpace: "%33000%\", "%33601%\PSNData.bak"
  484.  
  485. [CopyNotes.OPT]
  486. CopyFiles=CopyNotesFiles
  487.  
  488. [CopyNotesFiles]
  489. PSNData, PSNData,, 0x00000010
  490. PSNData, PSNote.psd,, 0x00000010
  491. PSNAddr, PSNAddr,, 0x00000010
  492. PSNMList, PSNMList,, 0x00000010
  493. PSNData.bak, PSNData.bak,, 0x00000010
  494.  
  495.  
  496. ;----------------------------------------------------------------------------------------------
  497. ; install PSN V2, renaming/deleting obsolete files if reinstalling in same directory:
  498. ;----------------------------------------------------------------------------------------------
  499. [InstallPsn2]
  500. License: "%33002%\psn2lic.txt", %PSN2%
  501. CheckDiskSpace: CheckSpacePsn2
  502. ; unregister old PSN2 Messenger so startup shortcut gets deleted
  503. UnregSrvr: "%33601%\PsnPull.dll"
  504. Setup: RenameNotes.OPT, "%33000%"
  505. Setup: DelOldFiles
  506. Setup: SetupPsn2
  507. Setup: CopyPsn2Conduit.OPT
  508. Setup: Psn2Reg
  509.  
  510. [CheckSpacePsn2]
  511. CheckDiskSpace: "%33000%\", "%33002%\FauxNote.exe"
  512. CheckDiskSpace: "%33000%\", "%33002%\Psn2.exe"
  513. CheckDiskSpace: "%33000%\", "%33002%\PSNGive.exe"
  514. CheckDiskSpace: "%33000%\", "%33002%\PsnPull.dll"
  515. CheckDiskSpace: "%33000%\", "%33002%\PSMemoBd.dll"
  516. CheckDiskSpace: "%33000%\", "%33002%\PSNAlarm.dll"
  517. CheckDiskSpace: "%33000%\", "%33002%\PSNDisp.dll"
  518. CheckDiskSpace: "%33000%\", "%33002%\PSNGlue.dll"
  519. CheckDiskSpace: "%33000%\", "%33002%\PSNMail.dll"
  520. CheckDiskSpace: "%33000%\", "%33002%\PSNMsg.dll"
  521. CheckDiskSpace: "%33000%\", "%33002%\PSNotes.dll"
  522. CheckDiskSpace: "%33000%\", "%33002%\PSNPrint.dll"
  523. CheckDiskSpace: "%33000%\", "%33002%\Psnotes.hlp"
  524. CheckDiskSpace: "%33000%\", "%33002%\Psnotes.cnt"
  525. CheckDiskSpace: "%33000%\", "%33002%\Readme.doc"
  526. CheckDiskSpace: "%33000%\", "%33002%\Readme2.doc"
  527. CheckDiskSpace: "%33000%\", "%33002%\clock.wav"
  528. CheckDiskSpace: "%33000%\", "%33002%\magic.wav"
  529. CheckDiskSpace: "%33000%\", "%33002%\rolldown.wav"
  530. CheckDiskSpace: "%33000%\", "%33002%\siren.wav"
  531. CheckDiskSpace: "%33000%\", "%33002%\sparkle.wav"
  532. CheckDiskSpace: "%33000%\", "%33002%\whhheeep.wav"
  533. CheckDiskSpace: "%33000%\", "%33002%\whiz.wav"
  534. CheckDiskSpace: "%33000%\", "%33002%\whizpop.wav"
  535. CheckDiskSpace: "%33000%\", "%33002%\zoop.wav"
  536. CheckDiskSpace: "%33000%\", "%33002%\Postin__.ttf"
  537. CheckDiskSpace: "%33000%\", "%33002%\PSNData2"
  538. CheckDiskSpace: "%33000%\", "%33002%\Uninstall.exe"
  539. CheckDiskSpace: "%33000%\", "%33002%\uninst.ini"
  540.  
  541. [RenameNotes.OPT]
  542. CopyFiles=RenameNotesFiles
  543.  
  544. [RenameNotesFiles]
  545. PSNData, PSNote.psd,, 0x00000010
  546.  
  547. [DelOldFiles]
  548. DelFiles=ObsoletePsn2Files
  549.  
  550. [ObsoletePsn2Files]
  551. psmemoboard.dll,,, 0x00000001
  552. psnmessage.dll,,, 0x00000001
  553. psngivenote.exe,,, 0x00000001
  554. fauxpsnnotes.exe,,, 0x00000001
  555. PSNote.psd,,, 0x00000001
  556. psnotes.gid,,, 0x00000001
  557. VSetupC.exe,,, 0x00000001
  558. Psn2.tlb,,, 0x00000001
  559. Psn2View.exe,,, 0x00000001
  560. PSNGive.exe,,, 0x00000001
  561. psngivenote.log,,, 0x00000001
  562. psnglog1,,, 0x00000001
  563. psnglog2,,, 0x00000001
  564. psnglog3,,, 0x00000001
  565. psnglog4,,, 0x00000001
  566.  
  567. [SetupPsn2]
  568. CopyFiles=Psn2Files
  569.  
  570. [Psn2Files]
  571. FauxNote.exe, FauxNote.exe,,0x00000004
  572. psn2.exe, Psn2.exe,,0x00000004
  573. psngive.exe, PSNGive.exe,,0x00000004
  574. PsnPull.dll, PsnPull.dll,,0x00000004
  575. PSMemoBd.dll, PSMemoBd.dll,,0x00000004
  576. psnalarm.dll, PSNAlarm.dll,,0x00000004
  577. psndisp.dll, PSNDisp.dll,,0x00000004
  578. psnglue.dll, PSNGlue.dll,,0x00000004
  579. psnmail.dll, PSNMail.dll,,0x00000004
  580. psnmsg.dll, PSNMsg.dll,,0x00000004
  581. psnotes.dll, PSNotes.dll,,0x00000004
  582. psnprint.dll, PSNPrint.dll,,0x00000004
  583. psnotes.hlp, Psnotes.hlp,,0x00000004
  584. psnotes.cnt, Psnotes.cnt,,0x00000004
  585. Readme.doc, Readme.doc,,0x00000004
  586. Readme2.doc, Readme2.doc,,0x00000004
  587. clock.wav, clock.wav,,0x00000004
  588. magic.wav, magic.wav,,0x00000004
  589. rolldown.wav, rolldown.wav,,0x00000004
  590. siren.wav, siren.wav,,00x00000004
  591. sparkle.wav, sparkle.wav,,0x00000004
  592. whhheeep.wav, whhheeep.wav,,0x00000004
  593. whiz.wav, whiz.wav,,0x00000004
  594. whizpop.wav, whizpop.wav,,0x00000004
  595. zoop.wav, zoop.wav,,0x00000004
  596. Uninstall.exe, Uninstall.exe,, 0x00000004
  597. uninst.ini, uninst.ini,, 0x00000004
  598. Postin__.ttf, Postin__.ttf,,0x00000004
  599. PSNData, PSNData2,,0x00000010
  600.  
  601. [CopyPsn2Conduit.OPT]
  602. CopyFiles=CopyConduitFiles
  603. CopyFiles=CopyConduitFiles2
  604.  
  605. [CopyConduitFiles]
  606. csetup.exe, csetup.exe,,0x00000004
  607. setup.ini, setup.ini,,0x00000004
  608.  
  609. [CopyConduitFiles2]
  610. Condmgr.dll, Condmgr.dll,,0x00000004
  611.  
  612. [Psn2Reg]
  613. AddReg=Psn2AddReg
  614.  
  615. [Psn2AddReg]
  616. ; Add preferences settings to registry here such as:
  617. ; HKCU,Software\3M\Post-it(R) Software Notes V2\System,"AlwaysOnTopConfirm",0x10001,1
  618. ; HKCU,Software\3M\Post-it(R) Software Notes V2\System,"DefaultNote",,"{11944AF4-6CE5-11D1-9004-0020AF6DCD1D}"
  619.  
  620.  
  621. ;----------------------------------------------------------------------------------------------
  622. ; setup PSN V2 VBox:
  623. ;----------------------------------------------------------------------------------------------
  624. [Psn2VBox]
  625. CheckDiskSpace: "%33000%\", "%33002%\Psn2.tlb"
  626. CheckDiskSpace: "%33000%\", "%33002%\VSetupC.exe"
  627. CopyFile: "%33002%\Psn2.tlb", "%33000%\Psn2.tlb"
  628. CopyFile: "%33002%\VSetupC.exe", "%33000%\VSetupC.exe"
  629. Execute: 60, 0, """%33002%\VSetupT.exe"""
  630. Execute: 60, 0, """%33000%\VSetupC.exe"""
  631.  
  632.  
  633. ;----------------------------------------------------------------------------------------------
  634. ; backup notes from PSN V1 if present:
  635. ;----------------------------------------------------------------------------------------------
  636. [BakPsn1]
  637. CheckDiskSpace: CheckSpaceBakPsn1
  638. Setup: BackupPsn1.OPT, "%33004%"
  639.  
  640. [CheckSpaceBakPsn1]
  641. CheckDiskSpace: "%33000%\", "%33004%\psnote.psd"
  642. CheckDiskSpace: "%33000%\", "%33004%\psnote1.psd"
  643. CheckDiskSpace: "%33000%\", "%33004%\pslogo.psg"
  644. CheckDiskSpace: "%33000%\", "%33004%\pslogo1.psg"
  645.  
  646. [BackupPsn1.OPT]
  647. CopyFiles=BakPsn1Files
  648.  
  649. [BakPsn1Files]
  650. psnote.psd, psnote.psd,,0x00000004
  651. psnote1.psd, psnote1.psd,,0x00000004
  652. pslogo.psg, pslogo.psg,,0x00000004
  653. pslogo1.psg, pslogo1.psg,,0x00000004
  654.  
  655.  
  656. ;----------------------------------------------------------------------------------------------
  657. ; upgrade to latest PSN V1.5+ if PSN V1 present:
  658. ;----------------------------------------------------------------------------------------------
  659. [AddPsn15]
  660. CheckDiskSpace: CheckSpacePsn15
  661. Setup: SetupPsn15
  662.  
  663. [CheckSpacePsn15]
  664. CheckDiskSpace: "%33000%\", "%33003%\psn15.exe"
  665.  
  666. [SetupPsn15]
  667. CopyFiles=AddPsn15Files
  668.  
  669. [AddPsn15Files]
  670. psnotes.exe, psn15.exe,, 0x00000004
  671.  
  672.  
  673. ;----------------------------------------------------------------------------------------------
  674. ; install net note & Psn2 update server for Internet Explorer:
  675. ;----------------------------------------------------------------------------------------------
  676. [IENetNote]
  677. CheckDiskSpace: CheckSpaceIE
  678. Setup: SetupIENetNote
  679.  
  680. [CheckSpaceIE]
  681. CheckDiskSpace: "%34050%\", "%33002%\npcc.dll"
  682. CheckDiskSpace: "%34050%\", "%33002%\PSNUdate.dll"
  683.  
  684. [SetupIENetNote]
  685. CopyFiles=IENetNoteFiles
  686. AddReg=AddNetNoteReg
  687.  
  688. [IENetNoteFiles]
  689. npcc.dll, npcc.dll,,0x00000020
  690. PSNUdate.dll, PSNUdate.dll,,0x00000020
  691.  
  692. [AddNetNoteReg]
  693. HKCR,CLSID\{CD62C183-73CE-11d0-8F56-0020AF6DCD1D},"Silent",,"BeSilent"
  694. HKCR,CLSID\{CD62C183-73CE-11d0-8F56-0020AF6DCD1D},"NoLite",,"NoLite"
  695.  
  696.  
  697. ;----------------------------------------------------------------------------------------------
  698. ; install net note for Netscape V3 if present:
  699. ;----------------------------------------------------------------------------------------------
  700. [NS3NetNote]
  701. CheckDiskSpace: CheckSpaceNS3
  702. Setup: SetupNS3NetNote
  703.  
  704. [CheckSpaceNS3]
  705. CheckDiskSpace: "%34062%\", "%33002%\npcc.dll"
  706. CheckDiskSpace: "%34063%\", "%33002%\NCNotePlugin.class"
  707.  
  708. [SetupNS3NetNote]
  709. CopyFiles=NSNetNoteDll
  710. CopyFiles=NS3NetNoteClass
  711. DelFiles=NSDelNetNote
  712.  
  713. [NSDelNetNote]
  714. npcc.dll,,, 0x00000001
  715.  
  716. [NSNetNoteDll]
  717. npcc.dll, npcc.dll,,0x00000020
  718.  
  719. [NS3NetNoteClass]
  720. NCNotePlugin.class, NCNotePlugin.class,,0x00000020
  721.  
  722.  
  723. ;----------------------------------------------------------------------------------------------
  724. ; install net note for Netscape V4 if present:
  725. ;----------------------------------------------------------------------------------------------
  726. [NS4NetNote]
  727. CheckDiskSpace: CheckSpaceNS4
  728. Setup: SetupNS4NetNote
  729.  
  730. [CheckSpaceNS4]
  731. CheckDiskSpace: "%34062%\", "%33002%\npcc.dll"
  732. CheckDiskSpace: "%34064%\", "%33002%\NCNotePlugin.class"
  733.  
  734. [SetupNS4NetNote]
  735. CopyFiles=NSNetNoteDll
  736. CopyFiles=NS4NetNoteClass
  737. DelFiles=NSDelNetNote
  738.  
  739. [NS4NetNoteClass]
  740. NCNotePlugin.class, NCNotePlugin.class,,0x00000020
  741.  
  742.  
  743. ;----------------------------------------------------------------------------------------------
  744. ; remove previous PSN V2 if not reinstalled in same directory:
  745. ;----------------------------------------------------------------------------------------------
  746. [DelPsn2]
  747. Setup: DeletePsn2
  748. DeleteDir: "%33601%\condmgr"
  749.  
  750. [DeletePsn2]
  751. DelFiles=DelPsn2Files
  752. DelFiles=DelPsn2InstFiles
  753. DelFiles=DelPsn2ConduitFiles
  754. DelFiles=DelPsn2ConduitFiles2
  755.  
  756. [DelPsn2Files]
  757. psmemoboard.dll,,, 0x00000001
  758. psnmessage.dll,,, 0x00000001
  759. psngivenote.exe,,, 0x00000001
  760. fauxpsnnotes.exe,,, 0x00000001
  761. FauxNote.exe,,, 0x00000001
  762. Psn2View.exe,,, 0x00000001
  763. psn2.exe,,, 0x00000001
  764. psngive.exe,,, 0x00000001
  765. psnPull.dll,,, 0x00000001
  766. PSMemoBd.dll,,, 0x00000001
  767. psnalarm.dll,,, 0x00000001
  768. psndisp.dll,,, 0x00000001
  769. psnglue.dll,,, 0x00000001
  770. psnmail.dll,,, 0x00000001
  771. psnmsg.dll,,, 0x00000001
  772. psnotes.dll,,, 0x00000001
  773. psnprint.dll,,, 0x00000001
  774. psnotes.hlp,,, 0x00000001
  775. psnotes.cnt,,, 0x00000001
  776. Readme.doc,,, 0x00000001
  777. Readme2.doc,,, 0x00000001
  778. clock.wav,,, 0x00000001
  779. magic.wav,,, 0x00000001
  780. rolldown.wav,,, 0x00000001
  781. siren.wav,,, 0x00000001
  782. sparkle.wav,,, 0x00000001
  783. whhheeep.wav,,, 0x00000001
  784. whiz.wav,,, 0x00000001
  785. whizpop.wav,,, 0x00000001
  786. zoop.wav,,, 0x00000001
  787. Postin__.ttf,,, 0x00000001
  788. psngivenote.log,,, 0x00000001
  789. psnglog1,,, 0x00000001
  790. psnglog2,,, 0x00000001
  791. psnglog3,,, 0x00000001
  792. psnglog4,,, 0x00000001
  793. PSNote.psd,,, 0x00000001
  794. PSNData,,, 0x00000001
  795. PSNAddr,,, 0x00000001
  796. PSNMList,,, 0x00000001
  797. PSNote.bak,,, 0x00000001
  798. PSNData.bak,,, 0x00000001
  799. psnotes.gid,,, 0x00000001
  800. VSetupC.exe,,, 0x00000001
  801. Psn2.tlb,,, 0x00000001
  802. Uninstall.exe,,, 0x00000001
  803. uninst.ini,,, 0x00000001
  804.  
  805. [DelPsn2InstFiles]
  806. Setup.exe,,, 0x00000001
  807. psn2ofc.inf,,, 0x00000001
  808. Setupapi.dll,,, 0x00000001
  809. cfgmgr32.dll,,, 0x00000001
  810. Installf.ttf,,, 0x00000001
  811.  
  812. [DelPsn2ConduitFiles]
  813. csetup.exe,,, 0x00000001
  814. setup.ini,,, 0x00000001
  815.  
  816. [DelPsn2ConduitFiles2]
  817. Condmgr.dll,,, 0x00000001
  818.  
  819.  
  820. ;----------------------------------------------------------------------------------------------
  821. ; remove previous installation of PSN V1 application:
  822. ;----------------------------------------------------------------------------------------------
  823. [DelPsn1]
  824. ; delete PSN V1 shortcut directories in common start programs directory
  825. DeleteFile: "%34021%\Post-it Software Notes\*.*"
  826. DeleteFile: "%34021%\Post-it(r) Software Notes\*.*"
  827. DeleteFile: "%34021%\Post-it« Software Notes\*.*"
  828. DeleteFile: "%34021%\Post-it« Notes\*.*"
  829. DeleteFile: "%34021%\Notas de Software Post-it«\*.*"
  830. DeleteFile: "%34021%\Software de Notas Post-it\*.*"
  831. DeleteFile: "%34021%\Software de Notas Post-it«\*.*"
  832. DeleteFile: "%34021%\Logiciel Post-it\*.*"
  833. DeleteFile: "%34021%\Logiciel notes Post-it\*.*"
  834. DeleteFile: "%34021%\Logiciel notes Post-it«\*.*"
  835. DeleteFile: "%34021%\Post-it« Program f÷r notisar\*.*"
  836. DeleteFile: "%34021%\Program Notki Post-it«\*.*"
  837. DeleteFile: "%34021%\Post-it« Not Yaz²l²m²\*.*"
  838. DeleteDir: "%34021%\Post-it Software Notes"
  839. DeleteDir: "%34021%\Post-it(r) Software Notes"
  840. DeleteDir: "%34021%\Post-it« Software Notes"
  841. DeleteDir: "%34021%\Post-it« Notes"
  842. DeleteDir: "%34021%\Notas de Software Post-it«"
  843. DeleteDir: "%34021%\Software de Notas Post-it"
  844. DeleteDir: "%34021%\Software de Notas Post-it«"
  845. DeleteDir: "%34021%\Logiciel Post-it"
  846. DeleteDir: "%34021%\Logiciel notes Post-it"
  847. DeleteDir: "%34021%\Logiciel notes Post-it«"
  848. DeleteDir: "%34021%\Post-it« Program f÷r notisar"
  849. DeleteDir: "%34021%\Program Notki Post-it«"
  850. DeleteDir: "%34021%\Post-it« Not Yaz²l²m²"
  851.  
  852. ; delete PSN V1 shortcut directories in user start programs directory
  853. DeleteFile: "%34022%\Post-it Software Notes\*.*"
  854. DeleteFile: "%34022%\Post-it(r) Software Notes\*.*"
  855. DeleteFile: "%34022%\Post-it« Software Notes\*.*"
  856. DeleteFile: "%34022%\Post-it« Notes\*.*"
  857. DeleteFile: "%34022%\Notas de Software Post-it«\*.*"
  858. DeleteFile: "%34022%\Software de Notas Post-it\*.*"
  859. DeleteFile: "%34022%\Software de Notas Post-it«\*.*"
  860. DeleteFile: "%34022%\Logiciel Post-it\*.*"
  861. DeleteFile: "%34022%\Logiciel notes Post-it\*.*"
  862. DeleteFile: "%34022%\Logiciel notes Post-it«\*.*"
  863. DeleteFile: "%34022%\Post-it« Program f÷r notisar\*.*"
  864. DeleteFile: "%34022%\Program Notki Post-it«\*.*"
  865. DeleteFile: "%34022%\Post-it« Not Yaz²l²m²\*.*"
  866. DeleteDir: "%34022%\Post-it Software Notes"
  867. DeleteDir: "%34022%\Post-it(r) Software Notes"
  868. DeleteDir: "%34022%\Post-it« Software Notes"
  869. DeleteDir: "%34022%\Post-it« Notes"
  870. DeleteDir: "%34022%\Notas de Software Post-it«"
  871. DeleteDir: "%34022%\Software de Notas Post-it"
  872. DeleteDir: "%34022%\Software de Notas Post-it«"
  873. DeleteDir: "%34022%\Logiciel Post-it"
  874. DeleteDir: "%34022%\Logiciel notes Post-it"
  875. DeleteDir: "%34022%\Logiciel notes Post-it«"
  876. DeleteDir: "%34022%\Post-it« Program f÷r notisar"
  877. DeleteDir: "%34022%\Program Notki Post-it«"
  878. DeleteDir: "%34022%\Post-it« Not Yaz²l²m²"
  879.  
  880. ; delete PSN V1 directory content & directory
  881. DeleteFile: "%33004%\*.pmd"
  882. DeleteFile: "%33004%\*.dll"
  883. DeleteFile: "%33004%\*.isu"
  884. DeleteFile: "%33004%\install\*.*"
  885. Setup: DeletePsn1
  886. DeleteDir: "%33004%\install"
  887.  
  888. [DeletePsn1]
  889. DelFiles=DelPsn1Files
  890. DelFiles=DelPsn1StartupIcons
  891. DelFiles=DelPsn1ProgramIcons
  892.  
  893. [DelPsn1Files]
  894. ; obsolete V1 files
  895. pdn.exe,,, 0x00000001
  896. pdn.hlp,,, 0x00000001
  897. psn.dat,,, 0x00000001
  898. psn.bk1,,, 0x00000001
  899.  
  900. ; current V1 files
  901. clock.wav,,, 0x00000001
  902. magic.wav,,, 0x00000001
  903. pnmedia.pnl,,, 0x00000001
  904. Pslogo.psg,,, 0x00000001
  905. Pslogo1.psg,,, 0x00000001
  906. Psnote.psd,,, 0x00000001
  907. Psnote1.psd,,, 0x00000001
  908. psnbckup.psd,,, 0x00000001
  909. psnotes.exe,,, 0x00000001
  910. psnotes.hlp,,, 0x00000001
  911. psnotes.gid,,, 0x00000001
  912. PSNUnIns.exe,,, 0x00000001
  913. readme.doc,,, 0x00000001
  914. readme.wri,,, 0x00000001
  915. rolldown.wav,,, 0x00000001
  916. siren.wav,,, 0x00000001
  917. sparkle.wav,,, 0x00000001
  918. uninst.ini,,, 0x00000001
  919. whhheeep.wav,,, 0x00000001
  920. whiz.wav,,, 0x00000001
  921. whizpop.wav,,, 0x00000001
  922. zoop.wav,,, 0x00000001
  923.  
  924. [DelPsn1StartupIcons]
  925. Post-it(r) Software Notes.lnk,,, 0x00000001
  926. Post-it« Software Notes.lnk,,, 0x00000001
  927. Post-it« Notes.lnk,,, 0x00000001
  928. Notas de Software Post-it«.lnk,,, 0x00000001
  929. Software de Notas Post-it.lnk,,, 0x00000001
  930. Software de Notas Post-it«.lnk,,, 0x00000001
  931. Logiciel Post-it.lnk,,, 0x00000001
  932. Logiciel notes Post-it.lnk,,, 0x00000001
  933. Logiciel notes Post-it«.lnk,,, 0x00000001
  934. Post-it« Program f÷r notisar.lnk,,, 0x00000001
  935. Program Notki Post-it«.lnk,,, 0x00000001
  936. Post-it« Not Yaz²l²m².lnk,,, 0x00000001
  937.  
  938. [DelPsn1ProgramIcons]
  939. Post-it(r) Software Notes.lnk,,, 0x00000001
  940. Post-it« Software Notes.lnk,,, 0x00000001
  941. Post-it« Notes.lnk,,, 0x00000001
  942. Notas de Software Post-it«.lnk,,, 0x00000001
  943. Software de Notas Post-it.lnk,,, 0x00000001
  944. Software de Notas Post-it«.lnk,,, 0x00000001
  945. Logiciel Post-it.lnk,,, 0x00000001
  946. Logiciel notes Post-it.lnk,,, 0x00000001
  947. Logiciel notes Post-it«.lnk,,, 0x00000001
  948. Post-it« Program f÷r notisar.lnk,,, 0x00000001
  949. Program Notki Post-it«.lnk,,, 0x00000001
  950. Post-it« Not Yaz²l²m².lnk,,, 0x00000001
  951.  
  952.  
  953. ;----------------------------------------------------------------------------------------------
  954. ; set reboot if can't register plugins
  955. ;----------------------------------------------------------------------------------------------
  956. [RegPlugin]
  957. Reboot: Skip
  958. RegSrvr: "%34050%\PSNUdate.dll"
  959. RegSrvr: "%33000%\PSNPull.dll"
  960.  
  961.  
  962. ;----------------------------------------------------------------------------------------------
  963. ; reboot if needed by system upgrade, file copies, or plugin registration:
  964. ;----------------------------------------------------------------------------------------------
  965. [Reboot]
  966. Reboot: Check
  967. ; unregister PSN2 Messenger so startup shortcut gets deleted
  968. UnregSrvr: "%33000%\PsnPull.dll"
  969. Setup: CopyPsn2Inst
  970.  
  971. [CopyPsn2Inst]
  972. CopyFiles=CopyPsn2InstFiles
  973.  
  974. [CopyPsn2InstFiles]
  975. Setup.exe, Setup.exe,,0x00000004
  976. psn2ofc.inf, psn2ofc.inf,,0x00000004
  977. Setupapi.dll, Setupapi.dll,,0x00000004
  978. cfgmgr32.dll, cfgmgr32.dll,,0x00000004
  979. Installf.ttf, Installf.ttf,,0x00000004
  980.  
  981.  
  982. ;----------------------------------------------------------------------------------------------
  983. ; use latest PSN V1.5+ to export PSN V1 notes & mail address book if present:
  984. ;----------------------------------------------------------------------------------------------
  985. [Psn1Export]
  986. Execute: 120, 0, """%33000%\bak\psnotes.exe"" -convert"
  987. Setup: DelPsn15
  988.  
  989. [DelPsn15]
  990. DelFiles=DelPsn15Files
  991.  
  992. [DelPsn15Files]
  993. psnotes.exe,,, 0x00000001
  994.  
  995.  
  996. ;----------------------------------------------------------------------------------------------
  997. ; unregister Psn V1 & finish cleanup:
  998. ;----------------------------------------------------------------------------------------------
  999. [UnregPsn1]
  1000. Setup: Psn1Unreg
  1001. DeleteDir: "%33004%"
  1002.  
  1003. [Psn1Unreg]
  1004. DelFiles=DelPsn1SysFiles
  1005. DelReg=DelPsn1Reg
  1006.  
  1007. [DelPsn1SysFiles]
  1008. psnotes.ini,,, 0x00000001
  1009.  
  1010. [DelPsn1Reg]
  1011. ; PSN V1 application clsid
  1012. HKCR,CLSID\{93E64050-FA6D-11CE-99F8-0020AF6DCD1D}
  1013.  
  1014. ; PSN V1 activation key
  1015. HKCR,CLSID\{D2483A61-4137-11d0-8BC4-0020AF728C67}
  1016.  
  1017. ; PSN V1 document keys
  1018. HKCR,.psd
  1019. HKCR,.psn
  1020. HKCR,PSNotes
  1021. HKCR,PSNotes.Document
  1022. HKCR,PSNotes.Dokument
  1023. HKCR,PSNotes.Importazione
  1024. HKCR,PSNotes.Import
  1025. HKCR,.pmd
  1026. HKCR,PMD.Document
  1027. HKCR,psn_auto_file
  1028.  
  1029. ; PSN V1 settings
  1030. HKCU,Software\3M\Post-it(r) Software Notes
  1031. HKCU,Software\3M\Trial
  1032.  
  1033. ; PSN V1 uninstall keys
  1034. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\PSNotes Beta
  1035. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\PSNotes
  1036. HKCU,Software\Microsoft\Windows\CurrentVersion\Uninstall\PSNotes Beta
  1037. HKCU,Software\Microsoft\Windows\CurrentVersion\Uninstall\PSNotes
  1038.  
  1039.  
  1040. ;----------------------------------------------------------------------------------------------
  1041. ; register PSN V2 dlls:
  1042. ;----------------------------------------------------------------------------------------------
  1043. [RegDlls]
  1044. RegSrvr: "%11%\CUEXml.ocx"
  1045. RegSrvr: "%33000%\psnalarm.dll"
  1046. RegSrvr: "%33000%\psnotes.dll"
  1047. RegSrvr: "%33000%\psnglue.dll"
  1048. RegSrvr: "%33000%\psndisp.dll"
  1049. RegSrvr: "%33000%\PSMemoBd.dll"
  1050. RegSrvr: "%33000%\psnprint.dll"
  1051. RegSrvr: "%33000%\psnmail.dll"
  1052. RegSrvr: "%33000%\psnmsg.dll"
  1053. RegSrvr: "%33000%\FauxNote.exe"
  1054. RegSrvr: "%34050%\npcc.dll"
  1055. RegSrvr: "%34050%\PSNUdate.dll"
  1056. Setup: RegCleanup
  1057.  
  1058. [RegCleanup]
  1059. AddReg=AddUninstallReg
  1060. DelReg=DelRegCleanup
  1061.  
  1062. [AddUninstallReg]
  1063. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\PSN2, "DisplayName",,"Post-it« Software Notes Version 2"
  1064. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\PSN2, "UninstallString",,"""%33000%\Uninstall.exe"" -Prog""%33000%\psn2.exe"" -INI""%33000%\uninst.ini"""
  1065.  
  1066. [DelRegCleanup]
  1067. HKCR,CLSID\{CD62C183-73CE-11d0-8F56-0020AF6DCD1D},"Silent"
  1068. HKCR,CLSID\{11944A41-6CE5-11d1-9004-0020AF6DCD1D}
  1069. HKCR,CLSID\{11944A4A-6CE5-11d1-9004-0020AF6DCD1D}
  1070.  
  1071.  
  1072. ;----------------------------------------------------------------------------------------------
  1073. ; register PSN V2 other applications:
  1074. ;----------------------------------------------------------------------------------------------
  1075. [RegApps]
  1076. RegSrvr: "%33000%\psngive.exe"
  1077. Setup: Psn2RegCleanup
  1078.  
  1079. [Psn2RegCleanup]
  1080. DelReg=DelPsn2Reg
  1081.  
  1082. [DelPsn2Reg]
  1083. HKCR,CLSID\{11944A41-6CE5-11d1-9004-0020AF6DCD1D}
  1084.  
  1085.  
  1086. ;----------------------------------------------------------------------------------------------
  1087. ; register PSN2 application:
  1088. ;----------------------------------------------------------------------------------------------
  1089. [RegPsn2]
  1090. RegSrvr: "%33000%\psn2.exe"
  1091.  
  1092.  
  1093. ;----------------------------------------------------------------------------------------------
  1094. ; delete PSN1 Lite Viewer application after moving notes to PSN2 via FauxNotes
  1095. ;----------------------------------------------------------------------------------------------
  1096. [DelViewer]
  1097. Setup: DeleteViewer
  1098. DeleteDir: "%33501%"
  1099.  
  1100. [DeleteViewer]
  1101. DelFiles=DelViewerFiles
  1102. DelReg=DelViewerReg
  1103.  
  1104. [DelViewerFiles]
  1105. PSNLite.exe,,, 0x00000001
  1106. Uninst.PUn,,, 0x00000001
  1107. Uninstall.exe,,, 0x00000001
  1108. viewer.vnd,,, 0x00000001
  1109.  
  1110. [DelViewerReg]
  1111. HKCR,CLSID\{F223DEC5-73A1-11d0-8F56-0020AF6DCD1D}
  1112. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\PSNViewer
  1113.  
  1114.  
  1115. ;----------------------------------------------------------------------------------------------
  1116. ; launch PSN2 conduit installer
  1117. ;----------------------------------------------------------------------------------------------
  1118. [InstallConduit]
  1119. Execute: 60, 0, """%33000%\csetup.exe"" -silent3"
  1120.  
  1121.  
  1122. ;----------------------------------------------------------------------------------------------
  1123. ; end of install processing after PSN2 Viewer has been started
  1124. ; just use this standard section to register & launch Messenger app
  1125. ;----------------------------------------------------------------------------------------------
  1126. [RunApps]
  1127. RegSrvr: "%33000%\PsnPull.dll"
  1128. Execute: 0, 0, "RunDll32.exe %33005%\PsnPull.dll,RemoteStart"
  1129.  
  1130.  
  1131. ;----------------------------------------------------------------------------------------------
  1132. ; start WORD/WordPad to show Readme.doc file content to user if requested:
  1133. ;----------------------------------------------------------------------------------------------
  1134. [Readme]
  1135. Execute: 0, 1, """%33000%\Readme.doc"""
  1136.  
  1137.  
  1138. ;----------------------------------------------------------------------------------------------
  1139. ; remove self-extracting installer temp files if reboot may have left them behind
  1140. ; set directory 33004 to temp installer directory before processing this section
  1141. ;----------------------------------------------------------------------------------------------
  1142. [DelSelfExtract]
  1143. DeleteFile: "%33004%\psn1app\*.*"
  1144. DeleteDir: "%33004%\psn1app"
  1145. DeleteFile: "%33004%\psn2app\*.*"
  1146. DeleteDir: "%33004%\psn2app"
  1147. DeleteFile: "%33004%\psn2sys\*.*"
  1148. DeleteDir: "%33004%\psn2sys"
  1149. DeleteFile: "%33004%\conduit\condmgr\*.*"
  1150. DeleteDir: "%33004%\conduit\condmgr"
  1151. DeleteFile: "%33004%\conduit\*.*"
  1152. DeleteDir: "%33004%\conduit"
  1153. DeleteFile: "%33004%\*.*"
  1154. DeleteDir: "%33004%"
  1155.  
  1156.  
  1157. ;----------------------------------------------------------------------------------------------
  1158. ; delete PSN2 Installer files that are not in use if copied for reboot:
  1159. ;----------------------------------------------------------------------------------------------
  1160. [DelPsn2Inst]
  1161. Setup: DeleteConduit
  1162. DeleteDir: "%33000%\condmgr"
  1163.  
  1164. [DeleteConduit]
  1165. DelFiles=DelConduitFiles
  1166. DelFiles=DelConduitFiles2
  1167.  
  1168. [DelConduitFiles]
  1169. csetup.exe,,, 0x00000001
  1170. setup.ini,,, 0x00000001
  1171.  
  1172. [DelConduitFiles2]
  1173. Condmgr.dll,,, 0x00000001
  1174.  
  1175.  
  1176. ;----------------------------------------------------------------------------------------------
  1177. ; include directory name & number for each destination of each file copy section:
  1178. ;----------------------------------------------------------------------------------------------
  1179. [DestinationDirs]
  1180. DefaultDestDir=33000
  1181. CopyRichedit=11
  1182. CopyMsvcrt=11
  1183. CopyComCtl=11
  1184. CopyXML=11
  1185. Psn2Files=33000
  1186. ObsoletePsn2Files=33000
  1187. RenameNotesFiles=33000
  1188. CopyNotesFiles=33000
  1189. DelPsn2Files=33601
  1190. DelPsn2InstFiles=33601
  1191. DelPsn2ConduitFiles=33601
  1192. DelPsn2ConduitFiles2=33601, condmgr
  1193. IENetNoteFiles=34050
  1194. NSNetNoteDll=34062
  1195. NS3NetNoteClass=34063
  1196. NS4NetNoteClass=34064
  1197. NSDelNetNote=34061
  1198.  
  1199. DelConduitFiles=33000
  1200. DelConduitFiles2=33000, condmgr
  1201.  
  1202. CopyPsn2InstFiles=33000
  1203. CopyConduitFiles=33000
  1204. CopyConduitFiles2=33000, condmgr
  1205.  
  1206. BakPsn1Files=33000, bak
  1207. AddPsn15Files=33000, bak
  1208. DelPsn15Files=33000, bak
  1209.  
  1210. DelPsn1Files=33004
  1211. DelPsn1SysFiles=10
  1212. DelPsn1StartupIcons=34010
  1213. DelPsn1ProgramIcons=34020
  1214. DelViewerFiles=33501
  1215.  
  1216.  
  1217. ;----------------------------------------------------------------------------------------------
  1218. ; include file name & subdirectory on disk # for each source file copied:
  1219. ;----------------------------------------------------------------------------------------------
  1220. [SourceDisksFiles]
  1221. ; system files to install
  1222. Riched20.dll=1, psn2sys
  1223. msvcrt.dll=1, psn2sys
  1224. comctl32.ocx=1, psn2sys
  1225. CUEXml.ocx=1, psn2sys
  1226.  
  1227. ; PSN V2 files to install
  1228. FauxNote.exe=1, psn2app
  1229. psn2.exe=1, psn2app
  1230. psngive.exe=1, psn2app
  1231. PsnPull.dll=1, psn2app
  1232. PSMemoBd.dll=1, psn2app
  1233. psnalarm.dll=1, psn2app
  1234. psndisp.dll=1, psn2app
  1235. psnglue.dll=1, psn2app
  1236. psnmail.dll=1, psn2app
  1237. psnmsg.dll=1, psn2app
  1238. psnotes.dll=1, psn2app
  1239. psnprint.dll=1, psn2app
  1240. psnotes.hlp=1, psn2app
  1241. psnotes.cnt=1, psn2app
  1242. Readme.doc=1, psn2app
  1243. Readme2.doc=1, psn2app
  1244. clock.wav=1, psn2app
  1245. magic.wav=1, psn2app
  1246. rolldown.wav=1, psn2app
  1247. siren.wav=1, psn2app
  1248. sparkle.wav=1, psn2app
  1249. whhheeep.wav=1, psn2app
  1250. whiz.wav=1, psn2app
  1251. whizpop.wav=1, psn2app
  1252. zoop.wav=1, psn2app
  1253. Postin__.ttf=1, psn2app
  1254. PSNData2=1, psn2app
  1255. Uninstall.exe=1, psn2app
  1256. uninst.ini=1, psn2app
  1257.  
  1258. ; Net Note files to install
  1259. npcc.dll=1, psn2app
  1260. NCNotePlugin.class=1, psn2app
  1261. PSNUdate.dll=1, psn2app
  1262.  
  1263. ; latest PSN V1.5+ files to temporarily install
  1264. psn15.exe=1, psn1app
  1265.  
  1266. ; PSN2 Installer files (copied when reboot needed)
  1267. Setup.exe=1
  1268. psn2ofc.inf=1
  1269. Setupapi.dll=1
  1270. cfgmgr32.dll=1
  1271. Installf.ttf=1
  1272.  
  1273. ; Conduit installer files (copied when reboot needed)
  1274. csetup.exe=1, conduit
  1275. setup.ini=1, conduit
  1276. Condmgr.dll=1, conduit\Condmgr
  1277.  
  1278.  
  1279. ;----------------------------------------------------------------------------------------------
  1280. ; diskette name for each disk # in install:
  1281. ;----------------------------------------------------------------------------------------------
  1282. [SourceDisksNames]
  1283. 1=%DISK1%
  1284.  
  1285.  
  1286. ;----------------------------------------------------------------------------------------------
  1287. ; directory locations:
  1288. ;----------------------------------------------------------------------------------------------
  1289. [GetDir]
  1290. SourcePsn2Exe: "%33002%\Psn2.exe"
  1291. Psn2Exe: "%33000%\Psn2.exe"
  1292. ConduitExe: "%33000%\csetup.exe"
  1293.  
  1294. Psn1BakDir: "%33000%\bak"
  1295. Psn15InstExe: "%33003%\psn15.exe"
  1296. Psn15CnvtExe: "%33000%\bak\psnotes.exe"
  1297.  
  1298. FindPlugin: "%33300%"
  1299. FindViewer: "%33500%"
  1300. FindMessenger: "%33510%"
  1301. FindPsn2: "%33600%"
  1302.  
  1303. DefaultDir: "%34000%"
  1304.  
  1305. StartupDir: "%34010%"
  1306. CommonStartupDir: "%34011%"
  1307. UserStartupDir: "%34012%"
  1308.  
  1309. ProgramDir: "%34020%"
  1310. CommonProgramDir: "%34021%"
  1311. UserProgramDir: "%34022%"
  1312.  
  1313. DesktopDir: "%34030%"
  1314. CommonDesktopDir: "%34031%"
  1315. UserDesktopDir: "%34032%"
  1316.  
  1317. StartMenu: "%34040%"
  1318. CommonStartMenuDir: "%34041%"
  1319. UserStartMenuDir: "%34042%"
  1320.  
  1321. IEPluginDir: "%34050%"
  1322. FindIE: "%34070%"
  1323.  
  1324. NSPluginDir: "%34062%"
  1325. NS3ClassDir: "%34063%"
  1326. NS4ClassDir: "%34064%"
  1327. FindNetscape: "%34065%"
  1328.  
  1329.  
  1330. ;----------------------------------------------------------------------------------------------
  1331. ; check if Net Note plugin is present:
  1332. ;----------------------------------------------------------------------------------------------
  1333. [CheckPlugin]
  1334. CheckFileBusy: "%33300%"
  1335. CheckFileBusy: "%34050%\npcc.dll"
  1336. CheckFileBusy: "%34061%\npcc.dll"
  1337. CheckFileBusy: "%34062%\npcc.dll"
  1338. CheckFileBusy: "%33301%"
  1339. RegSrvr: "%33301%"
  1340.  
  1341.  
  1342. ;----------------------------------------------------------------------------------------------
  1343. ; check if PSN V1 is present:
  1344. ;----------------------------------------------------------------------------------------------
  1345. [CheckPsn1]
  1346. FindPsn1: "%33400%"
  1347. FindPsn1Ini: "%10%\PSNotes.ini"
  1348. CheckFaux: "HKCR,CLSID\{93E64050-FA6D-11CE-99F8-0020AF6DCD1D}\FauxNotes\"
  1349. Execute: 0, 0, """%33400%"" querystatus"
  1350.  
  1351.  
  1352. ;----------------------------------------------------------------------------------------------
  1353. ; check if misc. PSN V1 files are busy, so we ask the user to close all other apps:
  1354. ;----------------------------------------------------------------------------------------------
  1355. [CheckPsn1MiscBusy]
  1356. CheckFileBusy: "%33004%\Readme.doc"
  1357. CheckFileBusy: "%33004%\Readme.wri"
  1358. CheckFileBusy: "%33004%\psnotes.hlp"
  1359. CheckFileBusy: "%33004%\psnotes.gid"
  1360.  
  1361.  
  1362. ;----------------------------------------------------------------------------------------------
  1363. ; check if PSN V1 VBox is present:
  1364. ;----------------------------------------------------------------------------------------------
  1365. [CheckPsn1VBox]
  1366. Execute: 60, 0, """%33003%\VSetupC.exe"" /state"
  1367.  
  1368.  
  1369. ;----------------------------------------------------------------------------------------------
  1370. ; check if misc. PSN V2 files are busy, so we ask the user to close all other apps:
  1371. ;----------------------------------------------------------------------------------------------
  1372. [CheckPsn2MiscBusy]
  1373. CheckFileBusy: "%33601%\Readme.doc"
  1374. CheckFileBusy: "%33601%\Readme2.doc"
  1375. CheckFileBusy: "%33601%\psnotes.hlp"
  1376. CheckFileBusy: "%33601%\psnotes.gid"
  1377.  
  1378.  
  1379. ;----------------------------------------------------------------------------------------------
  1380. ; check if PSN V2 VBox is already present:
  1381. ;----------------------------------------------------------------------------------------------
  1382. [CheckPsn2VBox]
  1383. Execute: 60, 0, """%33601%\VSetupC.exe"" /state"
  1384.  
  1385.  
  1386. ;----------------------------------------------------------------------------------------------
  1387. ; localized language strings for US English
  1388. ; add translated string section [Strings.0809] for UK English
  1389. ; add translated string section [Strings.040c] for French
  1390. ; add translated string section [Strings.0407] for German
  1391. ; add translated string section [Strings.0410] for Italian
  1392. ; add translated string section [Strings.040a] for Spanish
  1393. ;----------------------------------------------------------------------------------------------
  1394. [Strings]
  1395. ; name of installation disks (to be translated)
  1396. DISK1="Post-it« Software Notes, Ver. 2"
  1397.  
  1398. ; strings for license names (to be translated)
  1399. COMCTL32="Microsoft COMCTL32.DLL"
  1400. DCOM95="Microsoft DCOM95 for Windows 95"
  1401. DCOM98="Microsoft DCOM98 for Windows 98"
  1402. PSN2="3M Post-it« Software Notes Version 2"
  1403.  
  1404. ; strings for install steps (don't need to be translated)
  1405. Msvcrt="Installing Microsoft Msvcrt.dll"
  1406. CommCtrl="Installing Microsoft ComCtl32.dll"
  1407. DCOM="Installing Microsoft DCOM"
  1408. SysReg="Updating system registry"
  1409. DCOMReg="Updating system registry"
  1410. Richedit="Installing Microsoft RichEd20.dll"
  1411. ComCtl="Installing Microsoft ComCtl32.ocx"
  1412. XMLParser="Installing XML Parser"
  1413. BakPsn2="Backing up existing V2 notes"
  1414. InstallPsn2="Installing Post-it« Software Notes V2"
  1415. BakPsn1="Backing up existing V1 notes"
  1416. AddPsn15="Copying PSN V1.5+"
  1417. IENetNote="Installing Net Note for IE"
  1418. NS3NetNote="Installing Net Note for Netscape 3"
  1419. NS4NetNote="Installing Net Note for Netscape 4"
  1420. DelPsn2="Removing previous Post-it« Software Notes V2"
  1421. DelPsn1="Removing previous Post-it« Software Notes V1"
  1422. Reboot="Checking if reboot is needed"
  1423. Psn1Export="Exporting existing V1 notes"
  1424. UnregPsn1="Unregistering Post-it« Software Notes V1"
  1425. RegPsn2="Registering Post-it« Software Notes V2"
  1426.