home *** CD-ROM | disk | FTP | other *** search
/ Screen - 100 Snelle Screensavers / ScreenSaver.iso / firework / firework.inf < prev    next >
INI File  |  1997-01-05  |  5KB  |  141 lines

  1. ;----------------------------------------------------------------------------
  2. ;  Documented on MSDN CD in "INF Files" book in Win32 SDK: Setup API.
  3. ;----------------------------------------------------------------------------
  4.  
  5. [Version]
  6. ;Signature="$Windows 95$"
  7. ;----------------------------------------------------------------------------
  8. ;  Of course, the Win95 signature doesn't work, so we have to use Chicago.
  9. ;  Thanks, Microsoft!!
  10. ;----------------------------------------------------------------------------
  11. Signature="$Chicago$"
  12. Provider=Perpetual Motion Software
  13.  
  14. ;----------------------------------------------------------------------------
  15. ;  Sections used by setupx.dll (See 'Install' action for .inf files.)
  16. ;
  17. [DefaultInstall]
  18. CopyFiles = Files-Main, Files-Inf, Files-Help
  19. AddReg    = AddRegistry
  20.  
  21. [DefaultUninstall]
  22. DelFiles  = Files-Main, Files-Inf, Files-Help, Files-AutoGen
  23. DelReg    = DeleteRegistry
  24. ;
  25. ;----------------------------------------------------------------------------
  26.  
  27. [Install]
  28. CopyFiles = Files-Main, Files-Inf, Files-Help
  29. ;AddReg =
  30. ;UpdateINIs =
  31.  
  32. [Uninstall]
  33. DelFiles  = Files-Main, Files-Inf, Files-Help, Files-AutoGen
  34. DelReg    = DeleteRegistry
  35.  
  36. ;----------------------------------------------------------------------------
  37. ;  Files to be (un)installed
  38. ;----------------------------------------------------------------------------
  39. ;  COPYFLG_WARN_IF_SKIP       0x00001
  40. ;  COPYFLG_NOSKIP             0x00002
  41. ;  COPYFLG_NOVERSIONCHECK     0x00004
  42. ;  COPYFLG_FORCE_FILE_IN_USE  0x00008
  43. ;  COPYFLG_NO_OVERWRITE       0x00010
  44. ;  COPYFLG_NO_VERSION_DIALOG  0x00020
  45. ;  COPYFLG_REPLACEONLY        0x00040
  46. ;  DELFLG_IN_USE              0x00001 (conflicts with warn-if-skip)
  47. ;  DELFLG_IN_USE1             0x10000 (no conflict)
  48. ;  Cannot use a string for the filenames.
  49. ;
  50. [Files-Main]
  51. firework.scr,,,0x10023  ; del-in-use | warn-if-skip | no-skip | no-version-dlg
  52.  
  53. [Files-Inf]
  54. firework.inf,,,0x10023  ; del-in-use | warn-if-skip | no-skip | no-version-dlg
  55.  
  56. [Files-Help]
  57. firework.hlp,,,0x10023  ; del-in-use | warn-if-skip | no-skip | no-version-dlg
  58.  
  59. [Files-AutoGen]
  60. firework.fts,,,0x10023  ; del-in-use | warn-if-skip | no-skip | no-version-dlg
  61. firework.gid,,,0x10023  ; del-in-use | warn-if-skip | no-skip | no-version-dlg
  62. ;
  63. ;----------------------------------------------------------------------------
  64.  
  65. ;----------------------------------------------------------------------------
  66. ;  Where the files in the various file sections are located
  67. ;----------------------------------------------------------------------------
  68. ;  -1       dir from which the INF was installed
  69. ;  0xffff   dir from which the INF was installed
  70. ;  01       SourceDrive:\path
  71. ;  10       windows dir
  72. ;  11       system dir (95: %10%\system, NT: %10%\system32)
  73. ;  12       drivers dir (NT: %10%\system32\drivers)
  74. ;  17       INF dir
  75. ;  18       help dir
  76. ;  20       fonts dir
  77. ;  21       viewers dir
  78. ;  24       applications dir (seems to be "c:\")
  79. ;  25       shared dir
  80. ;  30       root dir of boot drive
  81. ;  50       %10%\system
  82. ;  51       spool dir
  83. ;  52       spool drivers dir
  84. ;  53       user profile dir
  85. ;  54       path to ntldr or OSLOADER.EXE
  86. ;
  87. [DestinationDirs]
  88. DefaultDestDir = 11
  89. Files-Main     = 11
  90. Files-Inf      = 17
  91. Files-Help     = 18
  92. Files-AutoGen  = 18
  93.  
  94. [SourceDisksFiles]
  95. ;  Can use a string for the filenames.
  96. %THISAPP%    = 1
  97. %THISINF%    = 1
  98. firework.hlp = 1
  99.  
  100. [SourceDisksNames]
  101. 1 = "Fireworks Screen Saver for Windows 95", "", 0
  102.  
  103. [AddRegistry]
  104. ;----------------------------------------------------------------------------
  105. ;  Register Uninstall procedure
  106. ;----------------------------------------------------------------------------
  107. ;  HKLM\%UNINSTALL%\%UNINSTALL_KEY%\
  108. ;     DisplayName = %UNINSTALL_DESCR%
  109. ;     UninstallString = "..."
  110. HKLM,%UNINSTALL% %UNINSTALL_KEY%,DisplayName,,%UNINSTALL_DESCR%
  111. HKLM,%UNINSTALL% %UNINSTALL_KEY%,UninstallString,,"rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\%THISINF%"
  112. ;----------------------------------------------------------------------------
  113.  
  114. [DeleteRegistry]
  115. HKLM,%UNINSTALL% %UNINSTALL_KEY%
  116.  
  117. ;----------------------------------------------------------------------------
  118. ;  These values are entered in the Registry automatically by Fireworks.
  119. ;  So, we have to delete them when we uninstall.
  120. ;----------------------------------------------------------------------------
  121. ;  We can't delete these for ALL users, but we can for the current user.
  122. HKCU,"AppEvents\EventLabels\Fireworks Explode"
  123. HKCU,"AppEvents\EventLabels\Fireworks ExplodeHigh"
  124. HKCU,"AppEvents\EventLabels\Fireworks ExplodeLow"
  125. HKCU,"AppEvents\EventLabels\Fireworks Launch"
  126. HKCU,"AppEvents\Schemes\Apps\Fireworks"
  127. HKCU,"Software\Perpetual Motion\Fireworks"
  128. ;----------------------------------------------------------------------------
  129.  
  130. ;----------------------------------------------------------------------------
  131. [Strings]
  132. THISAPP    = "firework.scr"                           ; app being installed
  133. THISINF    = "firework.inf"                           ; inf being installed
  134.  
  135. UNINSTALL_KEY   = "Fireworks"
  136. UNINSTALL_DESCR = "Fireworks for Windows 95 (Remove Only)"
  137.  
  138. ;  regstr.h: REGSTR_PATH_UNINSTALL
  139. UNINSTALL = "Software\Microsoft\Windows\CurrentVersion\Uninstall\"
  140.  
  141.