diff options
author | Bob Arnson <bob@firegiant.com> | 2023-02-10 16:29:06 -0500 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2023-02-10 18:02:24 -0500 |
commit | 6f2511f58f60e63a15357a2fe37f83343dea3090 (patch) | |
tree | e9735af3c69531d45e80f9e2a3a90f5d85505d85 /src/api | |
parent | b500f7ae7113039c878555ec622d551854f891e2 (diff) | |
download | wix-6f2511f58f60e63a15357a2fe37f83343dea3090.tar.gz wix-6f2511f58f60e63a15357a2fe37f83343dea3090.tar.bz2 wix-6f2511f58f60e63a15357a2fe37f83343dea3090.zip |
Elevate known cab failures to messages.
Fixes https://github.com/wixtoolset/issues/issues/7169.
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/wix/WixToolset.Data/ErrorMessages.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/wix/WixToolset.Data/ErrorMessages.cs b/src/api/wix/WixToolset.Data/ErrorMessages.cs index aa9750a8..35bd23c5 100644 --- a/src/api/wix/WixToolset.Data/ErrorMessages.cs +++ b/src/api/wix/WixToolset.Data/ErrorMessages.cs | |||
@@ -180,12 +180,12 @@ namespace WixToolset.Data | |||
180 | 180 | ||
181 | public static Message CreateCabAddFileFailed() | 181 | public static Message CreateCabAddFileFailed() |
182 | { | 182 | { |
183 | return Message(null, Ids.CreateCabAddFileFailed, "An error (E_FAIL) was returned while adding files to a CAB file. This most commonly happens when creating a CAB file 2 GB or larger. Either reduce the size of your installation package, raise Media/@CompressionLevel to a higher compression level, or split your installation package's files into more than one CAB file."); | 183 | return Message(null, Ids.CreateCabAddFileFailed, "An error (E_FAIL) was returned while creating a CAB file. The most common cause of this error is attempting to create a CAB file larger than 2GB. You can reduce the size of your installation package, use a higher compression level, or split your files into more than one CAB file."); |
184 | } | 184 | } |
185 | 185 | ||
186 | public static Message CreateCabInsufficientDiskSpace() | 186 | public static Message CreateCabInsufficientDiskSpace() |
187 | { | 187 | { |
188 | return Message(null, Ids.CreateCabInsufficientDiskSpace, "An error (ERROR_DISK_FULL) was returned while creating a CAB file. This means you have insufficient disk space - please clear more disk space and try this operation again."); | 188 | return Message(null, Ids.CreateCabInsufficientDiskSpace, "An error (ERROR_DISK_FULL) was returned while creating a CAB file. This means you have insufficient disk space. Clear disk space and try again."); |
189 | } | 189 | } |
190 | 190 | ||
191 | public static Message CubeFileNotFound(string cubeFile) | 191 | public static Message CubeFileNotFound(string cubeFile) |