Skip to content

Commit

Permalink
Add SAM SE to WiX installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxhy committed Mar 8, 2024
1 parent 4c34747 commit 2e797f6
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
2 changes: 2 additions & 0 deletions KeyManager.Setup/KeyManager.Setup.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
</ProjectReference>
<ProjectReference Include="..\KeyManager.Library.KeyStore.SAM_SE.UI\KeyManager.Library.KeyStore.SAM_SE.UI.csproj" />
<ProjectReference Include="..\KeyManager.Library.KeyStore.SAM_SE\KeyManager.Library.KeyStore.SAM_SE.csproj" />
<ProjectReference Include="..\KeyManager.Library.Plugin.UI\KeyManager.Library.Plugin.UI.csproj">
<Name>KeyManager.Library.Plugin.UI</Name>
<Project>{da74a075-d143-43fe-a977-eddbd3741f26}</Project>
Expand Down
6 changes: 6 additions & 0 deletions KeyManager.Setup/Product.en-us.wxl
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@
<String Id="RFIDMiddlewareDescr" Value="The RFID/SmartCard middleware" />
<String Id="StartMenuShortcut" Value="Start Menu Shortcut" />
<String Id="DesktopShortcut" Value="Desktop Shortcut" />
<String Id="AdditionalPlugins" Value="Additional Plug-ins" />
<String Id="AdditionalPluginsDescr" Value="Plug-ins adding support for more key store types" />
<String Id="SAM_SEFeature" Value="Synchronic SAM-SE" />
<String Id="SAM_SEFeatureDescr" Value="Synchronic SAM-SE Key Store" />
<String Id="SAM_SEFrenchFeature" Value="French Translation for Synchronic SAM-SE" />
<String Id="SAM_SEFrenchFeatureDescr" Value="The Synchronic SAM-SE plug-in French translation" />

</WixLocalization>
6 changes: 6 additions & 0 deletions KeyManager.Setup/Product.fr-fr.wxl
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@
<String Id="RFIDMiddlewareDescr" Value="Le middleware RFID/SmartCard" />
<String Id="StartMenuShortcut" Value="Raccourci dans le menu démarrer" />
<String Id="DesktopShortcut" Value="Raccourci sur le bureau" />
<String Id="AdditionalPlugins" Value="Extensions supplémentaires" />
<String Id="AdditionalPluginsDescr" Value="Liste d'extensions ajoutant le support de magasins de clés additionnels" />
<String Id="SAM_SEFeature" Value="Synchronic SAM-SE" />
<String Id="SAM_SEFeatureDescr" Value="Magasin de clés Synchronic SAM-SE" />
<String Id="SAM_SEFrenchFeature" Value="Langue Française pour Synchronic SAM-SE" />
<String Id="SAM_SEFrenchFeatureDescr" Value="Les ressources françaises pour l'extension Synchronic SAM-SE" />

