Sorry for earlier question, it was sent as mistake. I have following Wix File that is supposed to install the contents in C:\SampleProgram . The generated msi is supposed to be installed as msiexec /i installer.msi IPADDRESS="1.1.1.1". The parameter IPADDRESS is fetched by Custom Action that will make a config file as below in the folder where program installs itself. { "ip" : "1.1.1.1" } it the content that custom action will write. The problem is that I am unable to get the files that Wix should be copying in Installed Folder but the installer runs custom action. I have given complete log at pastebin.com/wrzYVgCD If one searches Component: BoostThreadLibrary , I get Installed: Absent, which as given here says that Component or feature is not currently installed.. The same installer though worked in another machine. What is the problem I am facing?
I have attached wix file below: <?xml version="1.0" encoding="UTF-8"?><Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="SampleProgram" Language="1033" Version="3.0.0" Manufacturer="Learning" UpgradeCode="a0265d05-8e65-4af2-98e1-a675b728dd2d"> <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> <MediaTemplate EmbedCab="yes" /> <Feature Id="ProductFeature" Title="SampleProgram" Level="1"> <ComponentGroupRef Id="ProductComponents" /> </Feature> </Product> <Fragment> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="WindowsVolume"> <Directory Id="INSTALLFOLDER" Name="SampleProgram" /> </Directory> </Directory> </Fragment> <Fragment> <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> <Component Id="ProductComponent"> <File Id="LPAEXE" Name="lpa.exe" DiskId="1" Source="$(var.lpa.TargetPath)" Vital="yes" KeyPath="yes" /> <?if $(var.Configuration) = "Release"?> <ServiceInstall Id="ServiceInstaller" Type="ownProcess" Vital="yes" Name="LearningService" DisplayName="LearningService" Description="How to make a Service" Start="auto" Account="LocalSystem" ErrorControl="normal" Interactive="no" /> <ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="LearningService" Wait="yes" /> <?endif?> </Component> <Component Id="BoostThreadLibrary"> <?if $(var.Configuration) = "Debug"?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_thread-vc100-mt-gd-1_55.dll" /> <?else?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_thread-vc100-mt-1_55.dll" /> <?endif?> </Component> <Component Id="BoostSystemLibrary"> <?if $(var.Configuration) = "Debug"?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_system-vc100-mt-gd-1_55.dll" /> <?else?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_system-vc100-mt-1_55.dll" /> <?endif?> </Component> <Component Id="BoostChronoLibrary"> <?if $(var.Configuration) = "Debug"?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_chrono-vc100-mt-gd-1_55.dll" /> <?else?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_chrono-vc100-mt-1_55.dll" /> <?endif?> </Component> <Component Id="BoostFileSystemLibrary"> <?if $(var.Configuration) = "Debug"?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_filesystem-vc100-mt-gd-1_55.dll" /> <?else?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_filesystem-vc100-mt-1_55.dll" /> <?endif?> </Component> <Component Id="BoostDateTimeLibrary"> <?if $(var.Configuration) = "Debug"?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_date_time-vc100-mt-gd-1_55.dll" /> <?else?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_date_time-vc100-mt-1_55.dll" /> <?endif?> </Component> <Component Id="BoostZlibLibrary"> <?if $(var.Configuration) = "Debug"?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_zlib-vc100-mt-gd-1_55.dll" /> <?else?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_zlib-vc100-mt-1_55.dll" /> <?endif?> </Component> <Component Id="BoostIOStreamLibrary"> <?if $(var.Configuration) = "Debug"?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_iostreams-vc100-mt-gd-1_55.dll" /> <?else?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_iostreams-vc100-mt-1_55.dll" /> <?endif?> </Component> <Component Id="BoostRegexLibrary"> <?if $(var.Configuration) = "Debug"?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_regex-vc100-mt-gd-1_55.dll" /> <?else?> <File Source ="C:\boost_1_55_0_dyn\stage\lib\boost_regex-vc100-mt-1_55.dll" /> <?endif?> </Component> <Component Id="libeay32"> <File Source ="C:\OpenSSL-Win32\libeay32.dll" /> </Component> <Component Id="ssleay32"> <File Source ="C:\OpenSSL-Win32\ssleay32.dll" /> </Component> <Component Id="czmq"> <?if $(var.Configuration) = "Debug"?> <File Source ="..\..\ext_library\zmq\czmq\czmq-2.1.0\lib\Win32\DebugDLL\czmq.dll" /> <?else?> <File Source ="..\..\ext_library\zmq\czmq\czmq-2.1.0\lib\Win32\ReleaseDLL\czmq.dll" /> <?endif?> </Component> <Component Id="log4cplus"> <?if $(var.Configuration) = "Debug"?> <File Source ="..\..\ext_library\log4cplus\bin\Debug\log4cplusD.dll" /> <?else?> <File Source ="..\..\ext_library\log4cplus\bin\Release\log4cplus.dll" /> <?endif?> </Component> <Component Id="libzmq"> <?if $(var.Configuration) = "Debug"?> <File Source ="..\..\ext_library\zmq\zeromq-4.0.3\lib\Win32\Debug\libzmq.dll" /> <?else?> <File Source ="..\..\ext_library\zmq\zeromq-4.0.3\lib\Win32\Release\libzmq.dll" /> <?endif?> </Component> <Component Id="SSL_Crt_File"> <File Source ="..\..\src\keys\ca.crt" /> </Component> </ComponentGroup> <Binary Id="SetupCA" SourceFile="..\..\ext_library\SetupCA\SetupCA\bin\Release\SetupCA.CA.dll"/> <CustomAction Id="WRITEFILETODISK" Execute="immediate" BinaryKey="SetupCA" DllEntry="WriteFileToDisk" /> <InstallExecuteSequence> <Custom Action="WRITEFILETODISK" Sequence="2"></Custom> </InstallExecuteSequence> </Fragment></Wix> I have asked this question at SO also. One can check it http://stackoverflow.com/questions/27857796/msi-installer-runs-custom-action-but-leaves-file-for-installation -- *sarvagya* ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users