mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 21:47:45 +00:00
windows-wix-install-idn-redist-20080626
LICENSE MIT Install the Microsoft IDN Redistributables which are required for Unicode Normalization on XP and 2003.
This commit is contained in:
parent
149fd85b20
commit
0e04d01891
@ -17,6 +17,11 @@ MSIFILE = $(MEDIADIR)\openafs-$(LANG).msi
|
|||||||
BINMSIFILE = $(MEDIADIR)\openafs-32bit-tools-$(LANG).msi
|
BINMSIFILE = $(MEDIADIR)\openafs-32bit-tools-$(LANG).msi
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
|
!IFNDEF MSIDNNLS
|
||||||
|
!ERROR Please set MSIDNNLS to the directory where Microsoft IDN Mitigation APIs are installed.
|
||||||
|
# $(MSIDNNLS)\REDIST\idndl.(platform).exe should exist.
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
WIXINCLUDES = \
|
WIXINCLUDES = \
|
||||||
config.wxi \
|
config.wxi \
|
||||||
feature.wxi \
|
feature.wxi \
|
||||||
@ -74,6 +79,7 @@ $(WIXOBJ): openafs.wxs $(WIXINCLUDES)
|
|||||||
-dVersionPatch=$(AFSPRODUCT_VER_PATCH) \
|
-dVersionPatch=$(AFSPRODUCT_VER_PATCH) \
|
||||||
"-dDestDir=$(DESTDIR)\\" \
|
"-dDestDir=$(DESTDIR)\\" \
|
||||||
-dCellDbFile=CellServDB \
|
-dCellDbFile=CellServDB \
|
||||||
|
-dIDNMRedistDir=$(MSIDNNLS)\\REDIST \
|
||||||
-v0 \
|
-v0 \
|
||||||
-w0 \
|
-w0 \
|
||||||
$(AFSDEV_AUXWIXDEFINES) openafs.wxs
|
$(AFSDEV_AUXWIXDEFINES) openafs.wxs
|
||||||
|
@ -125,10 +125,12 @@
|
|||||||
<?define InstallerVersion="110"?>
|
<?define InstallerVersion="110"?>
|
||||||
<?define Platform="Intel"?>
|
<?define Platform="Intel"?>
|
||||||
<?define Win64="no"?>
|
<?define Win64="no"?>
|
||||||
|
<?define Arch="x86"?>
|
||||||
<?elseif $(env.CPU) = "AMD64"?>
|
<?elseif $(env.CPU) = "AMD64"?>
|
||||||
<?define InstallerVersion="200"?>
|
<?define InstallerVersion="200"?>
|
||||||
<?define Platform="x64"?>
|
<?define Platform="x64"?>
|
||||||
<?define Win64="yes"?>
|
<?define Win64="yes"?>
|
||||||
|
<?define Arch="amd64"?>
|
||||||
<?else?>
|
<?else?>
|
||||||
<?error Unknown build type?>
|
<?error Unknown build type?>
|
||||||
<?endif?>
|
<?endif?>
|
||||||
|
@ -61,6 +61,7 @@
|
|||||||
<String Id="ActConfigureClient">Configuring the AFS client service</String>
|
<String Id="ActConfigureClient">Configuring the AFS client service</String>
|
||||||
<String Id="ActConfigureServer">Configuring the AFS server service</String>
|
<String Id="ActConfigureServer">Configuring the AFS server service</String>
|
||||||
<String Id="ActRemoveNsisInstallation">Removing existing installation of OpenAFS</String>
|
<String Id="ActRemoveNsisInstallation">Removing existing installation of OpenAFS</String>
|
||||||
|
<String Id="ActInstallIDNMRedistributable">Installing Microsoft Internationalized Domain Name Mitigation APIs</String>
|
||||||
|
|
||||||
<String Id="StrNsisAbortReason">Installation of OpenAFS for Windows was prematurely terminated because OpenAFS [NSISVERSION] was already installed.</String>
|
<String Id="StrNsisAbortReason">Installation of OpenAFS for Windows was prematurely terminated because OpenAFS [NSISVERSION] was already installed.</String>
|
||||||
<String Id="StrUninstallDesc">Uninstall OpenAFS from the local machine.</String>
|
<String Id="StrUninstallDesc">Uninstall OpenAFS from the local machine.</String>
|
||||||
|
@ -1046,7 +1046,7 @@
|
|||||||
<ProgressText Action="ConfigureClient">$(loc.ActConfigureClient)</ProgressText>
|
<ProgressText Action="ConfigureClient">$(loc.ActConfigureClient)</ProgressText>
|
||||||
<ProgressText Action="ConfigureServer">$(loc.ActConfigureServer)</ProgressText>
|
<ProgressText Action="ConfigureServer">$(loc.ActConfigureServer)</ProgressText>
|
||||||
<ProgressText Action="RemoveNsisInstallation">$(loc.ActRemoveNsisInstallation)</ProgressText>
|
<ProgressText Action="RemoveNsisInstallation">$(loc.ActRemoveNsisInstallation)</ProgressText>
|
||||||
|
<ProgressText Action="InstallIDNMRedistributable">$(loc.ActInstallIDNMRedistributable)</ProgressText>
|
||||||
|
|
||||||
<AdminUISequence>
|
<AdminUISequence>
|
||||||
<Show Dialog="FatalError" OnExit="error" />
|
<Show Dialog="FatalError" OnExit="error" />
|
||||||
|
@ -87,6 +87,17 @@
|
|||||||
<Binary
|
<Binary
|
||||||
Id="BIN_afsCustom"
|
Id="BIN_afsCustom"
|
||||||
src="$(var.MediaDllDir)afscustom.dll"/>
|
src="$(var.MediaDllDir)afscustom.dll"/>
|
||||||
|
<Binary
|
||||||
|
Id="BIN_idndl.exe"
|
||||||
|
src="$(var.IDNMRedistDir)\idndl.$(var.Arch).exe" />
|
||||||
|
<CustomAction
|
||||||
|
Id="InstallIDNMRedistributable"
|
||||||
|
BinaryKey="BIN_idndl.exe"
|
||||||
|
ExeCommand="/quiet /norestart"
|
||||||
|
Execute="deferred"
|
||||||
|
Impersonate="no"
|
||||||
|
/>
|
||||||
|
|
||||||
<?ifdef UseDllLoopbackInstaller?>
|
<?ifdef UseDllLoopbackInstaller?>
|
||||||
<CustomAction
|
<CustomAction
|
||||||
Id="InstallLoopback"
|
Id="InstallLoopback"
|
||||||
@ -224,6 +235,7 @@
|
|||||||
<Custom Action="RollbackNetProvider" After="WriteRegistryValues">&feaClient=3</Custom>
|
<Custom Action="RollbackNetProvider" After="WriteRegistryValues">&feaClient=3</Custom>
|
||||||
<Custom Action="InstallNetProvider" After="RollbackNetProvider">&feaClient=3</Custom>
|
<Custom Action="InstallNetProvider" After="RollbackNetProvider">&feaClient=3</Custom>
|
||||||
<Custom Action="RemoveNetProvider" After="InstallNetProvider">&feaClient=2</Custom>
|
<Custom Action="RemoveNetProvider" After="InstallNetProvider">&feaClient=2</Custom>
|
||||||
|
<Custom Action="InstallIDNMRedistributable" After="WriteRegistryValues">&feaClient=3</Custom>
|
||||||
<Custom Action="ConfigureClient" After="InstallServices">&feaClient=3</Custom>
|
<Custom Action="ConfigureClient" After="InstallServices">&feaClient=3</Custom>
|
||||||
<Custom Action="ConfigureServer" After="ConfigureClient">&feaServer=3</Custom>
|
<Custom Action="ConfigureServer" After="ConfigureClient">&feaServer=3</Custom>
|
||||||
<!-- <Custom Action="RemoveAFSAdminGroup" Before="">&feaClient=2</Custom> -->
|
<!-- <Custom Action="RemoveAFSAdminGroup" Before="">&feaClient=2</Custom> -->
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<Include>
|
<Include>
|
||||||
<?if $(env.AFSVER_CL) = "1400" ?>
|
<?if $(env.AFSVER_CL) = "1400" ?>
|
||||||
<MergeRef Id="MSVCRT8MEM"/>
|
<MergeRef Id="MSVCRT8MEM"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user