home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 141 / cdrom141.iso / aplic / smartclo / SmartClose-1.1.exe / install_script.iss (.txt)
Encoding:
Inno Setup Script  |  2007-01-10  |  7.7 KB  |  93 lines

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