[wix-users] Large files in bundle, integration with build server

Rob Mensching rob at firegiant.com
Fri Apr 13 14:53:22 PDT 2018


Or better (IMHO) use bind paths and avoid the "$(var.SourceFolder)" completely.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Hoover, Jacob via wix-users
Sent: Friday, April 13, 2018 1:48 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Hoover, Jacob <Jacob.Hoover at greenheck.com>
Subject: Re: [wix-users] Large files in bundle, integration with build server

I'm confused why you wouldn't just build the installer on the build server immediately after compiling. It should be as easy as invoking a msbuild task against the wixproj, and you can then pass in property overrides.
Ex:
  /p:BuildNumber=${bamboo.buildNumber} /p:BuildRootDir=${bamboo.build.working.directory}

Modify the wixproj to consume BuildRootDir, and pass it in as a var
Ex:
    <DefineConstants>
      $(DefineConstants);
      BuildRootDir=$(BuildRootDir);
      BuildNumber=$(BuildNumber);
    </DefineConstants>

And modify your WXS to use relative paths based off of $(var.BuildRootDir)
Ex:
      <Component Id="MyApp">
        <File Name="MyApp.exe" Source="$(var.SourceFolder)Build\Release\Bin\MyApp.exe" DiskId="1" />
      </Component>

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Colin Dawson (Astronutter) via wix-users
Sent: Thursday, April 12, 2018 3:57 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Colin Dawson (Astronutter) <c.j.dawson76 at gmail.com>
Subject: Re: [wix-users] Large files in bundle, integration with build server

What I’m working on is to pull the files from the build server, put them in a folder or several folders relative to the wix project, then build the installer based on that.

The idea is that the build server will be able to do this for me and build the msi and exe boot strapped

Regards
Colin
Cjdawson.com

Sent from my iPhone

> On 12 Apr 2018, at 17:50, Carlos Sosa via wix-users <wix-users at lists.wixtoolset.org> wrote:
> 
> 
> Hello we have a working installer, we now need to integrate it with 
> bitbucket (versioning and CI) but the components are too big, the total size of the installer is  +500MB I think I remember something about always pulling the components from the Build Server, is this as simple as changing the dir references to the Build server dir or is there a better way to handle this?
> 
> Any advice is appreciated.




More information about the wix-users mailing list