Orlando, I don't see the screen (you can;t attach screen shots to forum posts sdaly hence why it may not show up) so I don;t know what error you are seeing.
However, if you are suggesting that you run one installer from another, then Microsoft advise strongly against it. If you need to run two MSI's then I suggest using a bootstrapper such as Burn. In your case, the bootstrapper could detect which OS is installed and select the appropriate MSI to run Chris On 04/25/2011 03:56 PM, Orlando wrote: > Hi to all, > > This might be an old question. Eventhough I have been searching for > examples. I have 2 msi files one for x32 and the other one for x64. I could > manage to verify if the system is NT64 or not and based on that setup the > installer. When the Installer runs the Install_MSI_x64 custom action it > breaks with the msiexec command... I get this msiexec screen when I miss to > add something... > > Does anybody knows if it is possible to run a msi file inside and msi > installer. If that is possible could I put the conditional like Install > _MSI_x32 ? > > I am attaching the code. > > Thanks in advance. > > -Orlando > > -- > <?xml version="1.0" encoding="UTF-8"?> > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util=" > http://schemas.microsoft.com/wix/UtilExtension"> > > <Product Id="26ab3e29-88ca-40d2-a691-36869728996b" > Name="FlexInstaller_Universal" > Language="1033" > Version="1.0.0.0" > Manufacturer="FlexComputing" > UpgradeCode="6b2da768-a2ea-479d-86ef-e61c4f82dd50"> > > <Package InstallerVersion="200" Id="*" > Compressed="yes" > Keywords="Installer" /> > > <Media Id="1" Cabinet="FlexInstaller_Universal.cab" EmbedCab="yes" /> > > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="ProgramFilesFolder"> > <Directory Id="INSTALLLOCATION" Name="FlexInstaller_Universal"> > > <Component Id="x32_Installer" Guid="4016cb9b-ddc7-4713-ae79-1854bb2952e0"> > > <File Id="FlexInstaller_x32.msi" Name="FlexInstaller_x32.msi" > Vital="yes" DiskId="1" > Source="..\FlexInstaller_x32\bin\Debug\FlexInstaller_x32.msi" /> > <Condition>NOT VersionNT64</Condition> > </Component> > > <Component Id="x64_Installer" > Guid="10b3e7a8-a3f4-46a6-9b40-0cf175cd646a"> > <File Id="FlexInstaller_x64.msi" Name="FlexInstaller_x64.msi" > Vital="yes" DiskId="1" > Source="..\FlexInstaller_x64\bin\x64\Debug\FlexInstaller_x64.msi" /> > <Condition>VersionNT64</Condition> > </Component> > > </Directory> > </Directory> > </Directory> > > <Feature Id="FlexInstaller_x32" Title="FlexInstaller_Universal_x32" > Level="0" > AllowAdvertise="no" Absent="disallow" Display="hidden"> > <ComponentRef Id="x32_Installer" /> > <Condition Level="1">NOT VersionNT64</Condition> > </Feature> > > <Feature Id="FlexInstaller_x64" Title="FlexInstaller_Universal_x64" > Level="0" > AllowAdvertise="no" Absent="disallow" Display="hidden"> > <ComponentRef Id="x64_Installer" /> > <Condition Level="1">VersionNT64</Condition> > </Feature> > > > <CustomAction Id="Install_MSI_x32" Return="ignore" > > ExeCommand="msiexec.exe /i > "[INSTALLLOCATION]FlexInstaller_x32.msi" /L*v > "installer-x32.log" > ALLUSERS=1 REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1">NOT > VersionNT64</CustomAction> > > <CustomAction Id="Install_MSI_x64" Return="ignore" > > ExeCommand="msiexec.exe /i > "[INSTALLLOCATION]FlexInstaller_x64.msi" /L*v > "installer-x64.log" > ALLUSERS=1 REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1" >> VersionNT64</CustomAction> > <InstallExecuteSequence> > <Custom Action="Install_MSI_x64" > After="InstallFinalize">VersionNT64</Custom> > </InstallExecuteSequence> > > </Product> > </Wix> > > > -- > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users