[Setup]
AppName=Driver Magician Lite
AppVerName=Driver Magician Lite 2.6
DefaultDirName={pf}\Driver Magician Lite
OutputBaseFilename=setup
Compression=lzma
LicenseFile=embedded\License.txt
WizardImageFile=embedded\WizardImage.bmp
WizardSmallImageFile=embedded\WizardSmallImage.bmp

[Files]
Source: "embedded\uninstall.exe"; DestDir: "embedded"; 
Source: "{sys}\stdole2.tlb"; DestDir: "{sys}"; Flags: uninsneveruninstall restartreplace regtypelib sharedfile 
Source: "{sys}\msvbvm60.dll"; DestDir: "{sys}"; Flags: uninsneveruninstall restartreplace regserver sharedfile 
Source: "{sys}\oleaut32.dll"; DestDir: "{sys}"; Flags: uninsneveruninstall restartreplace regserver sharedfile 
Source: "{sys}\olepro32.dll"; DestDir: "{sys}"; Flags: uninsneveruninstall restartreplace regserver sharedfile 
Source: "{sys}\asycfilt.dll"; DestDir: "{sys}"; Flags: uninsneveruninstall restartreplace sharedfile 
Source: "{sys}\comcat.dll"; DestDir: "{sys}"; Flags: uninsneveruninstall restartreplace regserver sharedfile 
Source: "{sys}\Mscomctl.ocx"; DestDir: "{sys}"; Flags: restartreplace regserver sharedfile 
Source: "{app}\Driver Magician Lite.exe"; DestDir: "{app}"; Flags: ignoreversion 
Source: "embedded\License.txt"; DestDir: "embedded"; 
Source: "embedded\WizardImage.bmp"; DestDir: "embedded"; 
Source: "embedded\WizardSmallImage.bmp"; DestDir: "embedded"; 

[Run]
Filename: "{app}\Driver Magician Lite.exe"; Description: "{cm:LaunchProgram,Driver Magician Lite}"; 

[Icons]
Name: "{group}\Driver Magician Lite"; Filename: "{app}\Driver Magician Lite.exe"; 
Name: "{group}\{cm:UninstallProgram,Driver Magician Lite}"; Filename: "{uninstallexe}"; 
Name: "{userdesktop}\Driver Magician Lite"; Filename: "{app}\Driver Magician Lite.exe"; Tasks: "desktopicon"; 

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; 
