Skip to content

GPII-3620: Using 7-zip to compress most files.#54

Open
stegru wants to merge 1 commit intoGPII:HSTfrom
stegru:GPII-3620
Open

GPII-3620: Using 7-zip to compress most files.#54
stegru wants to merge 1 commit intoGPII:HSTfrom
stegru:GPII-3620

Conversation

@stegru
Copy link
Copy Markdown
Member

@stegru stegru commented Jan 7, 2019

(experimental)

I got tired of waiting for the installer build to complete, so I've had a quick try at speeding it up.

Instead of wix having to handle over 28,000 files, I made the build use 7zip to put most of the files into a single archive - I'm now able to make a test build in less than a minute - also able to make an installer half the normal size (takes a little longer). This isn't quite ready for production - the installer opens a console window and it doesn't fully uninstall.

@javihernandez, do you think it's worth making it work for releases?

Results:

Original:

size: 223MB
build:       00:07:21.5286101 (MSBuild: 00:05:31.17)
install:     00:01:32.2459532
full repair: 00:03:21.3451461
uninstall:   00:02:08.1704199

$ENV:Compression=1:

size: 228MB
build:       00:02:42.0773036 (MSBuild: 00:00:44.50)
install:     00:00:29.4785606
full repair: 00:00:27.5278058
uninstall:   00:00:02.5061369

$ENV:Compression=9:

size: 118MB
build:       00:06:08.4280582 (MSBuild: 00:04:19.28)
install:     00:00:27.2954481
full repair: 00:00:27.7457903
uninstall:   00:00:02.2500641

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant