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:
Asanka Herath 2008-06-27 03:04:12 +00:00 committed by Jeffrey Altman
parent 149fd85b20
commit 0e04d01891
6 changed files with 23 additions and 2 deletions

View File

@ -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

View File

@ -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?>

View File

@ -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>

View File

@ -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" />

View File

@ -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">&amp;feaClient=3</Custom> <Custom Action="RollbackNetProvider" After="WriteRegistryValues">&amp;feaClient=3</Custom>
<Custom Action="InstallNetProvider" After="RollbackNetProvider">&amp;feaClient=3</Custom> <Custom Action="InstallNetProvider" After="RollbackNetProvider">&amp;feaClient=3</Custom>
<Custom Action="RemoveNetProvider" After="InstallNetProvider">&amp;feaClient=2</Custom> <Custom Action="RemoveNetProvider" After="InstallNetProvider">&amp;feaClient=2</Custom>
<Custom Action="InstallIDNMRedistributable" After="WriteRegistryValues">&amp;feaClient=3</Custom>
<Custom Action="ConfigureClient" After="InstallServices">&amp;feaClient=3</Custom> <Custom Action="ConfigureClient" After="InstallServices">&amp;feaClient=3</Custom>
<Custom Action="ConfigureServer" After="ConfigureClient">&amp;feaServer=3</Custom> <Custom Action="ConfigureServer" After="ConfigureClient">&amp;feaServer=3</Custom>
<!-- <Custom Action="RemoveAFSAdminGroup" Before="">&amp;feaClient=2</Custom> --> <!-- <Custom Action="RemoveAFSAdminGroup" Before="">&amp;feaClient=2</Custom> -->

View File

@ -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"/>