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
Wrap
Text File
|
2005-05-31
|
11KB
|
168 lines
;InnoSetupVersion=5.0.4
[Setup]
AppName={cm:ApplicationName}
AppVerName={cm:ApplicationName} v2.4 ({cm:BuildCaption}: 2.4.2.375)
AppId=Auto Backup
AppVersion=2.4
AppPublisher={cm:CompanyName}
AppPublisherURL={cm:SiteHomeUrl}
AppSupportURL={cm:SupportUrl}
AppUpdatesURL={cm:UpdatesUrl}
AppMutex=Han-soft Auto Backup Running
AppComments={cm:BuildCaption}: 2.4.2.375
AppModifyPath="{app}\UninsHs.exe" /m=Auto Backup
DefaultDirName={pf}\Auto Backup
DefaultGroupName={cm:DefaultGroup}
UninstallDisplayIcon=ABackup.exe,0
UninstallDisplayName={cm:ApplicationName} v2.4
OutputBaseFilename=AutoBackup_ins
Compression=lzma
ChangesAssociations=yes
AllowNoIcons=yes
WizardImageFile=embedded\WizardImage0.bmp
WizardSmallImageFile=embedded\WizardSmallImage0.bmp
[Files]
Source: "{app}\ABackup.exe"; DestDir: "{app}"; Components: main; Flags: restartreplace uninsrestartdelete ignoreversion uninsremovereadonly
Source: "{app}\ABackup.erd"; DestDir: "{app}"; Components: main; Flags: restartreplace uninsrestartdelete ignoreversion uninsremovereadonly
Source: "{app}\AutoBackup.umk"; DestDir: "{app}"; Components: main; Flags: ignoreversion uninsremovereadonly
Source: "{app}\UninsHs.exe"; DestDir: "{app}"; Components: main; Flags: restartreplace uninsrestartdelete uninsremovereadonly
Source: "{app}\ABsvc.exe"; DestDir: "{app}"; Components: service; Flags: restartreplace uninsrestartdelete ignoreversion uninsremovereadonly
Source: "{app}\Languages\English,1.lng"; DestDir: "{app}\Languages"; DestName: "English.lng"; Components: main; Languages: "en"; Flags: ignoreversion uninsremovereadonly
Source: "{app}\Languages\English,2.lng"; DestDir: "{app}\Languages"; DestName: "English.lng"; Components: language\English; Languages: "not(en)"; Flags: ignoreversion uninsremovereadonly
Source: "{app}\Documents\English\Readme,1.wri"; DestDir: "{app}\Documents\English"; DestName: "Readme.wri"; Components: main; Languages: "en"; Flags: ignoreversion uninsremovereadonly
Source: "{app}\Documents\English\Readme,2.wri"; DestDir: "{app}\Documents\English"; DestName: "Readme.wri"; Components: help\English; Languages: "not(en)"; Flags: ignoreversion uninsremovereadonly
Source: "{app}\Documents\English\License,1.wri"; DestDir: "{app}\Documents\English"; DestName: "License.wri"; Components: main; Languages: "en"; Flags: ignoreversion uninsremovereadonly
Source: "{app}\Documents\English\License,2.wri"; DestDir: "{app}\Documents\English"; DestName: "License.wri"; Components: help\English; Languages: "not(en)"; Flags: ignoreversion uninsremovereadonly
Source: "{app}\Documents\English\AutoBackup.hlp"; DestDir: "{app}\Documents\English"; Components: help\English; Flags: ignoreversion uninsremovereadonly
Source: "{app}\Documents\English\AutoBackup.cnt"; DestDir: "{app}\Documents\English"; Components: help\English; Flags: ignoreversion uninsremovereadonly
[Dirs]
Name: "{app}\Templates"; Flags: uninsalwaysuninstall
Name: "{code:GetDataDir}"; Flags: uninsalwaysuninstall
Name: "{userappdata}\$Han-soft Installation$"; Flags: uninsalwaysuninstall
[Registry]
Root: HKCR; Subkey: ".hbk"; ValueType: String; ValueData: "Auto Backup"; Tasks: associateicon; Flags: uninsdeletekey deletekey noerror
Root: HKCR; Subkey: "Auto Backup"; ValueType: String; ValueData: "{cm:DocumentName}"; Tasks: associateicon; Flags: uninsdeletekey deletekey noerror
Root: HKCR; Subkey: "Auto Backup\DefaultIcon"; ValueType: String; ValueData: "{app}\ABackup.exe,1"; Tasks: associateicon; Flags: uninsdeletekey deletekey noerror
Root: HKCR; Subkey: "Auto Backup\shell"; ValueType: String; ValueData: "open"; Tasks: associateicon; Flags: uninsdeletekey deletekey noerror
Root: HKCR; Subkey: "Auto Backup\shell\open"; ValueType: String; ValueData: "{cm:OpenMenuName}"; Tasks: associateicon; Flags: uninsdeletekey deletekey noerror
Root: HKCR; Subkey: "Auto Backup\shell\open\command"; ValueType: String; ValueData: """{app}\ABackup.exe"" ""%1"""; Tasks: associateicon; Flags: uninsdeletekey deletekey noerror
[INI]
FileName: "{app}\Han-soft.url"; Section: "InternetShortcut"; Key: "URL"; String: "{cm:SiteHomeUrl}";
FileName: "{code:GetDataDir}\AutoBackup.ini"; Section: "Common"; Key: "Language"; String: "{cm:LanguageDisplayName}";
FileName: "{app}\UninsHs.dat"; Section: "Others"; Key: "Affiliate"; String: "{srcexe}";
FileName: "{app}\UninsHs.dat"; Section: "Uninstall"; Key: "Flag0"; String: "0_1A3A6329A64AF7A37A57059CE6CC91FC";
FileName: "{app}\AutoBackup.cfg"; Section: "User"; Key: "All_Users"; String: "{code:GetAllUsers}";
FileName: "{app}\AutoBackup.cfg"; Section: "Custom"; Key: "Work_Path"; String: "{code:GetDataDir}\";
FileName: "{app}\AutoBackup.cfg"; Section: "Service"; Key: "Work_Path"; String: "{code:GetDataDir}\";
[Run]
Filename: "{app}\Documents\English\Readme.wri"; Components: main; Languages: "en"; Flags: shellexec skipifdoesntexist postinstall skipifsilent nowait
Filename: "{app}\UninsHs.exe"; Parameters: "/r=Auto Backup,{language},{srcexe},{userappdata}\$Han-soft Installation$\ABi.exe"; WorkingDir: "{app}"; Flags: skipifdoesntexist nowait
Filename: "{app}\ABackup.exe"; Parameters: "3 /i {cm:LanguageDisplayName} {code:GetDataDir}"; WorkingDir: "{app}"; Flags: skipifdoesntexist skipifsilent nowait
Filename: "{app}\ABackup.exe"; Parameters: "8 /i {cm:LanguageDisplayName} {code:GetDataDir}"; WorkingDir: "{app}"; StatusMsg: "{cm:InstallServiceStatus,{cm:ApplicationName}}..."; Tasks: installservice; Flags: skipifdoesntexist skipifsilent nowait
Filename: "{app}\ABackup.exe"; Parameters: "32 /i {cm:LanguageDisplayName}"; WorkingDir: "{app}"; StatusMsg: "{cm:AssociateDocIconStatus,{cm:ApplicationName},.hbk}..."; Tasks: associateicon; Flags: skipifdoesntexist nowait
Filename: "{app}\ABackup.exe"; WorkingDir: "{app}"; Description: "{cm:LaunchProgram,{cm:ApplicationName}}"; Flags: postinstall skipifsilent nowait
[UninstallRun]
Filename: "{app}\ABackup.exe"; Parameters: "249 /u"; WorkingDir: "{app}"; RunOnceId: "UninstallRun Flags: runhidden runminimized skipifdoesntexist waituntilterminated";
[Icons]
Name: "{code:GetProgramMenuDir}\{groupname}\{cm:ApplicationName}"; Filename: "{app}\ABackup.exe"; WorkingDir: "{app}"; Comment: "{cm:MainIconComment,{cm:ApplicationName}}";
Name: "{code:GetProgramMenuDir}\{groupname}\{cm:ProgramHelp,{cm:ApplicationName}}"; Filename: "{app}\Documents\{cm:LanguageName}\{cm:HelpFileName}"; Comment: "{cm:HelpIconComment,{cm:ApplicationName}}";
Name: "{code:GetProgramMenuDir}\{groupname}\{cm:ProgramOnTheWeb,{cm:ApplicationName}}"; Filename: "{app}\Han-soft.url"; Comment: "{cm:HomeIconComment,{cm:ApplicationName}}";
Name: "{code:GetProgramMenuDir}\{groupname}\{cm:UninstallProgram,{cm:ApplicationName}}"; Filename: "{app}\UninsHs.exe"; Parameters: "/u=Auto Backup"; WorkingDir: "{app}"; Comment: "{cm:UninstallIconComment,{cm:ApplicationName}}";
Name: "{code:GetDesktopDir}\{cm:ApplicationName}"; Filename: "{app}\ABackup.exe"; WorkingDir: "{app}"; Comment: "{cm:MainIconComment,{cm:ApplicationName}}"; Tasks: desktopicon;
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{cm:ApplicationName}"; Filename: "{app}\ABackup.exe"; WorkingDir: "{app}"; Comment: "{cm:MainIconComment,{cm:ApplicationName}}"; Tasks: quicklaunchicon;
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}";
Name: "associateicon"; Description: "{cm:AssociateDocIcon,{cm:ApplicationName},.hbk}"; GroupDescription: "{cm:AssociateIcon}";
Name: "installservice"; Description: "{cm:InstallService,{cm:ApplicationName}}"; GroupDescription: "{cm:InstallServices}"; Components: "service"; Check: "IsAdminLoggedOn";
[Components]
Name: "main"; Description: "{cm:MainComponent}"; Types: "full compact custom";
Name: "service"; Description: "{cm:ServiceComponent}"; Types: "full";
Name: "language"; Description: "{cm:LanguageComponent}"; Types: "full";
Name: "language\english"; Description: "{cm:en}"; Types: "full compact"; Languages: "en";
Name: "language\english"; Description: "{cm:en}"; Types: "full"; Languages: "not (en)";
Name: "help"; Description: "{cm:HelpComponent}"; Types: "full";
Name: "help\english"; Description: "{cm:HelpComponentItem,{cm:en}}"; Types: "full compact"; Languages: "en";
Name: "help\english"; Description: "{cm:HelpComponentItem,{cm:en}}"; Types: "full"; Languages: "not (en)";
[InstallDelete]
Type: filesandordirs; Name: "{app}\Documents";
Type: filesandordirs; Name: "{app}\Languages";
Type: files; Name: "{app}\ABsvc.exe";
Type: files; Name: "{app}\ABext.dll";
[UninstallDelete]
Type: filesandordirs; Name: "{userappdata}\$Han-soft Installation$";
Type: filesandordirs; Name: "{app}";
Type: filesandordirs; Name: "{ini:{app}\AutoBackup.cfg, Custom,Work_Path|{commonappdata}\Auto Backup}";
[Types]
Name: "full";
Name: "compact";
Name: "custom";
[CustomMessages]
en.NameAndVersion=%1 version %2
en.AssocFileExtension=&Associate %1 with the %2 file extension
en.AssocingFileExtension=Associating %1 with the %2 file extension...
en.ApplicationName=Auto Backup
en.BuildCaption=Build
en.DefaultGroup=Auto Backup
en.SupportUrl=http://www.han-soft.com/supp.php
en.UpdatesUrl=http://www.han-soft.com/habt.php
en.SiteHomeUrl=http://www.han-soft.com
en.CompanyName=Han-soft Software
en.MainComponent=Main files
en.ServiceComponent=Windows NT/2000/XP/2003 service files
en.LanguageComponent=Langauge files
en.HelpComponent=Help files
en.HelpComponentItem=%1 help
en.en=Englsih
en.chs=Chinese
en.LanguageName=English
en.LanguageDisplayName=English
en.AdditionalIcons=Additional icons:
en.CreateDesktopIcon=Create a &Desktop icon
en.CreateQuickLaunchIcon=Create a &Quick Launch icon for current user
en.AssociateIcon=Associate icons:
en.AssociateDocIcon=&Associate %1 with the %2 backup archive file extension
en.AssociateDocIconStatus=Associate %1 with the %2 backup archive file extension
en.InstallServices=Register service:
en.InstallService=&Register %1 service for Windows NT/2000/XP/2003
en.InstallServiceStatus=Register %1 service for Windows NT/2000/XP/2003
en.MainIconComment=Launch the %1
en.HelpIconComment=Open the %1 help
en.HomeIconComment=Visit the Han-soft website
en.UninstallIconComment=Modify, repair or remove the %1
en.HelpFileName=AutoBackup.hlp
en.ProgramHelp=%1 Help
en.ProgramOnTheWeb=%1 Home
en.UninstallProgram=Uninstall %1
en.LaunchProgram=Launch %1
en.DocumentName=Auto Backup Archive
en.OpenMenuName=&Restore...
en.UserPageCaption=User options
en.UserPageDescription=Please specify the user options.
en.UserPageSubCaption=Which users do you install the application for?
en.AllUsers=Install the application for &all users
en.SingleUser=Install the application for c&urrent user
en.DataDirMsg=The configuration file will be saved into the following folder.
en.DataDirInfo=Configuration folder:
en.BrowseDataDir=&Browse...
en.UserMode=User options:
[Languages]
; These files are stubs
; To achieve better results after recompilation, use the real language files
Name: "en"; MessagesFile: "embedded\en.isl"; LicenseFile: "embedded\enLicense.rtf"; InfoBeforeFile: "embedded\enInfoBefore.rtf";