home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 July & August / PCWorld_2005-07-08_cd.bin / software / vyzkuste / autobackup / AutoBackup_ins.exe / install_script.iss
Text File  |  2005-05-31  |  11KB  |  168 lines

  1. ;InnoSetupVersion=5.0.4
  2.  
  3. [Setup]
  4. AppName={cm:ApplicationName}
  5. AppVerName={cm:ApplicationName} v2.4 ({cm:BuildCaption}: 2.4.2.375)
  6. AppId=Auto Backup
  7. AppVersion=2.4
  8. AppPublisher={cm:CompanyName}
  9. AppPublisherURL={cm:SiteHomeUrl}
  10. AppSupportURL={cm:SupportUrl}
  11. AppUpdatesURL={cm:UpdatesUrl}
  12. AppMutex=Han-soft Auto Backup Running
  13. AppComments={cm:BuildCaption}: 2.4.2.375
  14. AppModifyPath="{app}\UninsHs.exe" /m=Auto Backup
  15. DefaultDirName={pf}\Auto Backup
  16. DefaultGroupName={cm:DefaultGroup}
  17. UninstallDisplayIcon=ABackup.exe,0
  18. UninstallDisplayName={cm:ApplicationName} v2.4
  19. OutputBaseFilename=AutoBackup_ins
  20. Compression=lzma
  21. ChangesAssociations=yes
  22. AllowNoIcons=yes
  23. WizardImageFile=embedded\WizardImage0.bmp
  24. WizardSmallImageFile=embedded\WizardSmallImage0.bmp
  25.  
  26. [Files]
  27. Source: "{app}\ABackup.exe"; DestDir: "{app}"; Components: main; Flags: restartreplace uninsrestartdelete ignoreversion uninsremovereadonly 
  28. Source: "{app}\ABackup.erd"; DestDir: "{app}"; Components: main; Flags: restartreplace uninsrestartdelete ignoreversion uninsremovereadonly 
  29. Source: "{app}\AutoBackup.umk"; DestDir: "{app}"; Components: main; Flags: ignoreversion uninsremovereadonly 
  30. Source: "{app}\UninsHs.exe"; DestDir: "{app}"; Components: main; Flags: restartreplace uninsrestartdelete uninsremovereadonly 
  31. Source: "{app}\ABsvc.exe"; DestDir: "{app}"; Components: service; Flags: restartreplace uninsrestartdelete ignoreversion uninsremovereadonly 
  32. Source: "{app}\Languages\English,1.lng"; DestDir: "{app}\Languages"; DestName: "English.lng"; Components: main; Languages: "en"; Flags: ignoreversion uninsremovereadonly 
  33. Source: "{app}\Languages\English,2.lng"; DestDir: "{app}\Languages"; DestName: "English.lng"; Components: language\English; Languages: "not(en)"; Flags: ignoreversion uninsremovereadonly 
  34. Source: "{app}\Documents\English\Readme,1.wri"; DestDir: "{app}\Documents\English"; DestName: "Readme.wri"; Components: main; Languages: "en"; Flags: ignoreversion uninsremovereadonly 
  35. Source: "{app}\Documents\English\Readme,2.wri"; DestDir: "{app}\Documents\English"; DestName: "Readme.wri"; Components: help\English; Languages: "not(en)"; Flags: ignoreversion uninsremovereadonly 
  36. Source: "{app}\Documents\English\License,1.wri"; DestDir: "{app}\Documents\English"; DestName: "License.wri"; Components: main; Languages: "en"; Flags: ignoreversion uninsremovereadonly 
  37. Source: "{app}\Documents\English\License,2.wri"; DestDir: "{app}\Documents\English"; DestName: "License.wri"; Components: help\English; Languages: "not(en)"; Flags: ignoreversion uninsremovereadonly 
  38. Source: "{app}\Documents\English\AutoBackup.hlp"; DestDir: "{app}\Documents\English"; Components: help\English; Flags: ignoreversion uninsremovereadonly 
  39. Source: "{app}\Documents\English\AutoBackup.cnt"; DestDir: "{app}\Documents\English"; Components: help\English; Flags: ignoreversion uninsremovereadonly 
  40.  
  41. [Dirs]
  42. Name: "{app}\Templates"; Flags: uninsalwaysuninstall 
  43. Name: "{code:GetDataDir}"; Flags: uninsalwaysuninstall 
  44. Name: "{userappdata}\$Han-soft Installation$"; Flags: uninsalwaysuninstall 
  45.  
  46. [Registry]
  47. Root: HKCR; Subkey: ".hbk"; ValueType: String; ValueData: "Auto Backup"; Tasks: associateicon; Flags: uninsdeletekey deletekey noerror 
  48. Root: HKCR; Subkey: "Auto Backup"; ValueType: String; ValueData: "{cm:DocumentName}"; Tasks: associateicon; Flags: uninsdeletekey deletekey noerror 
  49. Root: HKCR; Subkey: "Auto Backup\DefaultIcon"; ValueType: String; ValueData: "{app}\ABackup.exe,1"; Tasks: associateicon; Flags: uninsdeletekey deletekey noerror 
  50. Root: HKCR; Subkey: "Auto Backup\shell"; ValueType: String; ValueData: "open"; Tasks: associateicon; Flags: uninsdeletekey deletekey noerror 
  51. Root: HKCR; Subkey: "Auto Backup\shell\open"; ValueType: String; ValueData: "{cm:OpenMenuName}"; Tasks: associateicon; Flags: uninsdeletekey deletekey noerror 
  52. Root: HKCR; Subkey: "Auto Backup\shell\open\command"; ValueType: String; ValueData: """{app}\ABackup.exe"" ""%1"""; Tasks: associateicon; Flags: uninsdeletekey deletekey noerror 
  53.  
  54. [INI]
  55. FileName: "{app}\Han-soft.url"; Section: "InternetShortcut"; Key: "URL"; String: "{cm:SiteHomeUrl}"; 
  56. FileName: "{code:GetDataDir}\AutoBackup.ini"; Section: "Common"; Key: "Language"; String: "{cm:LanguageDisplayName}"; 
  57. FileName: "{app}\UninsHs.dat"; Section: "Others"; Key: "Affiliate"; String: "{srcexe}"; 
  58. FileName: "{app}\UninsHs.dat"; Section: "Uninstall"; Key: "Flag0"; String: "0_1A3A6329A64AF7A37A57059CE6CC91FC"; 
  59. FileName: "{app}\AutoBackup.cfg"; Section: "User"; Key: "All_Users"; String: "{code:GetAllUsers}"; 
  60. FileName: "{app}\AutoBackup.cfg"; Section: "Custom"; Key: "Work_Path"; String: "{code:GetDataDir}\"; 
  61. FileName: "{app}\AutoBackup.cfg"; Section: "Service"; Key: "Work_Path"; String: "{code:GetDataDir}\"; 
  62.  
  63. [Run]
  64. Filename: "{app}\Documents\English\Readme.wri"; Components: main; Languages: "en"; Flags: shellexec skipifdoesntexist postinstall skipifsilent nowait
  65. Filename: "{app}\UninsHs.exe"; Parameters: "/r=Auto Backup,{language},{srcexe},{userappdata}\$Han-soft Installation$\ABi.exe"; WorkingDir: "{app}"; Flags: skipifdoesntexist nowait
  66. Filename: "{app}\ABackup.exe"; Parameters: "3 /i {cm:LanguageDisplayName} {code:GetDataDir}"; WorkingDir: "{app}"; Flags: skipifdoesntexist skipifsilent nowait
  67. Filename: "{app}\ABackup.exe"; Parameters: "8 /i {cm:LanguageDisplayName} {code:GetDataDir}"; WorkingDir: "{app}"; StatusMsg: "{cm:InstallServiceStatus,{cm:ApplicationName}}..."; Tasks: installservice; Flags: skipifdoesntexist skipifsilent nowait
  68. Filename: "{app}\ABackup.exe"; Parameters: "32 /i {cm:LanguageDisplayName}"; WorkingDir: "{app}"; StatusMsg: "{cm:AssociateDocIconStatus,{cm:ApplicationName},.hbk}..."; Tasks: associateicon; Flags: skipifdoesntexist nowait
  69. Filename: "{app}\ABackup.exe"; WorkingDir: "{app}"; Description: "{cm:LaunchProgram,{cm:ApplicationName}}"; Flags: postinstall skipifsilent nowait
  70.  
  71. [UninstallRun]
  72. Filename: "{app}\ABackup.exe"; Parameters: "249 /u"; WorkingDir: "{app}"; RunOnceId: "UninstallRun Flags: runhidden runminimized skipifdoesntexist waituntilterminated"; 
  73.  
  74. [Icons]
  75. Name: "{code:GetProgramMenuDir}\{groupname}\{cm:ApplicationName}"; Filename: "{app}\ABackup.exe"; WorkingDir: "{app}"; Comment: "{cm:MainIconComment,{cm:ApplicationName}}"; 
  76. Name: "{code:GetProgramMenuDir}\{groupname}\{cm:ProgramHelp,{cm:ApplicationName}}"; Filename: "{app}\Documents\{cm:LanguageName}\{cm:HelpFileName}"; Comment: "{cm:HelpIconComment,{cm:ApplicationName}}"; 
  77. Name: "{code:GetProgramMenuDir}\{groupname}\{cm:ProgramOnTheWeb,{cm:ApplicationName}}"; Filename: "{app}\Han-soft.url"; Comment: "{cm:HomeIconComment,{cm:ApplicationName}}"; 
  78. Name: "{code:GetProgramMenuDir}\{groupname}\{cm:UninstallProgram,{cm:ApplicationName}}"; Filename: "{app}\UninsHs.exe"; Parameters: "/u=Auto Backup"; WorkingDir: "{app}"; Comment: "{cm:UninstallIconComment,{cm:ApplicationName}}"; 
  79. Name: "{code:GetDesktopDir}\{cm:ApplicationName}"; Filename: "{app}\ABackup.exe"; WorkingDir: "{app}"; Comment: "{cm:MainIconComment,{cm:ApplicationName}}"; Tasks: desktopicon; 
  80. Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{cm:ApplicationName}"; Filename: "{app}\ABackup.exe"; WorkingDir: "{app}"; Comment: "{cm:MainIconComment,{cm:ApplicationName}}"; Tasks: quicklaunchicon; 
  81.  
  82. [Tasks]
  83. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; 
  84. Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; 
  85. Name: "associateicon"; Description: "{cm:AssociateDocIcon,{cm:ApplicationName},.hbk}"; GroupDescription: "{cm:AssociateIcon}"; 
  86. Name: "installservice"; Description: "{cm:InstallService,{cm:ApplicationName}}"; GroupDescription: "{cm:InstallServices}"; Components: "service"; Check: "IsAdminLoggedOn"; 
  87.  
  88. [Components]
  89. Name: "main"; Description: "{cm:MainComponent}"; Types: "full compact custom"; 
  90. Name: "service"; Description: "{cm:ServiceComponent}"; Types: "full"; 
  91. Name: "language"; Description: "{cm:LanguageComponent}"; Types: "full"; 
  92. Name: "language\english"; Description: "{cm:en}"; Types: "full compact"; Languages: "en"; 
  93. Name: "language\english"; Description: "{cm:en}"; Types: "full"; Languages: "not (en)"; 
  94. Name: "help"; Description: "{cm:HelpComponent}"; Types: "full"; 
  95. Name: "help\english"; Description: "{cm:HelpComponentItem,{cm:en}}"; Types: "full compact"; Languages: "en"; 
  96. Name: "help\english"; Description: "{cm:HelpComponentItem,{cm:en}}"; Types: "full"; Languages: "not (en)"; 
  97.  
  98. [InstallDelete]
  99. Type: filesandordirs; Name: "{app}\Documents"; 
  100. Type: filesandordirs; Name: "{app}\Languages"; 
  101. Type: files; Name: "{app}\ABsvc.exe"; 
  102. Type: files; Name: "{app}\ABext.dll"; 
  103.  
  104. [UninstallDelete]
  105. Type: filesandordirs; Name: "{userappdata}\$Han-soft Installation$"; 
  106. Type: filesandordirs; Name: "{app}"; 
  107. Type: filesandordirs; Name: "{ini:{app}\AutoBackup.cfg, Custom,Work_Path|{commonappdata}\Auto Backup}"; 
  108.  
  109. [Types]
  110. Name: "full"; 
  111. Name: "compact"; 
  112. Name: "custom"; 
  113.  
  114. [CustomMessages]
  115. en.NameAndVersion=%1 version %2
  116. en.AssocFileExtension=&Associate %1 with the %2 file extension
  117. en.AssocingFileExtension=Associating %1 with the %2 file extension...
  118. en.ApplicationName=Auto Backup
  119. en.BuildCaption=Build
  120. en.DefaultGroup=Auto Backup
  121. en.SupportUrl=http://www.han-soft.com/supp.php
  122. en.UpdatesUrl=http://www.han-soft.com/habt.php
  123. en.SiteHomeUrl=http://www.han-soft.com
  124. en.CompanyName=Han-soft Software
  125. en.MainComponent=Main files
  126. en.ServiceComponent=Windows NT/2000/XP/2003 service files
  127. en.LanguageComponent=Langauge files
  128. en.HelpComponent=Help files
  129. en.HelpComponentItem=%1 help
  130. en.en=Englsih
  131. en.chs=Chinese
  132. en.LanguageName=English
  133. en.LanguageDisplayName=English
  134. en.AdditionalIcons=Additional icons:
  135. en.CreateDesktopIcon=Create a &Desktop icon
  136. en.CreateQuickLaunchIcon=Create a &Quick Launch icon for current user
  137. en.AssociateIcon=Associate icons:
  138. en.AssociateDocIcon=&Associate %1 with the %2 backup archive file extension
  139. en.AssociateDocIconStatus=Associate %1 with the %2 backup archive file extension
  140. en.InstallServices=Register service:
  141. en.InstallService=&Register %1 service for Windows NT/2000/XP/2003
  142. en.InstallServiceStatus=Register %1 service for Windows NT/2000/XP/2003
  143. en.MainIconComment=Launch the %1
  144. en.HelpIconComment=Open the %1 help
  145. en.HomeIconComment=Visit the Han-soft website
  146. en.UninstallIconComment=Modify, repair or remove the %1
  147. en.HelpFileName=AutoBackup.hlp
  148. en.ProgramHelp=%1 Help
  149. en.ProgramOnTheWeb=%1 Home
  150. en.UninstallProgram=Uninstall %1
  151. en.LaunchProgram=Launch %1
  152. en.DocumentName=Auto Backup Archive
  153. en.OpenMenuName=&Restore...
  154. en.UserPageCaption=User options
  155. en.UserPageDescription=Please specify the user options.
  156. en.UserPageSubCaption=Which users do you install the application for?
  157. en.AllUsers=Install the application for &all users
  158. en.SingleUser=Install the application for c&urrent user
  159. en.DataDirMsg=The configuration file will be saved into the following folder.
  160. en.DataDirInfo=Configuration folder:
  161. en.BrowseDataDir=&Browse...
  162. en.UserMode=User options:
  163.  
  164. [Languages]
  165. ; These files are stubs
  166. ; To achieve better results after recompilation, use the real language files
  167. Name: "en"; MessagesFile: "embedded\en.isl"; LicenseFile: "embedded\enLicense.rtf"; InfoBeforeFile: "embedded\enInfoBefore.rtf"; 
  168.