|
23 | 23 | <MediaTemplate EmbedCab="yes" CompressionLevel="high" />
|
24 | 24 | <Icon Id="qdigidoc4.ico" SourceFile="$(var.ico_path)" />
|
25 | 25 | <Property Id="ARPPRODUCTICON" Value="qdigidoc4.ico" />
|
26 |
| - <Property Id="APPLICATIONNAME" Value="qdigidoc4" /> |
27 | 26 | <Property Id="DESKTOP_SHORTCUT" Value="0" />
|
28 | 27 | <MajorUpgrade AllowSameVersionUpgrades="yes" Schedule="afterInstallInitialize" DowngradeErrorMessage=
|
29 | 28 | "A newer version of [ProductName] is already installed. If you are trying to downgrade, please uninstall the newer version first." />
|
|
33 | 32 | <!-- Desktop shortcut -->
|
34 | 33 | <StandardDirectory Id="DesktopFolder">
|
35 | 34 | <Component Id="DesktopShortcut4" Guid="7B821ED0-4838-4290-997C-AA4119F99DAD" Transitive="yes" Condition="DESKTOP_SHORTCUT = 1">
|
36 |
| - <Shortcut Id="ClientDesktopShortcut4" Name="DigiDoc4" Target="[!qdigidoc4.exe]" WorkingDirectory="APPLICATIONFOLDER" /> |
37 |
| - <RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[APPLICATIONNAME]" Name="DesktopShortcut4" Value="1" Type="integer" KeyPath="yes" /> |
| 35 | + <Shortcut Id="ClientDesktopShortcut4" Name="DigiDoc4" Target="[!qdigidoc4.exe]" WorkingDirectory="INSTALLFOLDER" /> |
| 36 | + <RegistryValue Root="HKCU" Key="Software\[Manufacturer]\qdigidoc4" Name="DesktopShortcut4" Value="1" Type="integer" KeyPath="yes" /> |
38 | 37 | </Component>
|
39 | 38 | </StandardDirectory>
|
40 | 39 |
|
41 | 40 | <StandardDirectory Id="ProgramFiles6432Folder">
|
42 |
| - <Directory Id="APPLICATIONFOLDER" Name="DigiDoc4 Client" FileSource="$(var.libs_path)"> |
43 |
| - <Component Id="Application4" Guid="316B00EB-7519-476F-BCA5-7C8C1A0DF5AB" Transitive="yes"> |
| 41 | + <Directory Id="INSTALLFOLDER" Name="!(bind.Property.ProductName)" FileSource="$(var.libs_path)"> |
| 42 | + <Component Id="Application4"> |
44 | 43 | <File Id="qdigidoc4.exe" Source="$(var.client_path)" KeyPath="yes">
|
45 | 44 | <Shortcut Id="ClientStartMenu4" Advertise="yes" Name="DigiDoc4" Icon="qdigidoc4.ico"
|
46 |
| - Directory="ProgramMenuFolder" WorkingDirectory="APPLICATIONFOLDER" /> |
| 45 | + Directory="ProgramMenuFolder" WorkingDirectory="INSTALLFOLDER" /> |
47 | 46 | </File>
|
48 | 47 | <ProgId Id="qdigidoc4.adoc" Description="DigiDoc signed document" Icon="qdigidoc4.exe" IconIndex="1">
|
49 | 48 | <Extension Id="adoc" ContentType="application/vnd.lt.archyvai.adoc-2008">
|
|
96 | 95 | </Extension>
|
97 | 96 | </ProgId>
|
98 | 97 | </Component>
|
99 |
| - <Component Id="Base" Guid="6976e89e-e815-444a-9b1f-5ee63cfe230d"> |
100 |
| - <File Name="zlib$(var.qt_suffix)1.dll" /> |
101 |
| - <File Name="xerces-c_3_2$(var.qt_suffix).dll" /> |
102 |
| - <File Name="XalanMessages_1_12$(var.qt_suffix).dll" /> |
103 |
| - <File Name="Xalan-C_1_12$(var.qt_suffix).dll" /> |
104 |
| - <File Name="xsec_2_0$(var.qt_suffix).dll" /> |
105 |
| - <File Name="digidocpp$(var.qt_suffix).dll" /> |
106 |
| - <File Name="digidoc-tool.exe" /> |
107 |
| - <File Name="digidocpp.conf" /> |
| 98 | + <File Name="zlib$(var.qt_suffix)1.dll" /> |
| 99 | + <File Name="xerces-c_3_2$(var.qt_suffix).dll" /> |
| 100 | + <File Name="XalanMessages_1_12$(var.qt_suffix).dll" /> |
| 101 | + <File Name="Xalan-C_1_12$(var.qt_suffix).dll" /> |
| 102 | + <File Name="xsec_2_0$(var.qt_suffix).dll" /> |
| 103 | + <File Name="digidocpp$(var.qt_suffix).dll" /> |
| 104 | + <File Name="digidoc-tool.exe" /> |
| 105 | + <File Name="digidocpp.conf" /> |
108 | 106 | <?ifdef var.qt_path ?>
|
109 |
| - <File Source="$(var.VCPATH)\msvcp140$(var.qt_suffix).dll" /> |
110 |
| - <File Source="$(var.VCPATH)\vcruntime140$(var.qt_suffix).dll" /> |
111 |
| -<?if $(sys.BUILDARCH) = x64 ?> |
112 |
| - <File Source="$(var.VCPATH)\msvcp140_1$(var.qt_suffix).dll" /> |
113 |
| - <File Source="$(var.VCPATH)\msvcp140_2$(var.qt_suffix).dll" /> |
114 |
| - <File Source="$(var.VCPATH)\vcruntime140_1$(var.qt_suffix).dll" /> |
| 107 | + <File Name="libcrypto-3$(var.OpenSSLSuffix).dll" /> |
| 108 | + <File Name="libssl-3$(var.OpenSSLSuffix).dll" /> |
| 109 | + <File Source="$(var.VCPATH)\msvcp140$(var.qt_suffix).dll" /> |
| 110 | + <File Source="$(var.VCPATH)\msvcp140_1$(var.qt_suffix).dll" /> |
| 111 | + <File Source="$(var.VCPATH)\msvcp140_2$(var.qt_suffix).dll" /> |
| 112 | + <File Source="$(var.VCPATH)\vcruntime140$(var.qt_suffix).dll" /> |
| 113 | +<?if $(sys.BUILDARCH) != x86 ?> |
| 114 | + <File Source="$(var.VCPATH)\vcruntime140_1$(var.qt_suffix).dll" /> |
115 | 115 | <?endif?>
|
116 |
| - <File Name="libcrypto-3$(var.OpenSSLSuffix).dll" /> |
117 |
| - <File Name="libssl-3$(var.OpenSSLSuffix).dll" /> |
118 |
| - <File Source="$(var.qt_path)\Qt6Core$(var.qt_suffix).dll" /> |
119 |
| - <File Source="$(var.qt_path)\Qt6Gui$(var.qt_suffix).dll" /> |
120 |
| - <File Source="$(var.qt_path)\Qt6Network$(var.qt_suffix).dll" /> |
121 |
| - <File Source="$(var.qt_path)\Qt6PrintSupport$(var.qt_suffix).dll" /> |
122 |
| - <File Source="$(var.qt_path)\Qt6Svg$(var.qt_suffix).dll" /> |
123 |
| - <File Source="$(var.qt_path)\Qt6Widgets$(var.qt_suffix).dll" /> |
124 |
| - <File Source="$(var.qt_path)\D3DCompiler_47.dll" /> |
125 |
| - <File Source="$(var.qt_path)\opengl32sw.dll" /> |
126 |
| - <File Source="$(var.qt_path)\Qt6SvgWidgets$(var.qt_suffix).dll" /> |
| 116 | + <File Source="$(var.qt_path)\Qt6Core$(var.qt_suffix).dll" /> |
| 117 | + <File Source="$(var.qt_path)\Qt6Gui$(var.qt_suffix).dll" /> |
| 118 | + <File Source="$(var.qt_path)\Qt6Network$(var.qt_suffix).dll" /> |
| 119 | + <File Source="$(var.qt_path)\Qt6PrintSupport$(var.qt_suffix).dll" /> |
| 120 | + <File Source="$(var.qt_path)\Qt6Svg$(var.qt_suffix).dll" /> |
| 121 | + <File Source="$(var.qt_path)\Qt6Widgets$(var.qt_suffix).dll" /> |
| 122 | + <File Source="$(var.qt_path)\D3DCompiler_47.dll" /> |
| 123 | + <File Source="$(var.qt_path)\opengl32sw.dll" /> |
| 124 | + <File Source="$(var.qt_path)\Qt6SvgWidgets$(var.qt_suffix).dll" /> |
127 | 125 | <?endif?>
|
128 |
| - </Component> |
129 |
| - <Directory Id="SchemaFolder" Name="schema" FileSource="$(var.libs_path)\schema"> |
130 |
| - <Component Id="Schemas" Guid="caf25ecf-70d0-46e4-9b82-21df3c2da235"> |
131 |
| - <File Name="xml.xsd" /> |
132 |
| - <File Name="conf.xsd" /> |
133 |
| - <File Name="OpenDocument_manifest.xsd" /> |
134 |
| - <File Name="OpenDocument_manifest_v1_2.xsd" /> |
135 |
| - <File Name="xmldsig-core-schema.xsd" /> |
136 |
| - <File Name="XAdES01903v132-201601.xsd" /> |
137 |
| - <File Name="XAdES01903v132-201601-relaxed.xsd" /> |
138 |
| - <File Name="XAdES01903v141-201601.xsd" /> |
139 |
| - <File Name="ts_119612v020201_201601xsd.xsd" /> |
140 |
| - <File Name="en_31916201v010101.xsd" /> |
141 |
| - <File Name="OpenDocument_dsig.xsd" /> |
142 |
| - </Component> |
| 126 | + <Directory Name="schema"> |
| 127 | + <Files Include="$(var.libs_path)\schema\*.xsd" /> |
143 | 128 | </Directory>
|
144 | 129 | <?ifdef var.qt_path ?>
|
145 |
| - <Directory Id="platforms" Name="platforms"> |
146 |
| - <Component Id="qwindows.dll"> |
147 |
| - <File Source="$(var.qt_path)\..\plugins\platforms\qwindows$(var.qt_suffix).dll" /> |
148 |
| - </Component> |
| 130 | + <Directory Name="platforms"> |
| 131 | + <File Source="$(var.qt_path)\..\plugins\platforms\qwindows$(var.qt_suffix).dll" /> |
149 | 132 | </Directory>
|
150 |
| - <Directory Id="tls" Name="tls"> |
151 |
| - <Component Id="qopensslbackend.dll"> |
152 |
| - <File Source="$(var.qt_path)\..\plugins\tls\qopensslbackend$(var.qt_suffix).dll" /> |
153 |
| - </Component> |
| 133 | + <Directory Name="tls"> |
| 134 | + <File Source="$(var.qt_path)\..\plugins\tls\qopensslbackend$(var.qt_suffix).dll" /> |
154 | 135 | </Directory>
|
155 |
| - <Directory Id="styles" Name="styles"> |
156 |
| - <Component Id="qwindowsvistastyle.dll"> |
157 |
| - <File Source="$(var.qt_path)\..\plugins\styles\qwindowsvistastyle$(var.qt_suffix).dll" /> |
158 |
| - </Component> |
| 136 | + <Directory Name="styles"> |
| 137 | + <File Source="$(var.qt_path)\..\plugins\styles\qwindowsvistastyle$(var.qt_suffix).dll" /> |
159 | 138 | </Directory>
|
160 |
| - <Directory Id="imageformats" Name="imageformats"> |
161 |
| - <Component Id="imageformats.dll"> |
162 |
| - <File Source="$(var.qt_path)\..\plugins\imageformats\qsvg$(var.qt_suffix).dll" /> |
163 |
| - </Component> |
| 139 | + <Directory Name="imageformats"> |
| 140 | + <File Source="$(var.qt_path)\..\plugins\imageformats\qsvg$(var.qt_suffix).dll" /> |
164 | 141 | </Directory>
|
165 | 142 | <?endif?>
|
166 | 143 | </Directory>
|
167 | 144 | </StandardDirectory>
|
168 |
| - |
169 |
| - <Feature Id="InstallDigidoc" Level="1" Title="DigiDoc4 Client" Display="expand" ConfigurableDirectory="APPLICATIONFOLDER"> |
170 |
| - <ComponentRef Id="DesktopShortcut4" /> |
171 |
| - <ComponentRef Id="Application4" /> |
172 |
| - <ComponentRef Id="Base" /> |
173 |
| - <ComponentRef Id="Schemas" /> |
174 |
| -<?ifdef var.qt_path ?> |
175 |
| - <ComponentRef Id="qwindows.dll" /> |
176 |
| - <ComponentRef Id="qwindowsvistastyle.dll" /> |
177 |
| - <ComponentRef Id="qopensslbackend.dll" /> |
178 |
| - <ComponentRef Id="imageformats.dll" /> |
179 |
| -<?endif?> |
180 |
| - </Feature> |
181 | 145 | </Package>
|
182 | 146 | </Wix>
|
0 commit comments