santhoshr151194 Posted Monday at 04:10 PM Posted Monday at 04:10 PM I am working to register my plugin in different ZWCAD versions(e.g., ZWCAD 2024 and 2025). Currently, I have the following registry configuration to load my plugin for ZWCAD 2025: <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> <Fragment> <ComponentGroup Id="PackageComponents" Directory="MyFolder"> <Component Id="DLLComponent" Guid="{0F2BB0BA-33EB-4C4E-965A-AF99E319340C}"> <RegistryValue Root="HKCU" Key="Software\Company\Plugin.bundle" Name="Installed" Type="integer" Value="1" KeyPath="yes"/> <File Id="Plugin" Name="lugin.dll" Source="$(var.UIPlugin.TargetDir)Plugin.dll" /> <RegistryKey Root="HKLM" Key="Software\ZWSOFT\ZWCAD\2025\en-US\Applications\ARA"> <RegistryValue Type="integer" Name="LOADCTRLS" Value="2" /> <RegistryValue Type="string" Name="LOADER" Value="[#UIPlugin]" /> <RegistryValue Type="string" Name="DESCRIPTION" Value="" /> <RegistryValue Type="integer" Name="Managed" Value="1" /> </RegistryKey> <RemoveFile Id="RemovePluginDLL" Name="UIPlugin.dll" On="uninstall" /> </Component> </ComponentGroup> </Fragment> </Wix> I want to configure my WiX installer to automatically detect the installed ZWCAD version (2024 or 2025) and register the plugin accordingly. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.