I have an install I'm building that has lots of large files that it will install but don't come into play in the logic of the installer. The publish time on the full install with them is about 8.5 minutes. Running the install takes several minutes.

Since they are not germane to the logic, I wanted to exclude them during repeated test runs. To do this, I created a new Build Configuration - called it "Slim Build". Then I changed those large files to not be included in the build configuration "Slim Build" - in File Properties / Conditions, using multi-file selection so I could do them all at once.

Now during my test runs, I use the Slim Build configuration during publish. The publish time is down to 30 seconds and the install time is proportionally trimmed down.

Perhaps this is already old hat to you, but I hope it helps someone.