Bond01, удалил askBarSetup.exe, toolbar.bmp, License.rtf - файлы, отвечающие за тулбар; удалил help,2.chm и help,3.chm - французскую и итальянскую справки; удалил все из папки languages, кроме english.lng, russian.lng, ukrainian.lng. Потом заменил файлы-пустышки в папке embedded (еn.isl и ru.isl) на реальные.
Поправил скрипт, чтобы программа не запускалась по окончании установки, поправил curLanguage на russian.lng. Почистил "мусор", задал значение DefaultGroupName.
Вот и все
Скрипт:
Код:
[Setup]
AppName=Glary Utilities
AppVerName=Glary Utilities 2.15.0.738
DefaultDirName={pf}\Glary Utilities
DefaultGroupName=Glary Utilities
OutputBaseFilename=gusetupnew
Compression=lzma
LicenseFile=embedded\License.txt
WizardImageFile=embedded\WizardImage.bmp
WizardSmallImageFile=embedded\WizardSmallImage.bmp
[Files]
Source: "{app}\Integrator.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\diskanalysis.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\dupefinder.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\eff.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\iehelper.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\junkcleaner.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\memdefrag.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\regrepair.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\shortcutsfixer.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\shredder.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\startup.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\TracksEraser.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\uninstaller.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\procmgr.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\cmm.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\webupdate.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\fileencrypt.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\encryptexe.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\filesplitter.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\joinexe.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\winstd.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\oneclickoptimizer.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\undelete.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\initialize.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\regdefrag.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\gsd.exe"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\FILEDEL.AVI"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\scan.avi"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\autodll.dll"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\lockdll.dll"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\ZipDll.dll"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\UnzDll.dll"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\ContextHandler.dll"; DestDir: "{app}"; Flags: restartreplace regserver uninsrestartdelete ignoreversion
Source: "{sys}\msscript.ocx"; DestDir: "{sys}"; Flags: uninsneveruninstall regserver onlyifdoesntexist
Source: "{app}\help.chm"; DestDir: "{app}"; DestName: "help.chm"; Flags: ignoreversion
Source: "{app}\data\apps.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\duplicates.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\duplicatesfolder.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\empty.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\junk.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\junkInfo.ini"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\startup.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\htmldata.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\process.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\procsubmit.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\xdata.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\xt.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\xb.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\data\registry.dat"; DestDir: "{app}\data"; Flags: ignoreversion
Source: "{app}\languages\english.lng"; DestDir: "{app}\languages"; Flags: ignoreversion
Source: "{app}\languages\russian.lng"; DestDir: "{app}\languages"; Flags: ignoreversion
Source: "{app}\languages\ukrainian.lng"; DestDir: "{app}\languages"; Flags: ignoreversion
Source: "{app}\rtl70.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\vcl70.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\vclx70.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\vcljpg70.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\vclsmp70.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\dxComnD7.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\dxGDIPlusD7.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\dxThemeD7.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\cxLibraryVCLD7.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\dxBarD7.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\dxNavBarD7.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\pngD7.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\VirtualTreesD7.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\GUControlD7.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\GUTrayIconD7.bpl"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete ignoreversion
Source: "{app}\skins\default\btn_close.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\btn_min.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\button.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\category2_b.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\category2_m.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\category2_t.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\category_o.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\category_t.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\line.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\longbutton.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\mainfree.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\mainpro.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\menu.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\modules.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\oneclick.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\skin.ini"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\Status.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\default\tab.png"; DestDir: "{app}\skins\default"; Flags: ignoreversion
Source: "{app}\skins\Icons\1.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\2.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\3.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\4.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\5.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\brower assistant.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\context menu manager.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\disk analysis.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\duplicate files finder.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\empty folder finder.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\file encrypter.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\file secure delete.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\file splitter.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\file undelete.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\junk files cleaner.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\main.ico"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\memory defrag.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\process manager.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\registry cleaner.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\registry defrag.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\shortcuts fixer.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\startup manager.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\tracks eraser.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\uninstall manager.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\web updater.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\Icons\windows standard-functions.png"; DestDir: "{app}\skins\Icons"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\btn_close.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\btn_min.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\button.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\category2_b.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\category2_m.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\category2_t.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\category_o.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\category_t.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\line.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\longbutton.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\mainfree.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\mainpro.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\menu.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\modules.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\oneclick.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\skin.ini"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\Status.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\LawnGreen\tab.png"; DestDir: "{app}\skins\LawnGreen"; Flags: ignoreversion
Source: "{app}\skins\Navy\btn_close.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\btn_min.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\button.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\category2_b.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\category2_m.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\category2_t.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\category_o.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\category_t.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\line.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\longbutton.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\mainfree.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\mainpro.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\menu.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\modules.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\oneclick.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\skin.ini"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\status.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
Source: "{app}\skins\Navy\tab.png"; DestDir: "{app}\skins\Navy"; Flags: ignoreversion
[Registry]
Root: HKCU; Subkey: "SOFTWARE\GlarySoft\Glary Utilities"; ValueName: "Language"; ValueType: String; ValueData: "russian.lng";
Root: HKCU; Subkey: "SOFTWARE\GlarySoft\Glary Utilities"; ValueName: "RefVersion"; ValueType: String; ValueData: "2009-08-18";
Root: HKCU; Subkey: "SOFTWARE\GlarySoft\Glary Utilities"; ValueName: "LngVersion"; ValueType: String; ValueData: "2009-08-18";
Root: HKCU; Subkey: "SOFTWARE\GlarySoft\Glary Utilities"; ValueName: "UpdateFile"; ValueType: String;
Root: HKCU; Subkey: "SOFTWARE\GlarySoft\Glary Utilities"; ValueName: "RootDir"; ValueType: String; ValueData: "{app}";
Root: HKCR; Subkey: ".gfe"; Flags: uninsdeletekey
Root: HKCR; Subkey: ".gfe"; ValueType: String; ValueData: "GU.Encrypted";
Root: HKCR; Subkey: "GU.Encrypted"; Flags: uninsdeletekey
Root: HKCR; Subkey: "GU.Encrypted"; ValueType: String; ValueData: "Glary Utilities Encrypted File";
Root: HKCR; Subkey: "GU.Encrypted\DefaultIcon";
Root: HKCR; Subkey: "GU.Encrypted\DefaultIcon"; ValueType: String; ValueData: "{app}\fileencrypt.exe,0";
Root: HKCR; Subkey: "GU.Encrypted\Shell";
Root: HKCR; Subkey: "GU.Encrypted\Shell\Open";
Root: HKCR; Subkey: "GU.Encrypted\Shell\Open\Command";
Root: HKCR; Subkey: "GU.Encrypted\Shell\Open\Command"; ValueType: String; ValueData: "{app}\fileencrypt.exe -d %1";
Root: HKCR; Subkey: ".gfs"; Flags: uninsdeletekey
Root: HKCR; Subkey: ".gfs"; ValueType: String; ValueData: "GU.Splitted";
Root: HKCR; Subkey: "GU.Splitted"; Flags: uninsdeletekey
Root: HKCR; Subkey: "GU.Splitted"; ValueType: String; ValueData: "Glary Utilities Splitted File";
Root: HKCR; Subkey: "GU.Splitted\DefaultIcon";
Root: HKCR; Subkey: "GU.Splitted\DefaultIcon"; ValueType: String; ValueData: "{app}\filesplitter.exe,0";
Root: HKCR; Subkey: "GU.Splitted\Shell";
Root: HKCR; Subkey: "GU.Splitted\Shell\Open";
Root: HKCR; Subkey: "GU.Splitted\Shell\Open\Command";
Root: HKCR; Subkey: "GU.Splitted\Shell\Open\Command"; ValueType: String; ValueData: "{app}\filesplitter.exe -j %1";
[Run]
;Filename: "{app}\Integrator.exe"; Description: "{cm:LaunchProgram,Glary Utilities}";
Filename: "{app}\initialize.exe"; Parameters: "/setupschedule";
[Icons]
Name: "{group}\Glary Utilities"; Filename: "{app}\Integrator.exe";
Name: "{group}\{cm:UninstallProgram,Glary Utilities}"; Filename: "{uninstallexe}";
Name: "{userdesktop}\Glary Utilities"; Filename: "{app}\Integrator.exe"; Tasks: "desktopicon";
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Glary Utilities"; Filename: "{app}\Integrator.exe"; Tasks: "quicklaunchicon";
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}";
[CustomMessages]
en.NameAndVersion=%1 version %2
en.AdditionalIcons=Additional icons:
en.CreateDesktopIcon=Create a &desktop icon
en.CreateQuickLaunchIcon=Create a &Quick Launch icon
en.ProgramOnTheWeb=%1 on the Web
en.UninstallProgram=Uninstall %1
en.LaunchProgram=Launch %1
en.AssocFileExtension=&Associate %1 with the %2 file extension
en.AssocingFileExtension=Associating %1 with the %2 file extension...
ru.NameAndVersion=%1, версия %2
ru.AdditionalIcons=Дополнительные значки:
ru.CreateDesktopIcon=Создать значок на &Рабочем столе
ru.CreateQuickLaunchIcon=Создать значок в &Панели быстрого запуска
ru.ProgramOnTheWeb=Сайт %1 в Интернете
ru.UninstallProgram=Деинсталлировать %1
ru.LaunchProgram=Запустить %1
ru.AssocFileExtension=Св&язать %1 с файлами, имеющими расширение %2
ru.AssocingFileExtension=Связывание %1 с файлами %2...
[Languages]
Name: "en"; MessagesFile: "embedded\en.isl";
Name: "ru"; MessagesFile: "embedded\ru.isl";