41 Commits

Author SHA1 Message Date
Luke Howard
ec866e635e Windows 10 SDK build fixes
Build without Win32.mak, and using Universal C Runtime (UCRT)

windows: Check for APPVER, not VCVER for UCRT

When deciding whether UCRT is used (and thus no CRT merge modules), check for
Windows 10 rather than the version of Visual Studio, as we may be building with
an older SDK.
2022-01-05 12:58:48 -06:00
Luke Howard
466658e929 Revert "Windows 10 SDK build fixes"
This reverts commit ceef0a0089.
2022-01-04 14:44:13 +11:00
Luke Howard
ceef0a0089 Windows 10 SDK build fixes
Build without Win32.mak, and using Universal C Runtime (UCRT)

windows: Check for APPVER, not VCVER for UCRT

When deciding whether UCRT is used (and thus no CRT merge modules), check for
Windows 10 rather than the version of Visual Studio, as we may be building with
an older SDK.
2022-01-03 09:25:18 -05:00
Jeffrey Altman
e52c5f2a64 Windows packaging: install kadmin.exe
Now that kadmin.exe works on Windows, install it.

Change-Id: I4b5e85386bd6e39ac1a8e01cd6d323c09520da1a
2014-02-04 23:20:16 -05:00
Jeffrey Altman
44de8701d2 Windows: move gssapi.dll to merge module
In order for the 64-bit FULL installer to install both the 64-bit
and 32-bit versions of gssapi.dll a merge module needs to be created
so that both versions can exist within the same install package.

Change-Id: Iaa979556e1691d3906e497f87e7d12cd89b1d980
2013-10-12 16:13:12 -04:00
Jeffrey Altman
3a00c9b7b0 Windows: Install loose gssapi.dll with manifest
When installing the gssapi.dll within the Heimdal\bin directory
make sure to install the version that has the assembly manifest.
Otherwise, the DLL cannot find the heimdal.dll.

Change-Id: Idd6f8f00db718f8a764e1cfa9d06d188ab22a313
2013-10-12 01:57:14 -04:00
Jeffrey Altman
eea23fe6ed Windows Installer: Add custom graphics
Change-Id: I9218a4ccc128730ef7fea88cd68aab73209570fb
2013-10-08 22:36:20 -04:00
Jeffrey Altman
37c7098737 Windows Installer: Add missing Package properties
Platform
InstallScope
InstallPrivileges
Keywords

Change-Id: I04ecfb4456e62a60e737ac26de098f11849c4ec0
2013-10-08 21:30:45 -05:00
Jeffrey Altman
2308c719c3 Windows Installer: gssapi.dll in Heimdal\bin
gssapi.dll is supposed to be implementation agnostic.  No version
numbers and no manifest required to load it.   In addition to the
version that is installed as part of the assembly also include a
version that can be discovered by LoadLibrary() via PATH search.

Change-Id: I1865dd2ecec208745a40e699837bd2a888341a31
2013-10-08 21:08:37 -05:00
Jeffrey Altman
62bd882b57 Revert "Windows: Skip policy assembly for now"
This reverts commit a759e5091f.

The policy assembly is now skipped on XP from within the policy assembly
itself so it can be safely installed elsewhere.
2013-09-25 09:59:28 -04:00
Jeffrey Altman
a759e5091f Windows: Skip policy assembly for now
On XP there is a bug which prevents two installers from including a
policy assembly of the same name.  Policy Assembly names are

  <Product>.<Major>.<Minor>

For now do not install the policy assembly until we have a work around
for XP or a method of conditionally not installing the policy on XP.

Change-Id: If92bea3c625e6124eb64c2bcc3e5008a58f04404
2013-09-24 15:05:40 -04:00
Jeffrey Altman
1154d5d080 Windows: installer package modifications
Remove third party plugins from installers now that they must be part
of the assemblies.

Add support for thirdparty heimdal-assemblies.wxs and heimdal-policy.wxs
files.

Change-Id: Idb29ebcf39b14ebcd2b01dc8c53b9bb7fbb8eaab
2013-09-15 01:33:31 -04:00
Jeffrey Altman
6601c6b044 Windows: Remove Plugin Directory Installer
Heimdal plugins are not safe on windows.  Plugins are bound to a
specific assembly and if the plugin assembly is not the same as
the Heimdal DLL that is loading the plugin heap corruption will
occur.

Change-Id: Icf43a989684c4aacd3c4a225482a9bed9b60e29d
2013-09-13 22:17:42 -04:00
Jeffrey Altman
630c73b225 Windows: Wix3 use ForceDeleteOnUninstall
Patchset 1ad02ec31a removed the
createAndRemoveOnUninistall actions from a number of registry keys.
Get the same behavior with the ForceDeleteOnUninstall Wix 3.x Attribute.

