home *** CD-ROM | disk | FTP | other *** search
/ Freelog 67 / Freelog067.iso / Solution / Compression / JPEGCompress / jpegcompress25-setup.exe / install_script.iss
Text File  |  2005-04-06  |  5KB  |  93 lines

  1. ;InnoSetupVersion=5.0.4
  2.  
  3. [Setup]
  4. AppName=JPEGCompress
  5. AppVerName=JPEGCompress 2.5
  6. AppId=JPEGCompress
  7. AppPublisher=Dreamscape Software
  8. AppPublisherURL=http://www.dreamscapesoftware.com/
  9. AppSupportURL=http://www.dreamscapesoftware.com/support/
  10. AppUpdatesURL=http://www.dreamscapesoftware.com/products/jpegcompress/
  11. DefaultDirName={pf}\JPEGCompress
  12. DefaultGroupName=JPEGCompress
  13. OutputBaseFilename=jpegcompress25-setup
  14. Compression=lzma
  15. PrivilegesRequired=none
  16. DisableDirPage=yes
  17. ChangesAssociations=yes
  18. AllowNoIcons=yes
  19. LicenseFile=embedded\License.txt
  20. WizardImageFile=embedded\WizardImage0.bmp
  21. WizardSmallImageFile=embedded\WizardSmallImage0.bmp
  22.  
  23. [Files]
  24. Source: "{app}\JPEGCompress.exe"; DestDir: "{app}"; Flags: ignoreversion 
  25. Source: "{app}\Help Topics.chm"; DestDir: "{app}"; Flags: ignoreversion 
  26. Source: "{app}\jc_ext1.dll"; DestDir: "{app}"; Flags: ignoreversion 
  27. Source: "{app}\jc_ext2.dll"; DestDir: "{app}"; Flags: ignoreversion 
  28. Source: "{app}\jc_ext3.dll"; DestDir: "{app}"; Flags: ignoreversion 
  29. Source: "{app}\Read Me.rtf"; DestDir: "{app}"; Flags: ignoreversion 
  30. Source: "{app}\owjc.dll"; DestDir: "{app}"; Flags: ignoreversion 
  31.  
  32. [Registry]
  33. Root: HKCU; Subkey: "Software\Microsoft\Internet Explorer\MenuExt\Open With JPEGCompress"; ValueType: String; ValueData: "res://C:\Program Files\JPEGCompress\owjc.dll/CONTEXT_HANDLE.HTM"; Tasks: integrate; Flags: uninsdeletekey 
  34. Root: HKCU; Subkey: "Software\Microsoft\Internet Explorer\MenuExt\Open With JPEGCompress"; ValueName: "Contexts"; ValueType: Dword; ValueData: "$2"; Tasks: integrate; Flags: uninsdeletekey 
  35. Root: HKCR; Subkey: ".gif"; ValueType: String; ValueData: "JPEGCompress"; Tasks: associate; 
  36. Root: HKCR; Subkey: ".jpg"; ValueType: String; ValueData: "JPEGCompress"; Tasks: associate; 
  37. Root: HKCR; Subkey: ".jpeg"; ValueType: String; ValueData: "JPEGCompress"; Tasks: associate; 
  38. Root: HKCR; Subkey: ".jfif"; ValueType: String; ValueData: "JPEGCompress"; Tasks: associate; 
  39. Root: HKCR; Subkey: ".png"; ValueType: String; ValueData: "JPEGCompress"; Tasks: associate; 
  40. Root: HKCR; Subkey: ".xbm"; ValueType: String; ValueData: "JPEGCompress"; Tasks: associate; 
  41. Root: HKCR; Subkey: ".xpm"; ValueType: String; ValueData: "JPEGCompress"; Tasks: associate; 
  42. Root: HKCR; Subkey: ".xwd"; ValueType: String; ValueData: "JPEGCompress"; Tasks: associate; 
  43. Root: HKCR; Subkey: ".pbm"; ValueType: String; ValueData: "JPEGCompress"; Tasks: associate; 
  44. Root: HKCR; Subkey: ".ppm"; ValueType: String; ValueData: "JPEGCompress"; Tasks: associate; 
  45. Root: HKCR; Subkey: ".pgm"; ValueType: String; ValueData: "JPEGCompress"; Tasks: associate; 
  46. Root: HKCR; Subkey: ".bmp"; ValueType: String; ValueData: "JPEGCompress"; Tasks: associate; 
  47. Root: HKCR; Subkey: "JPEGCompress"; ValueType: String; ValueData: "JPEGCompress Image"; Tasks: associate; 
  48. Root: HKCR; Subkey: "JPEGCompress\DefaultIcon"; ValueType: String; ValueData: "{app}\JPEGCompress.exe,1"; Tasks: associate; 
  49. Root: HKCR; Subkey: "JPEGCompress\shell\open\command"; ValueType: String; ValueData: "{app}\JPEGCompress.exe %0"; Tasks: associate; 
  50.  
  51. [INI]
  52. FileName: "{app}\JPEGCompress.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.dreamscapesoftware.com/products/jpegcompress/"; 
  53.  
  54. [Run]
  55. Filename: "regsvr32.exe"; Parameters: """{app}\owjc.dll"" /s"; StatusMsg: "Installing Internet Explorer Menu Extension..."; Tasks: integrate; Flags: shellexec 
  56. Filename: "{app}\JPEGCompress.exe"; Description: "{cm:LaunchProgram,JPEGCompress}"; Flags: postinstall skipifsilent nowait
  57.  
  58. [UninstallRun]
  59. Filename: "regsvr32.exe"; Parameters: """{app}\owjc.dll"" /u /s"; StatusMsg: "Uninstalling Internet Explorer Menu Extension..."; Tasks: integrate; Flags: shellexec 
  60.  
  61. [Icons]
  62. Name: "{group}\JPEGCompress"; Filename: "{app}\JPEGCompress.exe"; 
  63. Name: "{group}\JPEGCompress Help Topics"; Filename: "{app}\Help Topics.chm"; 
  64. Name: "{group}\{cm:ProgramOnTheWeb,JPEGCompress}"; Filename: "{app}\JPEGCompress.url"; 
  65. Name: "{group}\{cm:UninstallProgram,JPEGCompress}"; Filename: "{uninstallexe}"; 
  66. Name: "{userdesktop}\JPEGCompress"; Filename: "{app}\JPEGCompress.exe"; Tasks: desktopicon; 
  67. Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\JPEGCompress"; Filename: "{app}\JPEGCompress.exe"; Tasks: quicklaunchicon; 
  68.  
  69. [Tasks]
  70. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; 
  71. Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; 
  72. Name: "integrate"; Description: "&Install Internet Explorer Menu Extension"; GroupDescription: "Other tasks:"; 
  73. Name: "associate"; Description: "&Associate Images with JPEGCompress"; GroupDescription: "Other tasks:"; 
  74.  
  75. [UninstallDelete]
  76. Type: files; Name: "{app}\JPEGCompress.url"; 
  77.  
  78. [CustomMessages]
  79. default.NameAndVersion=%1 version %2
  80. default.AdditionalIcons=Additional icons:
  81. default.CreateDesktopIcon=Create a &desktop icon
  82. default.CreateQuickLaunchIcon=Create a &Quick Launch icon
  83. default.ProgramOnTheWeb=%1 on the Web
  84. default.UninstallProgram=Uninstall %1
  85. default.LaunchProgram=Launch %1
  86. default.AssocFileExtension=&Associate %1 with the %2 file extension
  87. default.AssocingFileExtension=Associating %1 with the %2 file extension...
  88.  
  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.