</WixLocalization>
33 changes: 33 additions & 0 deletions KeyManager.Setup/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
<ComponentGroupRef Id="LCPPluginDependenciesComponents" />
<ComponentGroupRef Id="NXP_SAMPluginDependenciesComponents" />
</Feature>
<Feature Id="AdditionalPluginsFeature" Title="!(loc.AdditionalPlugins)" Description="!(loc.AdditionalPluginsDescr)" Level="1">
<Feature Id="SAM_SEFeature" Title="!(loc.SAM_SEFeature)" Description="!(loc.SAM_SEFeatureDescr)" Level="2" AllowAbsent="yes">
<ComponentGroupRef Id="SAM_SEPluginComponents" />
<ComponentGroupRef Id="SAM_SEPluginDependenciesComponents" />
</Feature>
</Feature>
<Feature Id="LibLogicalAccessFeature" Title="!(loc.RFIDMiddleware)" Description="!(loc.RFIDMiddlewareDescr)" Level="1" AllowAbsent="no">
<MergeRef Id="LLAMSM" />
</Feature>
Expand All @@ -33,6 +39,9 @@
<ComponentGroupRef Id="LCPPluginResourcesFR" />
<ComponentGroupRef Id="NXP_SAMPluginResourcesFR" />
</Feature>
<Feature Id="SAM_SEFeatureFrench" Title="!(loc.SAM_SEFrenchFeature)" Description="!(loc.SAM_SEFrenchFeatureDescr)" Level="2" AllowAbsent="yes">
<ComponentGroupRef Id="SAM_SEPluginResourcesFR" />
</Feature>
</Feature>
<Feature Id="StartMenuShortcut" Title="!(loc.StartMenuShortcut)" Level="1">
<ComponentRef Id="ProgramMenuDir" />
Expand Down Expand Up @@ -101,6 +110,9 @@
<Directory Id="LCPPLUGIN" Name="LCP">
<Directory Id="LCPPLUGINFR" Name="fr" />
</Directory>
<Directory Id="SAM_SEPLUGIN" Name="SAM_SE">
<Directory Id="SAM_SEPLUGINFR" Name="fr" />
</Directory>
</Directory>
<Directory Id="APPRUNTIMES" Name="runtimes">
<Directory Id="RUNTIMEWINX64" Name="win-x64">
Expand Down Expand Up @@ -210,6 +222,14 @@
<File Id="___var.KeyManager.Library.KeyStore.NXP_SAM.UI.TargetPath_" Source="$(var.KeyManager.Library.KeyStore.NXP_SAM.UI.TargetPath)" />
</Component>
</ComponentGroup>
<ComponentGroup Id="SAM_SEPluginComponents" Directory="SAM_SEPLUGIN">
<Component Id="KeyManagerLibraryKeyStoreSAM_SEComponent">
<File Id="___var.KeyManager.Library.KeyStore.SAM_SE.TargetPath_" Source="$(var.KeyManager.Library.KeyStore.SAM_SE.TargetPath)" />
</Component>
<Component Id="KeyManagerLibraryKeyStoreSAM_SEUIComponent">
<File Id="___var.KeyManager.Library.KeyStore.SAM_SE.UI.TargetPath_" Source="$(var.KeyManager.Library.KeyStore.SAM_SE.UI.TargetPath)" />
</Component>
</ComponentGroup>

<ComponentGroup Id="KeyManagerResourcesFR" Directory="RESOURCESFR">
<Component Id="KeyManagerResourcesFRComponent">
Expand Down Expand Up @@ -240,6 +260,11 @@
<File Id="___var.KeyManager.Library.KeyStore.NXP_SAM.UI.ResourcesFR_" Source="$(var.KeyManager.Library.KeyStore.NXP_SAM.UI.TargetDir)\fr\KeyManager.Library.KeyStore.NXP_SAM.UI.resources.dll" />
</Component>
</ComponentGroup>
<ComponentGroup Id="SAM_SEPluginResourcesFR" Directory="SAM_SEPLUGINFR">
<Component Id="KeyManagerLibraryKeyStoreSAM_SEUIResourcesFRComponent">
<File Id="___var.KeyManager.Library.KeyStore.SAM_SE.UI.ResourcesFR_" Source="$(var.KeyManager.Library.KeyStore.SAM_SE.UI.TargetDir)\fr\KeyManager.Library.KeyStore.SAM_SE.UI.resources.dll" />
</Component>
</ComponentGroup>

<ComponentGroup Id="DependenciesResourcesFR" Directory="RESOURCESFR">
<Component Id="WpfAppResourcesFRComponent">
Expand Down Expand Up @@ -347,6 +372,14 @@
<File Id="___var.LibLogicalAccessNetCE.dll_" Source="$(var.KeyManager.Library.KeyStore.NXP_SAM.TargetDir)\LibLogicalAccessNetCE.dll" />
</Component>
</ComponentGroup>
<ComponentGroup Id="SAM_SEPluginDependenciesComponents" Directory="SAM_SEPLUGIN">
<Component Id="LibFT260Component">
<File Id="___var.LibFT260.dll_" Source="$(var.KeyManager.Library.KeyStore.SAM_SE.ProjectDir)\DLL\Release\LibFT260.dll" />
</Component>
<Component Id="SPSE_DLLComponent">
<File Id="___var.SPSE_DLL.dll_" Source="$(var.KeyManager.Library.KeyStore.SAM_SE.ProjectDir)\DLL\Release\SPSE_DLL.dll" />
</Component>
</ComponentGroup>

</Fragment>
</Wix>

0 comments on commit 2e797f6

Please sign in to comment.