home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / js10.zip / install.lst < prev    next >
File List  |  2000-01-05  |  9KB  |  342 lines

  1. // Junk Spy prerelease installation file
  2.  
  3. // Variable usage
  4. // A Program and documentation
  5. // B Create objects
  6. // C Overwrite clue database
  7. // D Run wizard
  8. // E Extended error messages
  9. // G temp var for create shadow
  10. // H True on Warp 4
  11. // I
  12. // J Busy copy
  13. // K Existing copy
  14. // L Overwrite copy
  15. // M Ask if you use dial-up
  16. // N Ask if you get mail through dial-up
  17. // O Doesn't Have Netscape
  18. // P PR Check flag
  19.  
  20.  
  21. @option         B:      H: "version >= 240"
  22.  
  23. //Netscape Check
  24.  
  25. @getini         A:      * Netscape 4.6 7
  26. @option         A:      O: "null:%7"
  27. @getini         (AO):    *       Netscape 4.0 7
  28. @option         A:      O:      "null:%7"
  29. @getini         (AO):     *       Netscape 2.02 7
  30. @option         A:      O:      "null:%7"
  31. @messagebox         O:  "The Installer did not find Netscape, so will attempt to use Web Explorer to display documentation."
  32.  
  33. // Check for existing version
  34. @option         A:      K: "exists:%1\junkspy.exe"
  35. @option         K:      L: "ask:Update the installed copy of Junk Spy?"
  36. @errorexit      (K!L):  "Install not attempted."
  37.  
  38. // check for prerelease existance
  39. @option         B:      P: "object:<JUNKSPYPR>"
  40. @message:       (BP):   "Junk Spy PreRelease version appears installed on system."
  41. @xwps           (BP):   "<JUNKSPYPR>"
  42.  
  43. @option         B:      P: "object:<KIWIPR>"
  44. @message:       (BP):   "Junk Spy PreRelease version appears installed on system."
  45. @xwps           (BP):   "<KIWIPR>"
  46.  
  47. //Check for running copy
  48. @option         A:      J: "busy:%1\junkspy.exe"
  49. @option         J:      L: "ask:The copy of Junk Spy in the installation directory appears to be running.  Try to install anyway?"
  50. @errorexit      (J!L):  "Install not attempted"
  51.  
  52. // turn on extended errors
  53. @poo    E:      OE
  54.  
  55. // @INFO A: pr-warn.txt
  56.  
  57. // setup program result codes
  58. @prm            ABCD:   1       "Portions of the zip file were not processed."
  59. @prm            ABCD:   2       "The zip file is damaged."
  60. @prm            ABCD:   3       "The zip file is badly damaged."
  61. @prm            ABCD:   9       "The zip file was not found."
  62. @prm            ABCD:   50      "A file cannot be copied (file is in use or there is not enough disk space)."
  63. @prm            ABCD:   51      "The end of the zip file was encountered prematurely."
  64. @prm            ABCD:   81      "The zip file was not processed."
  65.  
  66.  
  67. // create directory if necessary
  68. @directory      A:      %1
  69. @cd             A:      %1
  70.  
  71. // copy all files
  72. @pgm            A:      3 %0\unzip -o %0\program.zip
  73.  
  74. // save installation path
  75. @setini A: * JunkSpy INSTALLATIONPATH %1
  76.  
  77. // Copy DLLs
  78. @pgm            A:      3 %0\unzip -o %0\DLL.zip
  79.  
  80. // Database
  81. @pgm            A:     3 %0\unzip -o %0\spec.zip
  82. @copy           (AC)(A!K):              %1\specnew.db %1\spec.db
  83. @copy           (AC)(A!K):              %1\detnew.db %1\detect.db
  84. @del           (AC)(A!K):               %1\init.upd
  85.  
  86. // Merge
  87. @message        (AK!C):      "Merging database"
  88. @pgm            (AK!C):      3 %0\mergedb %1\specnew.db %1\spec.db
  89. @pgm            (AK!C):      3 %0\mergedet %1\detnew.db %1\detect.db
  90.  
  91. // Cleanup
  92. @del            A:              %1\specnew.db
  93. @del            A:              %1\detnew.db
  94.  
  95. // Copy uninstall stuff
  96. @copy           A:      %0\install.exe  %1\uinstall.exe
  97. @copy           A:      %0\uinstall.lst %1\uinstall.lst
  98. @copy           A:      %0\uinstall.1   %1\uinstall.1
  99. @copy           A:      %0\uinstall.dat %1\uinstall.cmd
  100.  
  101.  
  102.  
  103. // create objects
  104. @var:           B:      <JUNKSPY_FOLDER> 5
  105. @var:           B:      REPLACE 6
  106. @wps:           B:
  107. WPFolder
  108. "Junk Spy"
  109. OBJECTID=%5;
  110. <WP_DESKTOP>
  111. %6
  112.  
  113. @wps:           B:
  114. WPFolder
  115. "Junk Spy|Documentation"
  116. OBJECTID=<JUNKSPY_DOCFOLDER>
  117. %5
  118. %6
  119.  
  120. // warp 4 only
  121. @wps:           (BH):
  122. WPUrl
  123. "Junk Spy|Home Page"
  124. URL=http://www.sundialsystems.com/junkspyhome/;OBJECTID=<JUNKSPY_URL>;
  125. %5
  126. %6
  127.  
  128. // warp 3 only
  129. @wps:           (B!H):
  130. WPProgram
  131. "Junk Spy|Home Page"
  132. "EXENAME=NETSCAPE.EXE;PARAMETERS=http://www.sundialsystems.com/junkspyhome/;OBJECTID=<JUNKSPY_URL>;"
  133. %5
  134. %6
  135.  
  136. // warp 4 only
  137. @wps:           (BH):
  138. WPUrl
  139. "Junk Spy|Junk Mail Test"
  140. URL=http://www.sundialsystems.com/junkspy/sendjunk.html;OBJECTID=<JUNKSPY_TEST_URL>;
  141. %5
  142. %6
  143.  
  144. // warp 3 only
  145. @wps:           (B!H):
  146. WPProgram
  147. "Junk Spy|Junk Mail Test"
  148. "EXENAME=NETSCAPE.EXE;PARAMTERS=http://www.sundialsystems.com/junkspy/sendjunk.html;OBJECTID=<JUNKSPY_TEST_URL>;"
  149. %5
  150. %6
  151.  
  152. @wps:           B:
  153. WPProgram
  154. "Junk Spy|Uninstall"
  155. "EXENAME=CMD.EXE;PARAMETERS=/C UINSTALL.CMD;STARTUPDIR=%1;MINIMIZED=YES;OBJECTID=<JUNKSPY_UINSTALL>;"
  156. %5
  157. %6
  158.  
  159. @wps:           B:
  160. WPProgram
  161. "Junk Spy|TCP/IP Wizard"
  162. EXENAME=%1//TCPWIZ.EXE;STARTUPDIR=%1;OBJECTID=<JUNKSPY_CFG>;
  163. %5
  164. %6
  165.  
  166. @wps:           B:
  167. WPProgram
  168. "Junk Spy"
  169. EXENAME=%1//JUNKSPY.EXE;STARTUPDIR=%1;OBJECTID=<JUNKSPY_EXE>;
  170. %5
  171. %6
  172.  
  173.  
  174. // warp 4 only
  175. @wps:           (BH):
  176. WPUrl
  177. "Junk Spy Users Guide"
  178. URL=%1\manual\index.htm;OBJECTID=<JUNKSPY_USERSGUIDE_URL>;
  179. <JUNKSPY_DOCFOLDER>
  180. %6
  181.  
  182. // warp 3 only
  183. @wps:           (B!H):
  184. WPProgram
  185. "Junk Spy Users Guide"
  186. "EXENAME=NETSCAPE.EXE;PARAMETERS=%1\manual\index.htm;OBJECTID=<JUNKSPY_USERSGUIDE_URL>;"
  187. <JUNKSPY_DOCFOLDER>
  188. %6
  189.  
  190.  
  191. @wps:           B:
  192. WPFolder
  193. "Email Getting|Started Guides"
  194. OBJECTID=<JUNKSPY_EMAILDOCFOLDER>
  195. <JUNKSPY_DOCFOLDER>
  196. %6
  197.  
  198. @wps:           (BH):
  199. WPUrl
  200. "Getting Started|with Post Road Mailer"
  201. URL=%1\manual\prm\install.htm;OBJECTID=<JUNKSPY_PRM_URL>;
  202. <JUNKSPY_EMAILDOCFOLDER>
  203. %6
  204.  
  205. @wps:           (BH):
  206. WPUrl
  207. "Getting Started|with PMMail"
  208. URL=%1\manual\pmmail\install.htm;OBJECTID=<JUNKSPY_PMMAIL_URL>;
  209. <JUNKSPY_EMAILDOCFOLDER>
  210. %6
  211.  
  212. @wps:           (BH):
  213. WPUrl
  214. "Getting Started with|other email Programs"
  215. URL=%1\manual\generic\install.htm;OBJECTID=<JUNKSPY_GENERIC_URL>;
  216. <JUNKSPY_EMAILDOCFOLDER>
  217. %6
  218.  
  219. @wps:           (BH):
  220. WPUrl
  221. "Getting Started|with Netscape 4.61"
  222. URL=%1\manual\nets461\install.htm;OBJECTID=<JUNKSPY_NETSCAPE46_URL>;
  223. <JUNKSPY_EMAILDOCFOLDER>
  224. %6
  225.  
  226. @wps:           (BH):
  227. WPUrl
  228. "Getting Started|with Netscape 4.04"
  229. URL=%1\manual\nets404\install.htm;OBJECTID=<JUNKSPY_NETSCAPE4_URL>;
  230. <JUNKSPY_EMAILDOCFOLDER>
  231. %6
  232.  
  233. @wps:           (BH):
  234. WPUrl
  235. "Getting Started|with Netscape 2.02"
  236. URL=%1\manual\nets202\install.htm;OBJECTID=<JUNKSPY_NETSCAPE2_URL>;
  237. <JUNKSPY_EMAILDOCFOLDER>
  238. %6
  239.  
  240. @wps:           (BH):
  241. WPUrl
  242. "Getting Started|with MR/2 ICE"
  243. URL=%1\manual\mr2\install.htm;OBJECTID=<JUNKSPY_MR2_URL>;
  244. <JUNKSPY_EMAILDOCFOLDER>
  245. %6
  246.  
  247. @wps:           (BH):
  248. WPUrl
  249. "Getting Started|with jStreet Mailer|and Polarbar Mailer"
  250. URL=%1\manual\jstreet\install.htm;OBJECTID=<JUNKSPY_JSTREET_URL>;
  251. <JUNKSPY_EMAILDOCFOLDER>
  252. %6
  253.  
  254. @wps:           (B!H):
  255. WPProgram
  256. "Getting Started|with Post Road Mailer"
  257. "EXENAME=NETSCAPE.EXE;PARAMETERS=%1\manual\prm\install.htm;OBJECTID=<JUNKSPY_PRM_URL>;"
  258. <JUNKSPY_EMAILDOCFOLDER>
  259. %6
  260.  
  261. @wps:           (B!H):
  262. WPProgram
  263. "Getting Started|with PMMail"
  264. "EXENAME=NETSCAPE.EXE;PARAMETERS=%1\manual\pmmail\install.htm;OBJECTID=<JUNKSPY_PMMAIL_URL>;"
  265. <JUNKSPY_EMAILDOCFOLDER>
  266. %6
  267.  
  268. @wps:           (B!H):
  269. WPProgram
  270. "Getting Started with|other email Programs"
  271. "EXENAME=NETSCAPE.EXE;PARAMETERS=%1\manual\generic\install.htm;OBJECTID=<JUNKSPY_GENERIC_URL>;"
  272. <JUNKSPY_EMAILDOCFOLDER>
  273. %6
  274.  
  275. @wps:           (B!H):
  276. WPProgram
  277. "Getting Started|with Netscape 4.61"
  278. "EXENAME=NETSCAPE.EXE;PARAMETERS=%1\manual\nets461\install.htm;OBJECTID=<JUNKSPY_NETSCAPE46_URL>;"
  279. <JUNKSPY_EMAILDOCFOLDER>
  280. %6
  281.  
  282. @wps:           (B!H):
  283. WPProgram
  284. "Getting Started|with Netscape 4.04"
  285. "EXENAME=NETSCAPE.EXE;PARAMETERS=%1\manual\nets404\install.htm;OBJECTID=<JUNKSPY_NETSCAPE4_URL>;"
  286. <JUNKSPY_EMAILDOCFOLDER>
  287. %6
  288.  
  289. @wps:           (B!H):
  290. WPProgram
  291. "Getting Started|with Netscape 2.02"
  292. "EXENAME=NETSCAPE.EXE;PARAMETERS=%1\manual\nets202\install.htm;OBJECTID=<JUNKSPY_NETSCAPE2_URL>"
  293. <JUNKSPY_EMAILDOCFOLDER>
  294. %6
  295.  
  296. @wps:           (B!H):
  297. WPProgram
  298. "Getting Started|with MR/2 ICE"
  299. "EXENAME=NETSCAPE.EXE;PARAMETERS=%1\manual\mr2\install.htm;OBJECTID=<JUNKSPY_MR2_URL>;"
  300. <JUNKSPY_EMAILDOCFOLDER>
  301. %6
  302.  
  303. @wps:           (B!H):
  304. WPProgram
  305. "Getting Started|with jStreet Mailer"
  306. "EXENAME=NETSCAPE.EXE;PARAMETERS=%1\manual\jstreet\install.htm;OBJECTID=<JUNKSPY_JSTREET_URL>;"
  307. <JUNKSPY_EMAILDOCFOLDER>
  308. %6
  309.  
  310. @wps:           B:
  311. WPProgram
  312. "License|Agreement"
  313. EXENAME=E.EXE;STARTUPDIR=%1;PARAMETERS=LICENSE.TXT;OBJECTID=<JUNKSPY_LICENSE>;
  314. <JUNKSPY_DOCFOLDER>
  315. %6
  316.  
  317. @wps:           B:
  318. WPProgram
  319. "Read Me"
  320. EXENAME=E.EXE;STARTUPDIR=%1;PARAMETERS=README.TXT;OBJECTID=<JUNKSPY_README>;
  321. <JUNKSPY_DOCFOLDER>
  322. %6
  323.  
  324.  
  325. // Ask for shadow
  326. @option         B:      G: "ask:Create shadow of Junk Spy in the Startup Folder so Junk Spy automatically runs each time you start your system?"
  327.  
  328. @WPS            (BG):
  329. WPShadow
  330. "Junk Spy"
  331. ShadowID=<JUNKSPYEXE>;OBJECTID=<SH_JUNKSPYEXE>;
  332. <WP_START>
  333. %6
  334.  
  335.  
  336. @option         A:      M: "ask:Do you use a dial-up connection to retrieve your mail?"
  337. @option         M:      N: "ask:Does your email program automatically check for mail even when you're disconnected from the Internet?"
  338. @setini         (MN):      %1\Junkspy.ini Settings NetworkMonitorEnable 1
  339.  
  340. @pgm            D:      3 CMD.exe /C "Start %1\TCPWIZ.exe"
  341.  
  342.