Change-Id: I8c0623fa39055844d10035cbffb3870cc2d39ec6
2013-09-13 22:17:41 -04:00
Rod Widdowson
1ad02ec31a Window Install: Tidy up for Wix V3
Remove now optional attributes in <RegistryKey>

Change-Id: I1be890072e5b2cb8279d8fe02f473b095d5a180f
2013-08-14 13:31:41 -04:00
Jeffrey Altman
48d255561e Windows: install heimtools not heimtool
Change-Id: Ie439dd6d2819d7a7088be19f7ecd49863df7ac79
2012-03-13 23:57:00 -04:00
Jelmer Vernooij
2b365b2327 Rename kcc to heimtools.
This should prevent naming clashes with other utilities named 'kcc'.

Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
2012-03-06 00:06:26 -08:00
Jeffrey Altman
c2426d56c1 Windows: install kswitch.exe and klist.exe
kswitch.exe and klist.exe are kcc.exe installed and copied
under the alternate names.  The installer script was missing
the required DestinationProperty to specify where the
destination files were to be placed.

Change-Id: Ia1e826a038459b1631f8452f8d7ef6f7ca02abac
2011-07-27 19:55:28 -04:00
Asanka C. Herath
8f51d5a8dc Windows: Use WixUI_FeatureTree for installer. 2011-06-15 01:55:21 -04:00
Asanka C. Herath
8aaf3183ca Windows: Make the 32-bit tools install directory customizable. 2011-06-15 01:55:20 -04:00
Asanka C. Herath
3048545de3 Windows: Use Software/Heimdal registry key for Heimdal specific configuration
The 'plugin_dir' value is Heimdal specific.  So keep it in the
Software/Heimdal registry key.  The Software/Kerberos registry key
will also be loaded and will contain generic Kerberos configuration.
2011-06-15 01:55:19 -04:00
Asanka C. Herath
dd6d5a0e2c Windows: Build multiplatform installer
When building the x64 installer, we can optionally include 32-bit
components as well.  This requires that the 32-bit build to be already
completed.  The resulting multiplatform installer will install
both sets of components.

This is enabled by the environment variable MULTIPLATFORM_INSTALLER.
2010-12-03 01:12:30 -05:00
Asanka C. Herath
523dcaf08e Windows: 64-bit installer should also include 32-bit assemblies 2010-11-29 20:44:49 -05:00
Asanka C. Herath
4a6a5d59a5 Windows: Build policy assembly as a merge module 2010-11-29 18:21:56 -05:00
Asanka C. Herath
6fe4372d17 Windows: Install kcc 2010-11-29 10:41:44 -05:00
Asanka C. Herath
a07036a11c Windows: Build and install kdeltkt 2010-11-24 15:33:03 -05:00
Asanka C. Herath
7eac4fd821 Windows: Build and install kcpytkt 2010-11-24 15:33:02 -05:00
Asanka C. Herath
a82a93cef8 Windows: Build and install kvno 2010-11-24 15:33:01 -05:00
Asanka C. Herath
cb712170ff Windows: Build and install kpasswd 2010-11-24 15:33:00 -05:00
Asanka C. Herath
8432f850ed Windows: Make Heimdal a single assembly 2010-11-24 15:32:59 -05:00
Asanka C. Herath
a4136a53af Windows: Set system PATH and not just the user PATH 2010-11-24 15:32:58 -05:00
Asanka C. Herath
0ea880bdeb Windows: Add Heimdal to the global PATH 2010-11-24 15:32:55 -05:00
Asanka C. Herath
c0d56cf47e Windows: Use new configuration key for setting plugin directory 2010-11-24 15:32:54 -05:00
Asanka C. Herath
5e7d970774 Windows: Optionally include Kerberos shim library into installer 2010-11-24 15:32:53 -05:00
Asanka C. Herath
d230cb454d Windows: Installer support for legacy configuration files 2010-11-24 15:32:43 -05:00
Asanka C. Herath
ac1f8fe153 Windows: Install configuration files in common directory
Use %PROGRAMDATA%\Kerberos as the destination directory for
configuration files instead of %PROGRAMDATA%\Heimdal.
2010-11-24 15:32:37 -05:00
Asanka C. Herath
7cef24b902 Windows: Don't install over a newer or current installation 2010-11-24 15:32:32 -05:00
Asanka C. Herath
5962c9fe25 Windows: Include compiled HTML help files in installer 2010-11-24 15:32:31 -05:00
Asanka C. Herath
50feb0146c Windows: Pull in optional components by groups into installer
Instead of referring to each optional component, refer to them by
groups.
2010-11-24 15:32:27 -05:00
Asanka C. Herath
0a14b10a23 Windows: Enable UI in installer 2010-11-24 15:32:15 -05:00
Asanka C. Herath
8aa7a84b7a Windows: Build installers 2010-11-24 15:32:09 -05:00