home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / SmartClose / SmartClose-1.0.exe / install_script.iss
Text File  |  2005-03-05  |  8KB  |  103 lines

  1. ;InnoSetupVersion=5.0.4
  2.  
  3. [Setup]
  4. AppName=SmartClose
  5. AppVerName=SmartClose 1.0
  6. AppId=SmartClose.{{7F22CBCB-92B5-4F5D-9A34-BB690215BEF2}
  7. AppVersion=1.0
  8. AppPublisher=BM-productions
  9. AppPublisherURL={cm:URL}
  10. AppSupportURL={cm:URL}
  11. AppUpdatesURL={cm:URL}
  12. AppMutex=SmartClose
  13. DefaultDirName={pf}\SmartClose
  14. DefaultGroupName=SmartClose
  15. UninstallDisplayIcon={app}\SmartClose.exe
  16. OutputBaseFilename=SmartClose-1.0
  17. Compression=lzma
  18. AllowNoIcons=yes
  19. InfoBeforeFile=embedded\InfoBefore.rtf
  20. WizardImageFile=embedded\WizardImage0.bmp
  21. WizardSmallImageFile=embedded\WizardSmallImage0.bmp
  22.  
  23. [Files]
  24. Source: "{app}\SmartClose.exe"; DestDir: "{app}"; 
  25. Source: "{sys}\PSAPI.DLL"; DestDir: "{sys}"; OnlyBelowVersion: 1.0,5.0; Flags: uninsneveruninstall restartreplace sharedfile 
  26.  
  27. [Registry]
  28. Root: HKLM; Subkey: "Software\BM-productions"; Flags: uninsdeletekeyifempty 
  29. Root: HKLM; Subkey: "Software\BM-productions\SmartClose"; Flags: uninsdeletekey 
  30. Root: HKLM; Subkey: "Software\BM-productions\SmartClose"; ValueName: "InstallPath"; ValueType: String; ValueData: "{app}"; 
  31. Root: HKLM; Subkey: "Software\BM-productions\SmartClose"; ValueName: "Version"; ValueType: String; 
  32. Root: HKLM; Subkey: "Software\BM-productions\SmartClose"; ValueName: "SnapPath"; ValueType: String; ValueData: "{app}\Snapshots"; Flags: createvalueifdoesntexist 
  33. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "NoIntro"; ValueType: Dword; ValueData: "$0"; Flags: createvalueifdoesntexist 
  34. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "ShowProgs"; ValueType: Dword; ValueData: "$1"; Flags: createvalueifdoesntexist 
  35. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "ShowProgsTerm"; ValueType: Dword; ValueData: "$0"; Flags: createvalueifdoesntexist 
  36. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "TerminateNonVis"; ValueType: Dword; ValueData: "$1"; Flags: createvalueifdoesntexist 
  37. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "TerminateCloseFail"; ValueType: Dword; ValueData: "$0"; Flags: createvalueifdoesntexist 
  38. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "AutoExit"; ValueType: Dword; ValueData: "$1"; Flags: createvalueifdoesntexist 
  39. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "Res_NoIntro"; ValueType: Dword; ValueData: "$0"; Flags: createvalueifdoesntexist 
  40. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "Res_AutoExit"; ValueType: Dword; ValueData: "$1"; Flags: createvalueifdoesntexist 
  41. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "ShowRestoreProgs"; ValueType: Dword; ValueData: "$1"; Flags: createvalueifdoesntexist 
  42. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "ProgsWait"; ValueType: Dword; ValueData: "$1"; Flags: createvalueifdoesntexist 
  43. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "UncheckProgs"; ValueType: Dword; ValueData: "$0"; Flags: createvalueifdoesntexist 
  44. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "AllowSS"; ValueType: Dword; ValueData: "$0"; Flags: createvalueifdoesntexist 
  45. Root: HKLM; Subkey: "SOFTWARE\BM-productions\SmartClose"; ValueName: "AllowTaskSched"; ValueType: Dword; ValueData: "$0"; Flags: createvalueifdoesntexist 
  46.  
  47. [Run]
  48. Filename: "{app}\SmartClose.exe"; Parameters: "/UNASSOC"; StatusMsg: "Removing association of system snapshot files..."; Check: "RemoveAssoc"; 
  49. Filename: "{app}\SmartClose.exe"; Parameters: "/ASSOC"; StatusMsg: "Associating system snapshot files with SmartClose..."; Check: "ShouldAssoc"; 
  50. Filename: "{app}\SmartClose.exe"; Description: "{cm:LaunchNow}"; Flags: postinstall skipifsilent nowait
  51.  
  52. [UninstallRun]
  53. Filename: "{app}\SmartClose.exe"; Parameters: "/RemoveSnapPath"; RunOnceId: "RemoveSnapPath"; 
  54. Filename: "{app}\SmartClose.exe"; Parameters: "/UNASSOC"; RunOnceId: "RemoveAssoc"; 
  55.  
  56. [Icons]
  57. Name: "{group}\SmartClose   "; Filename: "{app}\SmartClose.exe"; IconFilename: "{app}\SmartClose.exe"; Comment: "{cm:MainComment}"; 
  58. Name: "{group}\SmartClose - Close Programs"; Filename: "{app}\SmartClose.exe"; Parameters: "/closeprogs"; IconFilename: "{app}\SmartClose.exe"; IconIndex: 1; Comment: "{cm:CloseProgsComment}"; 
  59. Name: "{group}\SmartClose - Restore Snapshot"; Filename: "{app}\SmartClose.exe"; Parameters: "/restore"; IconFilename: "{app}\SmartClose.exe"; IconIndex: 2; Comment: "{cm:RestoreComment}"; 
  60. Name: "{group}\SmartClose - Settings"; Filename: "{app}\SmartClose.exe"; Parameters: "/config"; IconFilename: "{app}\SmartClose.exe"; IconIndex: 3; Comment: "{cm:SettingsComment}"; 
  61. Name: "{group}\{cm:UninstallProgram,SmartClose}"; Filename: "{uninstallexe}"; Comment: "{cm:UninstallComment}"; 
  62. Name: "{commondesktop}\SmartClose"; Filename: "{app}\SmartClose.exe"; Comment: "{cm:MainComment}"; Tasks: desktopicon; 
  63. Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\SmartClose"; Filename: "{app}\SmartClose.exe"; Comment: "{cm:MainComment}"; Tasks: quicklaunchicon; 
  64.  
  65. [Tasks]
  66. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; 
  67. Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; 
  68.  
  69. [UninstallDelete]
  70. Type: files; Name: "{app}\Services.ini"; 
  71. Type: dirifempty; Name: "{reg:HKLM\Software\BM-productions\SmartClose,SnapPath|{app}\Snapshots}"; 
  72.  
  73. [CustomMessages]
  74. default.NameAndVersion=%1 version %2
  75. default.AdditionalIcons=Additional icons:
  76. default.CreateDesktopIcon=Create a &desktop icon
  77. default.CreateQuickLaunchIcon=Create a &Quick Launch icon
  78. default.ProgramOnTheWeb=%1 on the Web
  79. default.UninstallProgram=Uninstall %1
  80. default.LaunchProgram=Launch %1
  81. default.AssocFileExtension=&Associate %1 with the %2 file extension
  82. default.AssocingFileExtension=Associating %1 with the %2 file extension...
  83. URL=http://www.bm-productions.tk/
  84. MainComment=Click here to run the Close Programs or the Restore Wizard, to configure SmartClose or to access help.
  85. CloseProgsComment=Click here to create a system snapshot and to close all programs, among other options.
  86. RestoreComment=Click here to restore (restart all programs etc.) a system snapshot that has been created with the Close Programs Wizard.
  87. SettingsComment=Opens the SmartClose Settings window, that allows you to view and change all the settings of SmartClose.
  88. UninstallComment=This will remove SmartClose from your system.
  89. LaunchNow=&Launch SmartClose now
  90. AssocCaption=Setup Association Options
  91. AssocCaption1=Should Setup associate System Snapshots with SmartClose?
  92. AssocDesc=SmartClose can save the current state of the system to a 'system snapshot' file before closing all programs and disabling anything. These system snapshot files have the ".scss" extension and can be associated with the SmartClose Restore Wizard, so they can be restored quickly when you open such a file in Windows Explorer.%nDo you want Setup to do this now?
  93. AssocCheck=&Associate system snapshot files (*.scss) with SmartClose
  94. AssocMemoTitle=Setup Association Options:
  95. AssocMemo=Associate system snapshot files with SmartClose
  96. IEURL=http://www.microsoft.com/windows/ie/downloads
  97. ShlWapiWarning=Setup has detected that you don't have Internet Explorer version 4.0 or higher installed. SmartClose requires at least Internet Explorer 4.0 to funtion properly.%nDo you want to download and install a newer version of Internet Explorer now?%n%nChoose "Yes" to cancel Setup and go to the Internet Explorer download location (%1), "No" to cancel Setup, or "Cancel" to ignore this message and continue with installing SmartClose.%n
  98.  
  99. [Languages]
  100. ; These files are stubs
  101. ; To achieve better results after recompilation, use the real language files
  102. Name: "default"; MessagesFile: "embedded\default.isl"; 
  103.