Hi,
I am trying to use dism.exe in one of my custom actions for Windows server 2008
R2.
There are two dism.exe, one in c:\windows\system, the other in
c:\windows\syswow64. No matter which one I use, running msi fails with this
error:
You cannot service a running 64-bit operating system with a 32-bit version of
DISM. Please use the version of DISM that corresponds to your computer's
architecture.
Here is my custom action:
<!-- install .NET framework -->
<CustomAction Id="InstallNetFramework"
Property="InstallNetFrameworkDeferred"
Value='"[WindowsFolder]SysWOW64\dism.exe" /online
/enable-feature /featurename:NetFx3'
Execute='immediate'
Return='check'/>
<CustomAction Id="InstallNetFrameworkDeferred"
BinaryKey='WixCA'
DllEntry="CAQuietExec"
Execute="deferred"
Return="check"
Impersonate="no" />
Did I miss anything?
Thanks
Lian
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users