[Setup]
AppName=@OPENSC_VS_FF_PRODUCT_NAME@
AppVerName=@OPENSC_VS_FF_PRODUCT_NAME@ @PACKAGE_VERSION@
AppPublisher=@OPENSC_VS_FF_LEGAL_COMPANY_NAME@
AppPublisherURL=@OPENSC_VS_FF_COMPANY_URL@
AppSupportURL=@PRODUCT_BUGREPORT@
AppUpdatesURL=@OPENSC_VS_FF_PRODUCT_UPDATES@
DefaultDirName={pf}\OpenSC Project\OpenSC
OutputBaseFilename=OpenSC-@PACKAGE_VERSION@
Compression=lzma/normal
SolidCompression=true
MinVersion=0,5.0.2195
VersionInfoCompany=OpenSC Project
AppCopyright=LGPL
PrivilegesRequired=poweruser
DisableDirPage=false
DisableProgramGroupPage=false
ShowLanguageDialog=auto
AppID={{BDD73EB0-0485-4B79-93EC-CF2EAEFF3BAB}
UsePreviousAppDir=true
AppendDefaultDirName=false
AppVersion=@PACKAGE_VERSION@
VersionInfoVersion=@OPENSC_VERSION_MAJOR@.@OPENSC_VERSION_MINOR@.@OPENSC_VERSION_FIX@
VersionInfoDescription=OpenSC tools and libraries
VersionInfoTextVersion=@PACKAGE_VERSION@
DisableReadyPage=true
InternalCompressLevel=max
VersionInfoCopyright=@OPENSC_VS_FF_LEGAL_COPYRIGHT@
DisableStartupPrompt=true
AlwaysShowComponentsList=false
ShowComponentSizes=false
FlatComponentsList=false
WizardImageBackColor=clWhite
DisableFinishedPage=false
VersionInfoProductName=OpenSC
VersionInfoProductVersion=@OPENSC_VERSION_MAJOR@.@OPENSC_VERSION_MINOR@.@OPENSC_VERSION_FIX@
AllowRootDirectory=true
UninstallDisplayName=OpenSC
DefaultGroupName=OpenSC

[Tasks]

[Files]
Source: opensc\share\opensc\*.profile; DestDir: {app}\profiles
Source: opensc\bin\*.dll; DestDir: {sys}; Flags: overwritereadonly replacesameversion ignoreversion uninsnosharedfileprompt restartreplace
Source: opensc\bin\*.exe; DestDir: {app}; Flags: overwritereadonly replacesameversion ignoreversion
;Source: engine_pkcs11\*.dll; DestDir: {sys}; Components: OpenSSL_engine; Flags: overwritereadonly replacesameversion ignoreversion
Source: opensc\etc\opensc.conf; DestDir: {app};
;Source: www.opensc-project.org.url; DestDir: {app}
[Icons]
;Name: {group}\OpenSC Project website; Filename: {app}\www.opensc-project.org.url; Comment: Go to OpenSC Project website; Components:

[Registry]
Root: HKLM; Subkey: Software\OpenSC Project\OpenSC; ValueType: string; ValueName: ConfigFile; ValueData: {app}\opensc.conf; Flags: uninsdeletekey; Components:
Root: HKLM; Subkey: Software\OpenSC Project\OpenSC; ValueType: string; ValueName: ProfileDir; ValueData: {app}\profiles; Flags: uninsdeletekey; Components:
;[Components]
;Name: OpenSC; Description: OpenSC core library; Flags: fixed; Types: custom compact full
;Name: OpenSSL_engine; Description: OpenSSL engine for using PKCS11 modules; Types: custom full
