Heat isn't designed to work in a CI system today.

Bahn Thomas wrote:
> Yes, this works.
> How i can use this in a buildserver for continous integration?
> I create the Gernerated.wxs automatic by the buildserver. It overwrite my 
> changes in the file.
> ________________________________________
> Von: Yan Sklyarenko [...@sitecore.net]
> Gesendet: Freitag, 27. Februar 2009 13:08
> An: General discussion for Windows Installer XML toolset.
> Betreff: Re: [WiX-users] Installer for an WebProject
>
> Leave your Product.wxs as is, don't include <DirectoryRef> under
> <Directory>, but instead wrap your generated fragment contents into
> <DirectoryRef>, something like this:
>
> <Fragment>
>   <DirectoryRef Id="INSTALLLOCATION">
>     <Directory Id="Debug" Name="Debug">
>       .....
>     </Directory>
>   </DirectoryRef>
> </Fragment>
>
> This works for me. Hope it helps.
>
> -- Yan
>
> -----Original Message-----
> From: Bahn Thomas [mailto:thomas.b...@cic-group.eu]
> Sent: Friday, February 27, 2009 1:32 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installer for an WebProject
>
> Thanks, the -sfrag switch helped.
>
> But there is a new problem.
> The automatic generated File have following content:
>
> <?xml version="1.0" encoding="utf-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
>     <Fragment>
>         <Directory Id="Debug" Name="Debug">
>             There a many Files, Directorys and components...
>         </Directory>
>     </Fragment>
>     Here is the ComponentGroup...
> </Wix>
>
> I have an Product.wxs with following content:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
>   <Product Id="1a248d72-1640-48fa-92b3-349bc8797fab" Name="name"
> Language="1033" Version="1.0.0.0" Manufacturer="manufacturer"
> UpgradeCode="90711963-ed2a-4e0d-a061-69ca7f97c50a">
>     <Package InstallerVersion="200" Compressed="yes"
> Keywords="Installer" Description="description" Comments="comments" />
>
>     <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
>
>     <Directory Id="TARGETDIR" Name="SourceDir">
>       <Directory Id="ProgramFilesFolder">
>         <Directory Id="INSTALLLOCATION" Name="name">
>             Here should be the Debug Directory, but i cant <DirectoryRef
> Id="Debug" />
>         </Directory>
>       </Directory>
>     </Directory>
>
>     <Feature Id="Complete" Title="Cic.P000004.WiXSetup" Level="1">
>       <ComponentGroupRef Id="ComponentGroup1"/>
>     </Feature >
>   </Product>
> </Wix>
>
> The generated WiX-Source throws an error during compilation because the
> root-Directory with Id="Debug" is invalid.
> I would get the contents of the generated file into the INSTALLLOCATION
> directory.
> How i can make a reference from INSTALLLOCATION to Debug?
>
> ________________________________________
> Von: Yan Sklyarenko [...@sitecore.net]
> Gesendet: Donnerstag, 26. Februar 2009 15:12
> An: General discussion for Windows Installer XML toolset.
> Betreff: Re: [WiX-users] Installer for an WebProject
>
> Try using -sfrag switch.
> And you can run heat /? For more info about it.
>
> -- Yan
>
> -----Original Message-----
> From: Bahn Thomas [mailto:thomas.b...@cic-group.eu]
> Sent: Thursday, February 26, 2009 3:45 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installer for an WebProject
>
> I dont have a ComponentGroup in my generated file.
> To harvest the directory i call "heat dir C:\Publish -out raw.wxs".
> The version of heat.exe is 3.0.4805.0
> Did i make a mistake in the call of heat.exe?
> ________________________________________
> Von: Yan Sklyarenko [...@sitecore.net]
> Gesendet: Donnerstag, 26. Februar 2009 14:00
> An: General discussion for Windows Installer XML toolset.
> Betreff: Re: [WiX-users] Installer for an WebProject
>
> When heat harvests the file system directory tree (at least, for
> "harvest into fragment" it is true), it also generates a
> <ComponentGroup> element, containing references to all the components
> harvested into this fragment. You can then add a <ComponentGroupRef>
> element into your feature to include the entire component set.
>
> Hope this helps.
>
> -- Yan
>
> -----Original Message-----
> From: Bahn Thomas [mailto:thomas.b...@cic-group.eu]
> Sent: Thursday, February 26, 2009 12:36 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Installer for an WebProject
>
> Hello,
>
> i would use WiX to create an installer for our Web-Application. But
> there a some things that confuse me.
>
> I have many Files and Folders that changes often. The Files and Folders
> should be automatic included into the installer.
> With the Harvester heat.exe i can generate a WiX-Source containing the
> complete Web Application.
> But how i can automatic include the many components into a feature?
>
> And another question:
> Is there no way to notice <Directory> Tags in a <Component> Tag? Only
> <File> Tags are allowed.
> When it is possible, i would create one component for an entry directory
> with subdirectorys.
>
> Thank in advance
>
> Thomas Bahn
> ------------------------------------------------------------------------
> ------
> Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------
> ------
> Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------
> ------
> Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------
> ------
> Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------
> ------
> Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to