[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] Failed to build 8.0.0 using WiX with win7, MSVS2010, WiX 3.7



Hi there,

I am trying to replicate something I have had working in the past for earlier
versions of all packages.

I have a 32-bit win7 machine

I have installed Condor 8.0.0 from an MSI file.

I have installed Visual Studio 2010

I have installed WiX Toolset v3.7


I fire up a Visual Studio Command prompt
 (as that  has the VS compilers and tools on the %PATH%)

I add the WiX bin to the %PATH%

I cd to the condor\etc\WiX directory

I run do_wix.bat

I see a couple of messages suggesting that Condor's WiX file is a
bit out of date wrt 3.7, however, things trundle on until the "light:"
command is run, at which point I see errors about a file below

C:/Program Files (x86)/Common Files/

which, "despite not being a windows man you understand", I am aware
is the 32-bit PATH that windows uses on 64-bit machines.

I am not on a 64-bit machine so what's going on ?

Have attached the full output from the Visual Studio Command prompt

Any insight welcome,

Kevin M. Buckley

eScience Consultant
School of Engineering and Computer Science
Victoria University of Wellington
New Zealand
Setting environment for using Microsoft Visual Studio 2010 x86 tools.

C:\Windows\system32>cd c:\condor\etc\WiX

c:\condor\etc\WiX>set PATH=%PATH%;"c:\Program Files\WiX Toolset v3.7\bin"

c:\condor\etc\WiX>mkdir c:\temp

c:\condor\etc\WiX>do_wix.bat ..\.. c:\temp\condor-8xx-vuw-scs.msi

c:\condor\etc\WiX>setlocal enableextensions enabledelayedexpansion

c:\condor\etc\WiX>REM note this script only works if it is in the parent directo
ry

c:\condor\etc\WiX>REM of the wix xml files.

c:\condor\etc\WiX>REM

c:\condor\etc\WiX>if "~..\.." == "~" goto useage

c:\condor\etc\WiX>if "~c:\temp\condor-8xx-vuw-scs.msi" == "~" goto useage

c:\condor\etc\WiX>set RUNEVAL=-sval

c:\condor\etc\WiX>if "IEUser" == "" goto noruneval

c:\condor\etc\WiX>if not "" == "" goto noruneval

c:\condor\etc\WiX>set RUNEVAL=

c:\condor\etc\WiX>set _condor_path=c:\condor

c:\condor\etc\WiX>pushd c:\condor\etc\WiX\

c:\condor\etc\WiX>set _WXS_FILES=

c:\condor\etc\WiX>for %I in (xml\*.wxs) do set _WXS_FILES=!_WXS_FILES! %I

c:\condor\etc\WiX>set _WXS_FILES=!_WXS_FILES! xml\CondorCfgDlg.wxs

c:\condor\etc\WiX>set _WXS_FILES=!_WXS_FILES! xml\CondorDomainCfgDlg.wxs

c:\condor\etc\WiX>set _WXS_FILES=!_WXS_FILES! xml\CondorEmailCfgDlg.wxs

c:\condor\etc\WiX>set _WXS_FILES=!_WXS_FILES! xml\CondorExecCfgDlg.wxs

c:\condor\etc\WiX>set _WXS_FILES=!_WXS_FILES! xml\CondorHDFSCfgDlg.wxs

c:\condor\etc\WiX>set _WXS_FILES=!_WXS_FILES! xml\CondorJavaCfgDlg.wxs

c:\condor\etc\WiX>set _WXS_FILES=!_WXS_FILES! xml\CondorPermCfgDlg.wxs

c:\condor\etc\WiX>set _WXS_FILES=!_WXS_FILES! xml\CondorPoolCfgDlg.wxs

c:\condor\etc\WiX>set _WXS_FILES=!_WXS_FILES! xml\CondorUpHostDlg.wxs

c:\condor\etc\WiX>set _WXS_FILES=!_WXS_FILES! xml\CondorVMCfgDlg.wxs

c:\condor\etc\WiX>rem echo  xml\CondorCfgDlg.wxs xml\CondorDomainCfgDlg.wxs xml\
CondorEmailCfgDlg.wxs xml\CondorExecCfgDlg.wxs xml\CondorHDFSCfgDlg.wxs xml\Cond
orJavaCfgDlg.wxs xml\CondorPermCfgDlg.wxs xml\CondorPoolCfgDlg.wxs xml\CondorUpH
ostDlg.wxs xml\CondorVMCfgDlg.wxs

c:\condor\etc\WiX>rem echo  xml\CondorCfgDlg.wixobj xml\CondorDomainCfgDlg.wixob
j xml\CondorEmailCfgDlg.wixobj xml\CondorExecCfgDlg.wixobj xml\CondorHDFSCfgDlg.
wixobj xml\CondorJavaCfgDlg.wixobj xml\CondorPermCfgDlg.wixobj xml\CondorPoolCfg
Dlg.wixobj xml\CondorUpHostDlg.wixobj xml\CondorVMCfgDlg.wixobj

