All,
I have what appears to be a simple chained install using burn, where I would
like to do a RegistrySearch to read a key created by the first msi, and use
that to install the second msi to a subfolder of that location. The first
S3DInstallation.msi has its’ own GUI which is run and selects the install
location, so I have to execute the RegistrySearch AFTER the first msi has
installed. I have attempted several different iterations of the Child.wxs, but
I never get the S3DINSTALLPATH property set so that it can be used inside the
PackageGroup. For testing, I commented out the first msi and manually created
the registry keys, even before starting the installer. Nothing seems to be
getting populated in the S3DINSTALLPATH property! What am I missing?!?!?
Any help is appreciated.
Bundle.wxs:
<?xmlversion="1.0"encoding="UTF-8"?>
<Wixxmlns="http://schemas.microsoft.com/wix/2006/wi">
<BundleName="SP3DSetup"
Version="1.0.0.0"
Manufacturer="US"
UpgradeCode="6a509f3a-0a4e-45fd-bd7d-c7f26909f640">
<LogDisable="no"/>
<BootstrapperApplicationRefId="WixStandardBootstrapperApplication.RtfLicense"/>
<Chain>
<!--TODO: Define the list of chained packages. -->
<MsiPackageDisplayInternalUI="yes"SourceFile="X:\Tools\Setup\DVD\Smart3D\Installation\S3DInstallation.msi">
<MsiPropertyName="ARPSYSTEMCOMPONENT"Value="1"/>
</MsiPackage>
<PackageGroupRefId="RADInstall"/>
</Chain>
</Bundle>
</Wix>
And Child.wxs:
<?xmlversion="1.0"encoding="UTF-8"?>
<Wixxmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<PropertyId="S3DINSTALLPATH">
<RegistrySearch Win64="no"Id="S3DInstallPath"
Root="HKLM"
Key="SOFTWARE\Intergraph\SP3D\Installation"
Name="INSTALLDIR"
Type="raw"/>
</Property>
<PackageGroupId="RADInstall">
<MsiPackageDisplayInternalUI="no"SourceFile="L:\bldtools\Setup\DVD\RAD2D\RAD2DInstallation.msi">
<MsiPropertyName="INSTALLFOLDER"Value="[S3DINSTALLPATH]Common2D\"/>
<MsiPropertyName="RADAPPLICATION"Value="Shape2dServer"/>
<MsiPropertyName="ARPSYSTEMCOMPONENT"Value="1"/>
<MsiPropertyName="INGRCOMMONFILES"Value="[CommonFilesFolder]RAD\"/>
</MsiPackage>
</PackageGroup>
</Fragment>
</Wix>
Regards,
Brian
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users