Ah, so your building your MSI via command line. Good to hear you figured it out.
J On Fri, May 17, 2013 at 12:48 PM, BGINFO4X <bginf...@kztsoftware.com> wrote: > Hello, > > I see the problems: > > The First one was that light needs all the *.wixobj > The Second one was that light needs the -b parameter. > > Now, I do the following: > > "C:\Program Files\WiX Toolset v3.7\bin\heat" dir "BGINFO4XW" -cg > SampleGroup -out SampleGroup.wxs -gg > "C:\Program Files\WiX Toolset v3.7\bin\candle" SampleFirst.wxs > SampleGroup.wxs > "C:\Program Files\WiX Toolset v3.7\bin\light" -ext "C:\Program > Files\WiX Toolset v3.7\bin\WixUIExtension.dll" SampleFirst.wixobj > SampleGroup.wixobj -cultures:en-us -out SampleFirst.msi -b "BGINFO4XW" > > The MSI is generated correctly, with all files included. > The problem is that, the installations doesn't use INSTALLDIR, so the > program is installed in C:\ even I select a different INSTALLDIR > directory. > > What I'm doing wrong? Why the program is not installed in INSTALLDIR? > > Thanks a lot. > > My SampleFirst.wxs is: > > <?xml version='1.0' encoding='windows-1252'?> > <?define ProductVersion = "2.8.4"?> > <?define ProductUpgradeCode = "9640CA85-6906-48E8-9ABB-801DBF37DEDB"?> > <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> > > <Product Name='BGInfo4X Example $(var.ProductVersion)' Id='*' > UpgradeCode="$(var.ProductUpgradeCode)" Language='1033' > Codepage='1252' Version="$(var.ProductVersion)" > Manufacturer='KZTSoftware'> > > <!-- Main packed declaration --> > <Package Id='*' Keywords='Installer' Description="BGInfo4X > Installer > for Windows" Comments='BGInfo4X is copyrighted at KZTSoftware.' > Manufacturer='KZTSoftware' > InstallerVersion='100' Languages='1033' Compressed='yes' > SummaryCodepage='1252' /> > > <Upgrade Id='61997F4A-5C91-48AA-B039-61D1EAAF2B3F'> > <UpgradeVersion OnlyDetect='yes' Property='SELFFOUND' > Minimum='1.0.0' IncludeMinimum='yes' Maximum='1.0.0' > IncludeMaximum='yes' /> > <UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND' > Minimum='1.0.0' IncludeMinimum='no' /> > </Upgrade> > <CustomAction Id='AlreadyUpdated' Error='Foobar 1.0 has already > been > updated to 1.0.1 or newer.' /> > <CustomAction Id='NoDowngrade' Error='A later version of > [ProductName] is already installed.' /> > <InstallExecuteSequence> > <Custom Action='AlreadyUpdated' > After='FindRelatedProducts'>SELFFOUND</Custom> > <Custom Action='NoDowngrade' > After='FindRelatedProducts'>NEWERFOUND</Custom> > </InstallExecuteSequence> > > <!-- How data is packed inside the msi --> > <Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM > #1" /> > <Property Id='DiskPrompt' Value="BGInfo4X Installation [1]" /> > > <Icon Id="WIX_32x32.ico" SourceFile="WIX_32x32.ico" /> > <Property Id="ARPPRODUCTICON" Value="WIX_32x32.ico"/> > <Property Id="ARPHELPLINK" > Value="http://sourceforge.net/p/bginfo4x/wiki/Documentation/"/> > <Property Id="ARPURLINFOABOUT" Value=" > http://bginfo4x.sourceforge.net"/> > > <UIRef Id="WixUI_InstallDir"/> > <UIRef Id="WixUI_ErrorProgressText"/> > <WixVariable Id="WixUILicenseRtf" Value="gpl3.rtf" /> > <WixVariable Id="WixUIDialogBmp" Value="WIX_493x312.bmp" /> > <WixVariable Id="WixUIBannerBmp" Value="WIX_493x58.bmp" /> > <WixVariable Id="WixUIExclamationIco" Value="WIX_32x32.ico" /> > <WixVariable Id="WixUIInfoIco" Value="WIX_32x32.ico" /> > <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR"/> > > <!-- Directory Structure --> > <Directory Id='TARGETDIR' Name='SourceDir'> > > <Directory Id='ProgramFilesFolder' Name='PFiles'> > <Directory Id='INSTALLDIR' Name='BGInfo4X for > Windows > $(var.ProductVersion)'></Directory> > </Directory> > > <Directory Id="ProgramMenuFolder" Name="Programs"> > <Directory Id="ProgramMenuDir" Name="BGInfo4X for > Windows"> > <Component Id="ProgramMenuDir" > Guid="240BFA0F-8BF2-45AB-A1CB-D605D2D99628"> > <RemoveFolder Id='ProgramMenuDir' > On='uninstall' /> > <RegistryValue Root='HKCU' > Key='Software\[Manufacturer]\[ProductName]' Type='string' Value='' > KeyPath='yes' /> > </Component> > </Directory> > </Directory> > > <Directory Id="DesktopFolder" Name="Desktop"></Directory> > > </Directory> > > <!-- Add Components to feactures (selectable groups of files) --> > <Feature Id="MainApplication" Title="Main Application" Level="1"> > <ComponentGroupRef Id='SampleGroup' /> > <ComponentRef Id='ProgramMenuDir' /> > </Feature> > > </Product> > </Wix> > > > > > > > > > > 2013/5/17 Jeremiahf <jeremi...@gmail.com>: > > Are you not referencing SampleGroup.wxs? > > > > <Feature Id="ProductFeature" Title="yourtitle" Level="1"> > > <ComponentGroupRef Id="SampleGroup.wxs" /> > > > > J > > > > > > On Fri, May 17, 2013 at 8:55 AM, BGINFO4X <bginf...@kztsoftware.com> > wrote: > > > >> Hello everyone, > >> > >> I'm a new to WIX and I'm a little lost. > >> > >> I want to create a .msi file from my project (with lots of files and > >> folders), so I use HEAT. > >> Heat works as exepcted and a new file is created (SampleGroup.wxs). > >> > >> Then I try to "compile all" : "C:\Program Files\WiX Toolset > >> v3.7\bin\candle" SampleFirst.wxs SampleGroup.wxs > >> > >> Until here all is ok, but the installed folder is EMPTY. > >> > >> Why WIX doesn't include my source files from SampleGroup.wxs? > >> > >> What I'm doing wrong? I need to add something in the main file > >> SampleFirst.wxs? Where and what? > >> > >> Thanks a lot. > >> > >> > >> > ------------------------------------------------------------------------------ > >> AlienVault Unified Security Management (USM) platform delivers complete > >> security visibility with the essential security capabilities. Easily and > >> efficiently configure, manage, and operate all of your security controls > >> from a single console and one unified framework. Download a free trial. > >> http://p.sf.net/sfu/alienvault_d2d > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > > > > > > > -- > > "They may forget what you said but they will never forget how you made > them > > feel." -- Anonymous > > > ------------------------------------------------------------------------------ > > AlienVault Unified Security Management (USM) platform delivers complete > > security visibility with the essential security capabilities. Easily and > > efficiently configure, manage, and operate all of your security controls > > from a single console and one unified framework. Download a free trial. > > http://p.sf.net/sfu/alienvault_d2d > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > AlienVault Unified Security Management (USM) platform delivers complete > security visibility with the essential security capabilities. Easily and > efficiently configure, manage, and operate all of your security controls > from a single console and one unified framework. Download a free trial. > http://p.sf.net/sfu/alienvault_d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- "They may forget what you said but they will never forget how you made them feel." -- Anonymous ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users