c:\condor\etc\WiX>set _WIXOBJ_FILES= CondorCfgDlg.wxs CondorDomainCfgDlg.wxs Con
dorEmailCfgDlg.wxs CondorExecCfgDlg.wxs CondorHDFSCfgDlg.wxs CondorJavaCfgDlg.wx
s CondorPermCfgDlg.wxs CondorPoolCfgDlg.wxs CondorUpHostDlg.wxs CondorVMCfgDlg.w
xs

c:\condor\etc\WiX>heat dir c:\condor -ke -g1 -srd -gg -var var.Source -t:xml\con
dor.xsl -out "condor-8xx-vuw-scs.wxs"
Windows Installer Xml Toolset Harvester version 3.7.1224.0
Copyright (C) Outercurve Foundation. All rights reserved.

heat.exe : warning HEAT1108 : The command line switch 't:' is deprecated. Please
 use 't' instead.
heat.exe : warning HEAT5151 : Could not harvest data from a file that was expect
ed to be an assembly: c:\condor\bin\condor_mail.exe. If this file is not an asse
mbly you can ignore this warning. Otherwise, this error detail may be helpful to
 diagnose the failure: Could not load file or assembly 'condor_mail, Version=1.0
.4084.23050, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A
ttempt to load an unverifiable executable with fixups (IAT with more than 2 sect
ions or a TLS section.) (Exception from HRESULT: 0x80131019)

c:\condor\etc\WiX>candle -ext WixFirewallExtension -dSource=c:\condor "condor-8x
x-vuw-scs.wxs"  xml\CondorCfgDlg.wxs xml\CondorDomainCfgDlg.wxs xml\CondorEmailC
fgDlg.wxs xml\CondorExecCfgDlg.wxs xml\CondorHDFSCfgDlg.wxs xml\CondorJavaCfgDlg
.wxs xml\CondorPermCfgDlg.wxs xml\CondorPoolCfgDlg.wxs xml\CondorUpHostDlg.wxs x
ml\CondorVMCfgDlg.wxs
Windows Installer Xml Compiler version 3.7.1224.0
Copyright (C) Outercurve Foundation. All rights reserved.

condor-8xx-vuw-scs.wxs
c:\condor\etc\WiX\condor-8xx-vuw-scs.wxs(11) : warning CNDL1138 : The RegistryKe
y/@Action attribute has been deprecated.  In most cases, you can simply omit @Ac
tion.  If you need to force Windows Installer to create an empty key or recursiv
ely delete the key, use the ForceCreateOnInstall or ForceDeleteOnUninstall attri
butes instead.
c:\condor\etc\WiX\condor-8xx-vuw-scs.wxs(37) : warning CNDL1138 : The RegistryKe
y/@Action attribute has been deprecated.  In most cases, you can simply omit @Ac
tion.  If you need to force Windows Installer to create an empty key or recursiv
ely delete the key, use the ForceCreateOnInstall or ForceDeleteOnUninstall attri
butes instead.
CondorCfgDlg.wxs
CondorDomainCfgDlg.wxs
CondorEmailCfgDlg.wxs
CondorExecCfgDlg.wxs
CondorHDFSCfgDlg.wxs
CondorJavaCfgDlg.wxs
CondorPermCfgDlg.wxs
CondorPoolCfgDlg.wxs
CondorUpHostDlg.wxs
CondorVMCfgDlg.wxs

c:\condor\etc\WiX>light  -ext WixUIExtension -ext WixFirewallExtension -dWixUILi
censeRtf=.\license.rtf -out "c:\temp\condor-8xx-vuw-scs.msi" "condor-8xx-vuw-scs
.wixobj"  CondorCfgDlg.wixobj CondorDomainCfgDlg.wixobj CondorEmailCfgDlg.wixobj
 CondorExecCfgDlg.wixobj CondorHDFSCfgDlg.wixobj CondorJavaCfgDlg.wixobj CondorP
ermCfgDlg.wixobj CondorPoolCfgDlg.wixobj CondorUpHostDlg.wixobj CondorVMCfgDlg.w
ixobj
Windows Installer Xml Linker version 3.7.1224.0
Copyright (C) Outercurve Foundation. All rights reserved.

c:\condor\etc\WiX\condor-8xx-vuw-scs.wxs(8) : error LGHT0103 : The system cannot
 find the file 'C:/Program Files (x86)/Common Files/Merge Modules/Microsoft_VC90
_CRT_x86.msm'.
c:\condor\etc\WiX\condor-8xx-vuw-scs.wxs(9) : error LGHT0103 : The system cannot
 find the file 'C:/Program Files (x86)/Common Files/Merge Modules/policy_9_0_Mic
rosoft_VC90_CRT_x86.msm'.

c:\condor\etc\WiX>popd

c:\condor\etc\WiX>goto finis

c:\condor\etc\WiX>