Hi... I'm trying to upgrade my Wix 2.0 installer scripts to Wix 3.5, and at the moment I'm stuck on the fact that my product msi's are coming out essentially empty and I don't see why. The individual merge modules look like they're about the right size but none of the content is ending up in the msi. I'm seeing the empty shell of the directory structures in .\bin\Release\ for the product installer but none of the files are in there either.
The project below used to work in 2.0; essentially all I tweaked so far was the InstallerVersion and the root Directory Id="TARGETDIR" instead of INSTALLDIR. I've found some 3.5 sample projects, and the biggest difference I can see is a lot more use of DirectoryRef and ComponentRef in <Feature>. Does anyone see if I'm doing something obviously wrong in a 3.5 sense? Thanks Mark <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <?ifdef env.PTBuildVersion ?> <?define Version=$(env.PTBuildVersion) ?> <?else?> <?define Version="0.0" ?> <?endif?> <?ifdef env.TheBuildFolder ?> <?define TheBuildFolder=$(env.TheBuildFolder) ?> <?else?> <?define TheBuildFolder="..\..\.." ?> <?endif?> <?ifdef env.PTBuildConfig ?> <?define config=$(env.PTBuildConfig) ?> <?else?> <?define config="Debug" ?> <?endif?> <?if $(env.PTBuildPlatform)="x64" ?> <?define PPlat="x64" ?> <?else?> <?define PPlat="x86" ?> <?endif?> <?define ForumGUID="CDFDFE94-1896-4BE5-AECB-23083B74E484" ?> <Product Id="$(var.ForumGUID)" Name="My Product v1.00.$(var.Version)" Language="1033" Version="1.0.$(var.Version)" Manufacturer="My Company"> <Package Id="*" Description="Prospero Forums Server Installer" Comments="bar" InstallerVersion="300" Platform="$(var.PPlat)"/> <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" /> <Property Id="INSTALLDIR" Value="C:\Mydir" /> <Property Id="DISABLEROLLBACK" Value="1" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="Binaries" Name="Binaries"> <Merge Id="AuthModule" Language="1033" SourceFile="..\AuthModule\bin\$(var.config)\AuthModule.msm" DiskId="1" /> ... bunch more merges <Merge Id="_3rdPartyModule" Language="1033" SourceFile="..\3rdPartyModule\bin\$(var.config)\3rdPartyModule.msm" DiskId="1" /> <Component Id="InstallConfig" Guid="D746C5C0-12CB-4d4a-AA65-361D578F09F5"> <File Id='InstallConfig.exe' Name='InstallConfig.exe' DiskId='1' Source='..\InstallConfig\bin\$(var.config)\InstallConfig.exe' Vital='yes' /> <File Id='InstallConfig.pdb' Name='InstallConfig.pdb' DiskId='1' Source='..\InstallConfig\bin\$(var.config)\InstallConfig.pdb' /> </Component> </Directory> <Directory Id="ASP" Name="ASP"> <Merge Id="ForumsAspModule" Language="1033" SourceFile="..\ForumsAspModule\bin\$(var.config)\ForumsAspModule.msm" DiskId="1" /> </Directory> <Directory Id="Ptt" Name="Ptt"> <Merge Id="PttModule" Language="1033" SourceFile="..\PttModule\bin\$(var.config)\PttModule.msm" DiskId="1" /> </Directory> </Directory> <Feature Id="Complete" Title="Prospero Forums Server" Description="The complete package." Level="1"> <MergeRef Id="DelphiAuthModule" /> ... bunch more mergerefs <MergeRef Id="_3rdPartyModule" /> <ComponentRef Id="InstallConfig" /> </Feature> <Property Id="ALLUSERS">2</Property> <Property Id="INSTALLLEVEL">3</Property> </Product> </Wix> ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users