home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / Chip_2004-11_cd1.bin / software / backup / b4asetup.exe / install_script.iss
Text File  |  2004-09-25  |  8KB  |  99 lines

  1. ;InnoSetupVersion=3.0.8
  2.  
  3. [Setup]
  4. AppName=Backup4all
  5. AppVerName=Backup4all 2.2.1
  6. AppId=Backup4all
  7. AppPublisher=Softland
  8. AppPublisherURL=http://www.backup4all.com
  9. AppSupportURL=http://www.backup4all.com/customer_support.php
  10. AppUpdatesURL=http://www.backup4all.com
  11. AppMutex=SoftlandBackupApplicationMutex
  12. DefaultDirName={pf}\Backup4all
  13. DefaultGroupName=Backup4all
  14. UninstallDisplayIcon={app}\Backup4all.exe
  15. OutputBaseFilename=b4asetup
  16. Compression=zip
  17. PrivilegesRequired=none
  18. ChangesAssociations=yes
  19. LicenseFile=embedded\License.rtf
  20. WizardImageFile=embedded\WizardImage0.bmp
  21. WizardSmallImageFile=embedded\WizardSmallImage0.bmp
  22.  
  23. [Files]
  24. Source: "{app}\Backup4all.exe"; DestDir: "{app}"; Flags: ignoreversion 
  25. Source: "{app}\B4aCmd.exe"; DestDir: "{app}"; Flags: ignoreversion 
  26. Source: "{app}\BACKUP4ALL.HLP"; DestDir: "{app}"; Flags: ignoreversion 
  27. Source: "{app}\Backup4all.cnt"; DestDir: "{app}"; Flags: ignoreversion 
  28. Source: "{tmp}\TmpMove.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall ignoreversion 
  29. Source: "{app}\License.rtf"; DestDir: "{app}"; Flags: ignoreversion 
  30. Source: "{app}\Readme.txt"; DestDir: "{app}"; Flags: ignoreversion 
  31. Source: "{userappdata}\Softland\Backup4all\IniFiles\My Documents.ini"; DestDir: "{userappdata}\Softland\Backup4all\IniFiles"; Flags: uninsneveruninstall 
  32. Source: "{userappdata}\Softland\Backup4all\IniFiles\My Pictures.ini"; DestDir: "{userappdata}\Softland\Backup4all\IniFiles"; MinVersion: 4.0,5.0; Flags: uninsneveruninstall 
  33. Source: "{userappdata}\Softland\Backup4all\IniFiles\IE Favorites.ini"; DestDir: "{userappdata}\Softland\Backup4all\IniFiles"; Flags: uninsneveruninstall 
  34.  
  35. [Dirs]
  36. Name: "{app}\Languages"; 
  37.  
  38. [Registry]
  39. Root: HKCR; Subkey: ".bkc"; ValueType: String; ValueData: "Backup4allFile"; Tasks: associate; Flags: uninsdeletekey deletevalue 
  40. Root: HKCR; Subkey: "Backup4allFile"; ValueType: String; ValueData: "Backup4all file"; Tasks: associate; Flags: uninsdeletekey deletevalue 
  41. Root: HKCR; Subkey: "Backup4allFile\DefaultIcon"; ValueType: String; ValueData: "{app}\Backup4all.exe,1"; Tasks: associate; Flags: uninsdeletekey deletevalue 
  42. Root: HKCR; Subkey: "Backup4allFile\shell\open\command"; ValueType: String; ValueData: "{app}\Backup4all.exe /F ""%1"""; Tasks: associate; Flags: uninsdeletekey deletevalue 
  43. Root: HKCU; Subkey: "Software\Microsoft\Windows\CurrentVersion\Run"; ValueName: "Backup4all"; ValueType: String; ValueData: "{app}\Backup4all.exe /s"; Tasks: autostart; Flags: uninsdeletevalue deletevalue 
  44. Root: HKLM; Subkey: "Software\Softland\Backup4all"; ValueName: "InstallPath"; ValueType: String; ValueData: "{app}"; Flags: uninsdeletekey deletevalue 
  45. Root: HKLM; Subkey: "Software\Softland\Backup4all"; ValueName: "VersionInfo"; ValueType: String; ValueData: "{code:getVersion}"; Flags: uninsdeletekey deletevalue 
  46.  
  47. [INI]
  48. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&GLOBAL_SETTINGS"; 
  49. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&GLOBAL_SETTINGS"; Key: "LOG_SIZE"; String: "1"; Flags: createkeyifdoesntexist 
  50. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&GLOBAL_SETTINGS"; Key: "LOG_SIZE_UNIT"; String: "2"; Flags: createkeyifdoesntexist 
  51. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&GLOBAL_SETTINGS"; Key: "LOG_LEVEL"; String: "0"; Flags: createkeyifdoesntexist 
  52. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&GLOBAL_SETTINGS"; Key: "LOG_PATH"; String: "{userappdata}\Softland\Backup4all\Backup4all.log"; Flags: createkeyifdoesntexist 
  53. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&GLOBAL_SETTINGS"; Key: "LAST_ACCESSED_GROUP"; String: "My documents"; Flags: createkeyifdoesntexist 
  54. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&GLOBAL_SETTINGS"; Key: "DELETE_EMPTY_FOLDERS_ON_EXPAND"; String: "2"; Flags: createkeyifdoesntexist 
  55. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "My documents"; Flags: createkeyifdoesntexist 
  56. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "My documents"; Key: "iconindex"; String: "1"; Flags: createkeyifdoesntexist 
  57. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "My documents"; Key: "group"; String: "Samples"; Flags: createkeyifdoesntexist 
  58. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "My documents"; Key: "path"; String: "IniFiles\My Documents.ini"; Flags: createkeyifdoesntexist 
  59. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "My Pictures"; 
  60. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "My Pictures"; Key: "iconindex"; String: "0"; Flags: createkeyifdoesntexist 
  61. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "My Pictures"; Key: "group"; String: "Samples"; Flags: createkeyifdoesntexist 
  62. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "My Pictures"; Key: "path"; String: "IniFiles\My Pictures.ini"; Flags: createkeyifdoesntexist 
  63. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "IE Favorites"; 
  64. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "IE Favorites"; Key: "iconindex"; String: "7"; Flags: createkeyifdoesntexist 
  65. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "IE Favorites"; Key: "group"; String: "Samples"; Flags: createkeyifdoesntexist 
  66. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "IE Favorites"; Key: "path"; String: "IniFiles\IE Favorites.ini"; Flags: createkeyifdoesntexist 
  67. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&Backups"; 
  68. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&Backups"; Key: "count"; String: "2"; Flags: createkeyifdoesntexist 
  69. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&Backups"; Key: "count"; String: "3"; Flags: createkeyifdoesntexist 
  70. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&Backups"; Key: "backup1"; String: "My documents"; Flags: createkeyifdoesntexist 
  71. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&Backups"; Key: "backup2"; String: "IE Favorites"; Flags: createkeyifdoesntexist 
  72. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&Backups"; Key: "backup3"; String: "My Pictures"; Flags: createkeyifdoesntexist 
  73. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "Samples"; Flags: createkeyifdoesntexist 
  74. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "Samples"; Key: "type"; String: "&group"; Flags: createkeyifdoesntexist 
  75. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&Groups"; Flags: createkeyifdoesntexist 
  76. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&Groups"; Key: "count"; String: "1"; Flags: createkeyifdoesntexist 
  77. FileName: "{userappdata}\Softland\Backup4all\Backup4all.ini"; Section: "&Groups"; Key: "group1"; String: "Samples"; Flags: createkeyifdoesntexist 
  78.  
  79. [Run]
  80. Filename: "{tmp}\TmpMove.exe"; Parameters: """{app}"""; Flags: skipifdoesntexist 
  81. Filename: "{app}\Backup4all.exe"; Description: "Launch Backup4all"; Flags: postinstall skipifsilent nowait
  82.  
  83. [Icons]
  84. Name: "{group}\Backup4all"; Filename: "{app}\Backup4all.exe"; 
  85. Name: "{group}\Backup4all Help"; Filename: "{app}\BACKUP4ALL.HLP"; 
  86. Name: "{group}\Readme"; Filename: "{app}\Readme.txt"; 
  87. Name: "{group}\Uninstall"; Filename: "{uninstallexe}"; 
  88. Name: "{commondesktop}\Backup4all"; Filename: "{app}\Backup4all.exe"; Tasks: desktopicon; 
  89. Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Backup4all"; Filename: "{app}\Backup4all.exe"; Tasks: quicklaunchicon; MinVersion: 0.0,5.0.2195; 
  90.  
  91. [Tasks]
  92. Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Options:"; 
  93. Name: "associate"; Description: "&Associate '.bkc' files with Backup4all application"; GroupDescription: "Options:"; 
  94. Name: "autostart"; Description: "&Start on windows startup"; GroupDescription: "Options:"; 
  95. Name: "quicklaunchicon"; Description: "Create a &Quick Launch icon"; GroupDescription: "Options:"; MinVersion: 0.0,5.0.2195; 
  96.  
  97. [UninstallDelete]
  98. Type: files; Name: "{tmp}\TmpMove.exe"; 
  99.