Автор: AlexM2222
Дата сообщения: 08.05.2015 10:47
Сделал для себя перепаковку программы USB Safely Remove, всё получилось хорошо, но остались два вопроса ("косметического плана - уборка за собой"):
1) При запуске программа создаёт дополнительную ветку в реестре HKLM\SOFTWARE\SafelyRemove. Как прописать её удаление при деинсталяции в скрипте.
2) При запуске программа создаёт лог событий USBSRService (c:\ProgramData\USBSRService\USBSRService.log.txt). Как прописать удаление папки с логом (c:\ProgramData\USBSRService) при деинсталяции в скрипте.
[more=Вот мой скрипт...];InnoSetupVersion=5.5.5
[Setup]
AppName=USB Safely Remove
AppVerName=USB Safely Remove 5.3.8.1233
AppPublisher=(сборка 'Электрик')
VersionInfoVersion=5.3.8.1233
AppVersion=5.3.8.1233
DefaultDirName={pf}\USB Safely Remove
DefaultGroupName=USB Safely Remove
UninstallDisplayIcon={app}\USBSafelyRemove.exe
OutputBaseFilename=Setup_USB_Safely_Remove
Compression=lzma
WizardImageFile=embedded\WizardImage.bmp
WizardSmallImageFile=embedded\WizardSmallImage.bmp
SetupIconFile=H:\InnoSetup5\usbsafelyremovesetup_5-3-8\Output\USB_Safely_Remove_Setup_150506_18-42.ico
[Files]
Source: "{app}\DeviceImages\Battery.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Bluetooth.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Camera.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Card reader (black).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Card reader (green).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Card reader (red).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Card reader.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\CD-DVD player.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Fingerprint.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive (black).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive (gray).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive (green).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive (light).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive (orange).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive (pink).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive (white).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive (wine).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive 2 (black).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive 2 (gray).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive 2 (green).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive 2 (light).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive 2 (pink).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive 2 (wine).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive 2.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Flash drive.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Graphics-tablet.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\HDD (black).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\HDD (blue).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\HDD (red).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\HDD (yellow).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\HDD 2.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\HDD Firewire.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\HDD SATA.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\HDD SCSI.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\HDD USB (white).ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\HDD USB.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\HDD.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Headphones.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\iPod.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Joypad.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Joystick.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Keyboard.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Loudspeaker.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Memory card CF.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Memory card MS.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Memory card SD.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Memory card XD.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Microphone.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Mobile phone.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Modem.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Mouse.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\MP3 player.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\PCI-card.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\PDA.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Printer.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Radio.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\RemoteControl.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Scanner.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\SCSI logo.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Smartcard.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\TV-tuner.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\UPS.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\USB device.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\USB logo.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\USB wireless.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Webcam.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\DeviceImages\Wi-Fi logo.ico"; DestDir: "{app}\DeviceImages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\browse_drive_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\browse_drive_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\close_balloon_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\close_balloon_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\close_hidden_device_list_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\close_hidden_device_list_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\close_info_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\close_info_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\close_menu_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\close_menu_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\colorscheme.ini"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\drive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\eject_drive_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\eject_drive_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\fixed_letter_sign.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\hot_key.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\open_hidden_device_list_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\open_hidden_device_list_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\options_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\options_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\quick_launch_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\quick_launch_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\reg_key_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\reg_key_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\return_drive_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\return_drive_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\stop_all_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\stop_all_interrupt_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\stop_all_interrupt_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\stop_all_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\update_hardware_active.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\update_hardware_passive.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Contrast\warning_letter_sign.png"; DestDir: "{app}\Skins\Black Contrast"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\browse_drive_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\browse_drive_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\close_balloon_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\close_balloon_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\close_hidden_device_list_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\close_hidden_device_list_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\close_info_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\close_info_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\close_menu_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\close_menu_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\colorscheme.ini"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\drive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\eject_drive_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\eject_drive_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\fixed_letter_sign.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\hot_key.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\open_hidden_device_list_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\open_hidden_device_list_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\options_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\options_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\quick_launch_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\quick_launch_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\reg_key_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\reg_key_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\return_drive_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\return_drive_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\stop_all_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\stop_all_interrupt_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\stop_all_interrupt_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\stop_all_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\update_hardware_active.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\update_hardware_passive.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Black Velvet\warning_letter_sign.png"; DestDir: "{app}\Skins\Black Velvet"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\browse_drive_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\browse_drive_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\close_balloon_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\close_balloon_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\close_hidden_device_list_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\close_hidden_device_list_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\close_info_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\close_info_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\close_menu_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\close_menu_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\colorscheme.ini"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\drive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\eject_drive_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\eject_drive_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\fixed_letter_sign.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\hot_key.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\open_hidden_device_list_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\open_hidden_device_list_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\options_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\options_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\quick_launch_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\quick_launch_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\reg_key_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\reg_key_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\return_drive_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\return_drive_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\stop_all_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\stop_all_interrupt_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\stop_all_interrupt_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\stop_all_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\update_hardware_active.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\update_hardware_passive.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Classic\warning_letter_sign.png"; DestDir: "{app}\Skins\Classic"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\browse_drive_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\browse_drive_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\close_balloon_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\close_balloon_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\close_hidden_device_list_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\close_hidden_device_list_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\close_info_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\close_info_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\close_menu_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\close_menu_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\colorscheme.ini"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\drive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\eject_drive_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\eject_drive_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\fixed_letter_sign.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\hot_key.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\open_hidden_device_list_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\open_hidden_device_list_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\options_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\options_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\quick_launch_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\quick_launch_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\reg_key_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\reg_key_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\return_drive_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\return_drive_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\stop_all_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\stop_all_interrupt_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\stop_all_interrupt_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\stop_all_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\update_hardware_active.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\update_hardware_passive.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Skins\Win8ModernUI\warning_letter_sign.png"; DestDir: "{app}\Skins\Win8ModernUI"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Languages\Russian.lng"; DestDir: "{app}\Languages"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\USBSRService,1.exe"; DestDir: "{app}"; DestName: "USBSRService.exe"; Check: "IsWin64"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\USRFindHandle,1.sys"; DestDir: "{app}"; DestName: "USRFindHandle.sys"; Check: "IsWin64"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\USRFindHandle,2.sys"; DestDir: "{app}"; DestName: "USRFindHandle.sys"; Check: "not IsWin64"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\USBSRService,2.exe"; DestDir: "{app}"; DestName: "USBSRService.exe"; Check: "not IsWin64"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\USBSafelyRemove.exe"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\usr.exe"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\installnotes.rtf"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\FILE_ID.DIZ"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\History.txt"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\License.txt"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Order.txt"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\Readme.txt"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\RestoreSettings.bat"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\SaveSettings.bat"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\USBSafelyRemove.chm"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
Source: "{app}\USBSafelyRemoveRu.chm"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
[Registry]
; Регистрация
Root: "HKCU"; Subkey: "Software\SafelyRemove"; ValueType: string; ValueName: "LicKey"; ValueData: "ХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХХ"; Flags: uninsdeletekey; MinVersion: 0.0,5.0
Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Run"; ValueName: "USB Safely Remove"; Flags: uninsdeletekey; MinVersion: 0.0,5.0
Root: "HKLM"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\USBSafelyRemove.exe"; ValueData: "DisableNXShowUI"; MinVersion: 0.0,5.0
Root: "HKLM"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\NoExecuteState"; ValueType: Dword; ValueName: "LastNoExecuteRadioButtonState"; ValueData: "$36BD"; MinVersion: 0.0,5.0
Root: "HKCU"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\USBSafelyRemove.exe"; ValueData: "DisableNXShowUI"; MinVersion: 0.0,5.0
Root: "HKCU"; Subkey: "Software\SafelyRemove\Main"; ValueName: "FirstRunDT"; Flags: uninsdeletekey; MinVersion: 0.0,5.0
Root: "HKCU"; Subkey: "Software\SafelyRemove\Main"; ValueName: "RunCount"; Flags: uninsdeletekey; MinVersion: 0.0,5.0
Root: "HKCU"; Subkey: "Software\SafelyRemove\Stat"; ValueName: "StatString"; Flags: uninsdeletekey; MinVersion: 0.0,5.0
Root: "HKCU"; Subkey: "Software\SafelyRemove\Main"; ValueName: "TotalRunSeconds"; Flags: uninsdeletekey; MinVersion: 0.0,5.0
Root: "HKCU"; Subkey: "Software\SafelyRemove\Main"; ValueName: "FirstRunDTRaw"; Flags: uninsdeletekey; MinVersion: 0.0,5.0
[Run]
Filename: "{app}\USBSafelyRemove.exe"; Flags: postinstall skipifsilent nowait; Description: "{cm:LaunchProgram,USB Safely Remove}"; MinVersion: 0.0,5.0
Filename: "{app}\USBSRService.exe"; Parameters: "/install /silent"; Flags: shellexec; MinVersion: 0.0,5.0
Filename: "net"; Parameters: "start USBSafelyRemoveService"; Flags: shellexec runhidden; MinVersion: 0.0,5.0
Filename: "{win}\regedit.exe"; Parameters: "-s ""{src}\USBSafelyRemoveSettings.reg"""; StatusMsg: "Внесение настроек в реестр..."
[Icons]
Name: "{group}\USB Safely Remove"; Filename: "{app}\USBSafelyRemove.exe"; WorkingDir: "{app}"; IconFilename: "{app}\USBSafelyRemove.exe"; Comment: "Менеджер USB устройств"; MinVersion: 0.0,5.0;
Name: "{group}\{cm:UninstallProgram,USB Safely Remove}"; Filename: "{uninstallexe}"; MinVersion: 0.0,5.0;
;[Tasks]
;Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; MinVersion: 0.0,5.0;
;Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; MinVersion: 0.0,5.0;
[InstallDelete]
Type: files; Name: "{app}\USBImages\USB disk_large.png";
Type: files; Name: "{app}\USBImages\USB disk_small.png";
Type: files; Name: "{app}\USBImages\Memorystick_large.png";
Type: files; Name: "{app}\USBImages\Memorystick_small.png";
Type: files; Name: "{app}\USBImages\Battery_large.png";
Type: files; Name: "{app}\USBImages\Battery_small.png";
Type: files; Name: "{app}\USBImages\Bluetooth_large.png";
Type: files; Name: "{app}\USBImages\Bluetooth_small.png";
Type: files; Name: "{app}\USBImages\Camera_large.png";
Type: files; Name: "{app}\USBImages\Camera_small.png";
Type: files; Name: "{app}\USBImages\Card reader (black)_large.png";
Type: files; Name: "{app}\USBImages\Card reader (black)_small.png";
Type: files; Name: "{app}\USBImages\Card reader (green)_large.png";
Type: files; Name: "{app}\USBImages\Card reader (green)_small.png";
Type: files; Name: "{app}\USBImages\Card reader (red)_large.png";
Type: files; Name: "{app}\USBImages\Card reader (red)_small.png";
Type: files; Name: "{app}\USBImages\Card reader_large.png";
Type: files; Name: "{app}\USBImages\Card reader_small.png";
Type: files; Name: "{app}\USBImages\CD-DVD player_large.png";
Type: files; Name: "{app}\USBImages\CD-DVD player_small.png";
Type: files; Name: "{app}\USBImages\Default_large.png";
Type: files; Name: "{app}\USBImages\Default_small.png";
Type: files; Name: "{app}\USBImages\Fingerprint_large.png";
Type: files; Name: "{app}\USBImages\Fingerprint_small.png";
Type: files; Name: "{app}\USBImages\Flash drive (black)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive (black)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive (gray)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive (gray)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive (green)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive (green)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive (light)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive (light)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive (orange)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive (orange)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive (pink)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive (pink)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive (white)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive (white)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive (wine)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive (wine)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive 2 (black)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive 2 (black)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive 2 (gray)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive 2 (gray)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive 2 (green)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive 2 (green)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive 2 (light)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive 2 (light)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive 2 (pink)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive 2 (pink)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive 2 (wine)_large.png";
Type: files; Name: "{app}\USBImages\Flash drive 2 (wine)_small.png";
Type: files; Name: "{app}\USBImages\Flash drive 2_large.png";
Type: files; Name: "{app}\USBImages\Flash drive 2_small.png";
Type: files; Name: "{app}\USBImages\Flash drive_large.png";
Type: files; Name: "{app}\USBImages\Flash drive_small.png";
Type: files; Name: "{app}\USBImages\Graphics-tablet_large.png";
Type: files; Name: "{app}\USBImages\Graphics-tablet_small.png";
Type: files; Name: "{app}\USBImages\HDD (black)_large.png";
Type: files; Name: "{app}\USBImages\HDD (black)_small.png";
Type: files; Name: "{app}\USBImages\HDD (blue)_large.png";
Type: files; Name: "{app}\USBImages\HDD (blue)_small.png";
Type: files; Name: "{app}\USBImages\HDD (red)_large.png";
Type: files; Name: "{app}\USBImages\HDD (red)_small.png";
Type: files; Name: "{app}\USBImages\HDD (yellow)_large.png";
Type: files; Name: "{app}\USBImages\HDD (yellow)_small.png";
Type: files; Name: "{app}\USBImages\HDD 2_large.png";
Type: files; Name: "{app}\USBImages\HDD 2_small.png";
Type: files; Name: "{app}\USBImages\HDD Firewire_large.png";
Type: files; Name: "{app}\USBImages\HDD Firewire_small.png";
Type: files; Name: "{app}\USBImages\HDD SATA_large.png";
Type: files; Name: "{app}\USBImages\HDD SATA_small.png";
Type: files; Name: "{app}\USBImages\HDD SCSI_large.png";
Type: files; Name: "{app}\USBImages\HDD SCSI_small.png";
Type: files; Name: "{app}\USBImages\HDD USB (white)_large.png";
Type: files; Name: "{app}\USBImages\HDD USB (white)_small.png";
Type: files; Name: "{app}\USBImages\HDD USB_large.png";
Type: files; Name: "{app}\USBImages\HDD USB_small.png";
Type: files; Name: "{app}\USBImages\HDD_large.png";
Type: files; Name: "{app}\USBImages\HDD_small.png";
Type: files; Name: "{app}\USBImages\Headphones_large.png";
Type: files; Name: "{app}\USBImages\Headphones_small.png";
Type: files; Name: "{app}\USBImages\iPod_large.png";
Type: files; Name: "{app}\USBImages\iPod_small.png";
Type: files; Name: "{app}\USBImages\Joypad_large.png";
Type: files; Name: "{app}\USBImages\Joypad_small.png";
Type: files; Name: "{app}\USBImages\Joystick_large.png";
Type: files; Name: "{app}\USBImages\Joystick_small.png";
Type: files; Name: "{app}\USBImages\Keyboard_large.png";
Type: files; Name: "{app}\USBImages\Keyboard_small.png";
Type: files; Name: "{app}\USBImages\Loudspeaker_large.png";
Type: files; Name: "{app}\USBImages\Loudspeaker_small.png";
Type: files; Name: "{app}\USBImages\Memory card CF_large.png";
Type: files; Name: "{app}\USBImages\Memory card CF_small.png";
Type: files; Name: "{app}\USBImages\Memory card MS_large.png";
Type: files; Name: "{app}\USBImages\Memory card MS_small.png";
Type: files; Name: "{app}\USBImages\Memory card SD_large.png";
Type: files; Name: "{app}\USBImages\Memory card SD_small.png";
Type: files; Name: "{app}\USBImages\Memory card XD_large.png";
Type: files; Name: "{app}\USBImages\Memory card XD_small.png";
Type: files; Name: "{app}\USBImages\Microphone_large.png";
Type: files; Name: "{app}\USBImages\Microphone_small.png";
Type: files; Name: "{app}\USBImages\Mobile phone 2_large.png";
Type: files; Name: "{app}\USBImages\Mobile phone 2_small.png";
Type: files; Name: "{app}\USBImages\Mobile phone_large.png";
Type: files; Name: "{app}\USBImages\Mobile phone_small.png";
Type: files; Name: "{app}\USBImages\Modem_large.png";
Type: files; Name: "{app}\USBImages\Modem_small.png";
Type: files; Name: "{app}\USBImages\Mouse_large.png";
Type: files; Name: "{app}\USBImages\Mouse_small.png";
Type: files; Name: "{app}\USBImages\MP3 player_large.png";
Type: files; Name: "{app}\USBImages\MP3 player_small.png";
Type: files; Name: "{app}\USBImages\PCI-card_large.png";
Type: files; Name: "{app}\USBImages\PCI-card_small.png";
Type: files; Name: "{app}\USBImages\PDA_large.png";
Type: files; Name: "{app}\USBImages\PDA_small.png";
Type: files; Name: "{app}\USBImages\Printer_large.png";
Type: files; Name: "{app}\USBImages\Printer_small.png";
Type: files; Name: "{app}\USBImages\Radio_large.png";
Type: files; Name: "{app}\USBImages\Radio_small.png";
Type: files; Name: "{app}\USBImages\RemoteControl_large.png";
Type: files; Name: "{app}\USBImages\RemoteControl_small.png";
Type: files; Name: "{app}\USBImages\Scanner_large.png";
Type: files; Name: "{app}\USBImages\Scanner_small.png";
Type: files; Name: "{app}\USBImages\SCSI logo_large.png";
Type: files; Name: "{app}\USBImages\SCSI logo_small.png";
Type: files; Name: "{app}\USBImages\Smartcard_large.png";
Type: files; Name: "{app}\USBImages\Smartcard_small.png";
Type: files; Name: "{app}\USBImages\TV-tuner_large.png";
Type: files; Name: "{app}\USBImages\TV-tuner_small.png";
Type: files; Name: "{app}\USBImages\UPS_large.png";
Type: files; Name: "{app}\USBImages\UPS_small.png";
Type: files; Name: "{app}\USBImages\USB logo_large.png";
Type: files; Name: "{app}\USBImages\USB logo_small.png";
Type: files; Name: "{app}\USBImages\USB wireless_large.png";
Type: files; Name: "{app}\USBImages\USB wireless_small.png";
Type: files; Name: "{app}\USBImages\Webcam_large.png";
Type: files; Name: "{app}\USBImages\Webcam_small.png";
Type: files; Name: "{app}\USBImages\Wi-Fi logo_large.png";
Type: files; Name: "{app}\USBImages\Wi-Fi logo_small.png";
Type: files; Name: "{app}\USBImages\USB device_large.png";
Type: files; Name: "{app}\USBImages\USB device_small.png";
Type: dirifempty; Name: "{app}\USBImages";
Type: files; Name: "{app}\aspr_api.dll";
Type: files; Name: "{app}\aspr_ide.dll";
[UninstallDelete]
Type: dirifempty; Name: "{app}"
[CustomMessages]
russian.NameAndVersion=%1 версия %2
russian.AdditionalIcons=Дополнительные значки:
russian.CreateDesktopIcon=&Создать значок на рабочем столе
russian.CreateQuickLaunchIcon=&Создать значок на панели быстрого запуска
russian.ProgramOnTheWeb=%1 в Интернете
russian.UninstallProgram=Удалить %1
russian.LaunchProgram=Запустить %1
russian.AssocFileExtension=&Сопоставить %1 с расширением файла %2
russian.AssocingFileExtension=Сопоставление %1 с расширением файла %2...
[Languages]
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
[UninstallRun]
Filename: "TASKKILL"; Parameters: "/F /IM USBSafelyRemove.exe"; Flags: runhidden; MinVersion: 0.0,5.0
Filename: "{app}\USBSRService.exe"; Parameters: "/uninstall /silent"; Flags: shellexec; MinVersion: 0.0,5.0
Filename: "net"; Parameters: "stop USBSafelyRemoveService"; Flags: shellexec runhidden; MinVersion: 0.0,5.0
[Code]
///Удалить кнопки свернуть, развернуть из окна инсталлятора
const
GWL_STYLE = -16;
WS_MINIMIZEBOX = $20000;
WS_MAXIMIZEBOX = $10000;
function SetWindowLong(Wnd: HWnd; Index: Integer; NewLong: Longint): Longint; external 'SetWindowLongA@user32.dll stdcall';
function GetWindowLong(hWnd: HWND; nIndex: Integer): Longint; external 'GetWindowLongA@user32.dll stdcall';
procedure initializeWizard();
begin
SetWindowLong(WizardForm.handle, GWL_STYLE, GetWindowLong(WizardForm.handle, GWL_STYLE)and(not WS_MINIMIZEBOX)and(not WS_MAXIMIZEBOX));
end;
[/more]
Если есть ещё замечания по скрипту - приму с удовольствием (только учусь)