4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-14 02:27:36 -04:00
Files
korman/installer
Adam Johnson 5359447a10 Change installer from WiX to NSIS.
I don't really remember why we initially used WiX. Possibly to silently
update any existing Blender installs? Anyway, the problem is that the
VCRuntime MergeModules are deprecated, and GHA has pretty much removed
them. So, we need to use NSIS to be able to trivially run the
vc.redist.exe installer. It runs an MSI, and WiX produces MSIs, so to
keep using WiX, we'd need to write an installer-coordinator. Forget
about it. Just use NSIS.
2022-04-02 19:01:43 -04:00
..
2015-06-21 18:53:12 -04:00
2022-04-02 19:01:43 -04:00
2015-06-21 18:53:12 -04:00
2019-01-11 00:43:25 -05:00
2017-12-27 17:49:26 -05:00

Korman NSIS Installer

In order to facillitate usage by non-technical users, Korman has a NSIS installer.

Building the Installer

You are responsible for supplying the following items in the x86 andx64 subdirectories of the Files directory, as applicable:

  • libHSPlasma libraries (HSPlasma.dll and PyHSPlasma.pyd)
  • Visual C++ Redistributable package (vcredist_x86.exe or vc_redist_x64.exe)
  • Optionally, the C korlib (_korlib.pyd)

Given that PyHSPlasma can only be used with ABI-compatible Python releases (generally minor version levels), it is recommended that you define the name of the Python DLL (PYTHON_DLL) you expect for Blender to have. This can be done using the GUI by editing the symbol definitions under Tools > Settings, or by using the command line switch -DPYTHON_DLL=yourPythonDll. Failure to do so will not prevent the installer from working; however, it may lead to GOTCHAs where users are attempting to install Korman for Blender versions that are not actually compatible with your PyHSPlasma.