forked from open-eid/DigiDoc4-Client
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IB-8024 Signed-off-by: Raul Metsma <[email protected]>
- Loading branch information
Showing
11 changed files
with
93 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule cmake
updated
3 files
+0 −42 | modules/WelcomeDlg2.wxs | |
+2 −5 | modules/WixUI_Minimal.wxs | |
+0 −64 | modules/WixUI_Minimal2.wxs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,45 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<?if $(sys.BUILDARCH) = x64 ?> | ||
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?> | ||
<?if $(sys.BUILDARCH) = x64 ?> | ||
<!-- Separate upgrade code / component ID created for x64 installer because both 32- | ||
and 64-bit shell extensions are installed on x64 machine and x64 installer | ||
removes x86 component installed directly before it if same guids are used. | ||
--> | ||
<?define ShellExtId = "{5606A547-759D-43DA-AEEB-D3BF1D1E816D}" ?> | ||
<?define ShellUpgradeCode = "dc5723f9-386f-4581-a872-b9c823dfe40f" ?> | ||
<?define ShellComponentId = "7adaa2cc-c3f5-4e2e-a38d-5d9c9730444e" ?> | ||
<?else ?> | ||
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?> | ||
<?else?> | ||
<?define ShellExtId = "{310AAB39-76FE-401B-8A7F-0F578C5F6AB5}" ?> | ||
<?define ShellUpgradeCode = "8c4b5dae-dba9-4445-8584-3d156a48da27" ?> | ||
<?define ShellComponentId = "00ad9482-2770-4dc7-b564-f68268d3f457" ?> | ||
<?endif ?> | ||
<?endif?> | ||
|
||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
<Product Name="EstEID Shell Extension" UpgradeCode="$(var.ShellUpgradeCode)" | ||
Id="*" Language="1033" Version="$(var.MSI_VERSION)" Codepage="1251" Manufacturer="RIA"> | ||
<Package Keywords="Installer" InstallerVersion="405" Compressed="yes" InstallScope="perMachine"/> | ||
<MediaTemplate EmbedCab="yes" CompressionLevel="high"/> | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | ||
xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui"> | ||
<Package Name="EstEID Shell Extension" UpgradeCode="$(var.ShellUpgradeCode)" | ||
Language="1033" Version="$(var.MSI_VERSION)" Codepage="1251" Manufacturer="RIA" InstallerVersion="500"> | ||
<MediaTemplate EmbedCab="yes" CompressionLevel="high" /> | ||
<MajorUpgrade AllowSameVersionUpgrades="yes" Schedule="afterInstallInitialize" DowngradeErrorMessage= | ||
"A newer version of [ProductName] is already installed. If you are trying to downgrade, please uninstall the newer version first."/> | ||
<Condition Message="[ProductName] requires Windows 7 or higher."> | ||
<![CDATA[Installed OR (VersionNT >= 601)]]> | ||
</Condition> | ||
<UIRef Id="WixUI_Minimal2" /> | ||
"A newer version of [ProductName] is already installed. If you are trying to downgrade, please uninstall the newer version first." /> | ||
<Launch Condition="Installed OR (VersionNT >= 601)" Message="[ProductName] requires Windows 7 or higher." /> | ||
<ui:WixUI Id="WixUI_Minimal2" /> | ||
|
||
<Directory Id="TARGETDIR" Name="SourceDir"> | ||
<Directory Id='$(var.PlatformProgramFilesFolder)'> | ||
<Directory Id="APPLICATIONFOLDER" Name="DigiDoc4 Client"> | ||
<Component Id="Application" Guid="$(var.ShellComponentId)"> | ||
<!--Does not work with multiple files --> | ||
<!--RegistryValue Root='HKCR' Key='*\shell\[ProductName]' Type='string' Value='Sign with [ProductName]' /> | ||
<RegistryValue Root='HKCR' Key='*\shell\[ProductName]' Name="Icon" Type='string' Value='"[APPLICATIONFOLDER]qdigidocclient.exe",0' /> | ||
<RegistryValue Root='HKCR' Key='*\shell\[ProductName]\command' Type='string' Value='"[APPLICATIONFOLDER]qdigidocclient.exe" "%1"' /--> | ||
<File Source="$(var.ShellExt)"/> | ||
<RegistryKey Root="HKCR" Key="CLSID\$(var.ShellExtId)\InprocServer32"> | ||
<RegistryValue Type="string" Value="[APPLICATIONFOLDER]EsteidShellExtension.dll"/> | ||
<RegistryValue Type="string" Name="ThreadingModel" Value="Apartment" /> | ||
</RegistryKey> | ||
<RegistryValue Root="HKCR" Key="*\shellex\ContextMenuHandlers\DigiDoc4ShellExtension$(sys.BUILDARCH)" | ||
Value="$(var.ShellExtId)" Type="string" /> | ||
<RegistryValue Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" | ||
Name="$(var.ShellExtId)" Value="DigiDoc4 Shell Extension" Type="string" /> | ||
</Component> | ||
</Directory> | ||
<StandardDirectory Id="ProgramFiles6432Folder"> | ||
<Directory Id="INSTALLFOLDER" Name="DigiDoc4 Client"> | ||
<Component Id="Application" Guid="$(var.ShellComponentId)"> | ||
<!--Does not work with multiple files --> | ||
<!--RegistryValue Root='HKCR' Key='*\shell\[ProductName]' Type='string' Value='Sign with [ProductName]' /> | ||
<RegistryValue Root='HKCR' Key='*\shell\[ProductName]' Name="Icon" Type='string' Value='"[INSTALLFOLDER]qdigidoc4.exe",0' /> | ||
<RegistryValue Root='HKCR' Key='*\shell\[ProductName]\command' Type='string' Value='"[INSTALLFOLDER]qdigidoc4.exe" "%1"' /--> | ||
<File Source="$(var.ShellExt)" /> | ||
<RegistryKey Root="HKCR" Key="CLSID\$(var.ShellExtId)\InprocServer32"> | ||
<RegistryValue Type="string" Value="[INSTALLFOLDER]EsteidShellExtension.dll" /> | ||
<RegistryValue Type="string" Name="ThreadingModel" Value="Apartment" /> | ||
</RegistryKey> | ||
<RegistryValue Root="HKCR" Key="*\shellex\ContextMenuHandlers\DigiDoc4ShellExtension$(sys.BUILDARCH)" | ||
Value="$(var.ShellExtId)" Type="string" /> | ||
<RegistryValue Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" | ||
Name="$(var.ShellExtId)" Value="DigiDoc4 Shell Extension" Type="string" /> | ||
</Component> | ||
</Directory> | ||
</Directory> | ||
|
||
<Feature Id="InstallDigidoc" Level="1" Title="Digidoc4 Client Shell Extension" Display="expand" ConfigurableDirectory="APPLICATIONFOLDER"> | ||
<ComponentRef Id="Application"/> | ||
</Feature> | ||
</Product> | ||
</StandardDirectory> | ||
</Package> | ||
</Wix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters