Wix bootstrapper having trouble with an MSI requiring SelfReg with VC++ 2005 -


so have wix bootstrapper installs vc++ 2005 (x86) redistributable among other things , installs 3rd party msi keeps failing on failed selfreg of 1 of dlls. when install vc++ 2005 (x86) outside of bootstrapper works fine , bootstrapper chain skips vc++ install , installs msi requiring selfregs without issue. however, when have bootstrapper install vc++ redistributable before msi depends on fails because selfregs fail.

now if guess issue may have environment variables not getting refreshed during bootstrapper chain , reboot fix it. prefer alternative solution , wondering if else may have idea of what's happening , give me alternative.

update: when hit point of failure, can confirm vc++ 2005 (x86) installed in both log files, registry key @ hklm/software/microsoft/devdiv/vc/8.0/red/1033/install, , manifest files in c:\windows\winsxs\manifests. when run sxstrace while trying self-register dlls manually regsvr32.exe log.

 =================  begin activation context generation.  input parameter:     flags = 0     processorarchitecture = wow32     culturefallbacks = en-us;en     manifestpath = c:\program files (x86)\business objects\businessobjects enterprise 12.0\win32_x86\personalcategory.dll     assemblydirectory = c:\program files (x86)\business objects\businessobjects enterprise 12.0\win32_x86\     application config file =   -----------------  info: parsing manifest file c:\program files (x86)\business objects\businessobjects enterprise 12.0\win32_x86\personalcategory.dll.     info: manifest definition identity (null).     info: reference: microsoft.vc80.crt,processorarchitecture="x86",publickeytoken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"     info: reference: microsoft.vc80.atl,processorarchitecture="x86",publickeytoken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"  info: resolving reference microsoft.vc80.crt,processorarchitecture="x86",publickeytoken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053".     info: resolving reference processorarchitecture wow64.         info: resolving reference culture neutral.             info: applying binding policy.                 info: no publisher policy found.                 info: no binding policy redirect found.             info: begin assembly probing.                 info: did not find assembly in winsxs.                 info: attempt probe manifest @ c:\windows\assembly\gac_32\microsoft.vc80.crt\8.0.50727.4053__1fc8b3b9a1e18e3b\microsoft.vc80.crt.dll.                 info: did not find manifest culture neutral.             info: end assembly probing.     info: resolving reference processorarchitecture x86.         info: resolving reference culture neutral.             info: applying binding policy.                 info: find publisher policy @ c:\windows\winsxs\manifests\x86_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_516ac2a30f4be7a6.manifest                 info: publisher policy redirected assembly version.                 info: post policy assembly identity microsoft.vc80.crt,processorarchitecture="x86",publickeytoken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.8428".             info: begin assembly probing.                 info: attempt probe manifest @ c:\windows\winsxs\manifests\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_d08a11e2442dc25d.manifest.                 info: manifest found @ c:\windows\winsxs\manifests\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_d08a11e2442dc25d.manifest.             info: end assembly probing.  info: resolving reference microsoft.vc80.crt.mui,language="*",processorarchitecture="x86",publickeytoken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.8428".     info: resolving reference processorarchitecture wow64.         info: resolving reference culture en-us.             info: applying binding policy.                 info: no publisher policy found.                 info: no binding policy redirect found.             info: begin assembly probing.                 info: did not find assembly in winsxs.                 info: attempt probe manifest @ c:\windows\assembly\gac_32\microsoft.vc80.crt.mui\8.0.50727.8428_en-us_1fc8b3b9a1e18e3b\microsoft.vc80.crt.mui.dll.                 info: did not find manifest culture en-us.             info: end assembly probing.         info: resolving reference culture en.             info: applying binding policy.                 info: no publisher policy found.                 info: no binding policy redirect found.             info: begin assembly probing.                 info: did not find assembly in winsxs.                 info: attempt probe manifest @ c:\windows\assembly\gac_32\microsoft.vc80.crt.mui\8.0.50727.8428_en_1fc8b3b9a1e18e3b\microsoft.vc80.crt.mui.dll.                 info: did not find manifest culture en.             info: end assembly probing.     info: resolving reference processorarchitecture x86.         info: resolving reference culture en-us.             info: applying binding policy.                 info: no publisher policy found.                 info: no binding policy redirect found.             info: begin assembly probing.                 info: did not find assembly in winsxs.                 info: attempt probe manifest @ c:\windows\assembly\gac_32\microsoft.vc80.crt.mui\8.0.50727.8428_en-us_1fc8b3b9a1e18e3b\microsoft.vc80.crt.mui.dll.                 info: did not find manifest culture en-us.             info: end assembly probing.         info: resolving reference culture en.             info: applying binding policy.                 info: no publisher policy found.                 info: no binding policy redirect found.             info: begin assembly probing.                 info: did not find assembly in winsxs.                 info: attempt probe manifest @ c:\windows\assembly\gac_32\microsoft.vc80.crt.mui\8.0.50727.8428_en_1fc8b3b9a1e18e3b\microsoft.vc80.crt.mui.dll.                 info: did not find manifest culture en.             info: end assembly probing.  info: resolving reference microsoft.vc80.atl,processorarchitecture="x86",publickeytoken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053".     info: resolving reference processorarchitecture wow64.         info: resolving reference culture neutral.             info: applying binding policy.                 info: no publisher policy found.                 info: no binding policy redirect found.             info: begin assembly probing.                 info: did not find assembly in winsxs.                 info: attempt probe manifest @ c:\windows\assembly\gac_32\microsoft.vc80.atl\8.0.50727.4053__1fc8b3b9a1e18e3b\microsoft.vc80.atl.dll.                 info: did not find manifest culture neutral.             info: end assembly probing.     info: resolving reference processorarchitecture x86.         info: resolving reference culture neutral.             info: applying binding policy.                 info: no publisher policy found.                 info: no binding policy redirect found.             info: begin assembly probing.                 info: did not find assembly in winsxs.                 info: attempt probe manifest @ c:\windows\assembly\gac_32\microsoft.vc80.atl\8.0.50727.4053__1fc8b3b9a1e18e3b\microsoft.vc80.atl.dll.                 info: attempt probe manifest @ c:\program files (x86)\business objects\businessobjects enterprise 12.0\win32_x86\microsoft.vc80.atl.dll.                 info: attempt probe manifest @ c:\program files (x86)\business objects\businessobjects enterprise 12.0\win32_x86\microsoft.vc80.atl.manifest.                 info: attempt probe manifest @ c:\program files (x86)\business objects\businessobjects enterprise 12.0\win32_x86\microsoft.vc80.atl\microsoft.vc80.atl.dll.                 info: attempt probe manifest @ c:\program files (x86)\business objects\businessobjects enterprise 12.0\win32_x86\microsoft.vc80.atl\microsoft.vc80.atl.manifest.                 info: did not find manifest culture neutral.             info: end assembly probing.     error: cannot resolve reference microsoft.vc80.atl,processorarchitecture="x86",publickeytoken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053".  error: activation context generation failed.  end activation context generation. 

also snapped pick on doing dependency walker on dll. enter image description here

there few other reasons such dependency missing or user context under bootstrapper executes different working scenario.

the first thing here inspect windows installer logs. generate , windows installer logs, can follow following link:

http://blogs.msdn.com/b/astebner/archive/2005/03/29/help-me-help-you-if-you-have-setup-bugs.aspx

-how executing installer outside of bootstrapper? installing them in silent mode? important bootstrapper installs msi's in silent mode. installing them on elevated command prompt?

i asking above questions state installation works outside of bootstrapper.

-once hit error self regs, error message? if yes, instead of clicking on ok , allowing installation roll back, can go folder files copied. try register dll manually command prompt , see if can register dll.

if none of above things work, please post log file installation , can take forward.


Comments