This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Could not compress...
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jun 03, 2014
05:42 AM
Could not compress...
I get an error message -1501: Coult not compress into Data1.cab
The is an XML documentation file for one of my assemblies. I.t. the file that is generated by Visual Studio if you check the corresponding check box in project settings. Why it cannot be compressed to the cab file???
I can bypass this problem by removing the XML files. I have multiple assemblies that have XML documentation and they all fail when building the installer. However, this isn't acceptable since our customers need the XML documentation files.
The error description says that this happens if using compressed build. Well, it's hard for me to create uncompressed build since IS trial version only creates a compressed setup.exe. What's up with that? If you want people not to get their hands on the .msi file then this is a poor way to handle it. Firstly, potential customers have to deal with this kind of **** and secondly you can always get the .msi file either just before setup.exe is generated or when .msi file is extracted when you run setup.exe.
Is this stupid limitation removed if we purchase IS Professional license and will XML documentation files be added to Data1.cab file correctly? It's getting more annoying each day to evaluate this... :mad:
The
I can bypass this problem by removing the XML files. I have multiple assemblies that have XML documentation and they all fail when building the installer. However, this isn't acceptable since our customers need the XML documentation files.
The error description says that this happens if using compressed build. Well, it's hard for me to create uncompressed build since IS trial version only creates a compressed setup.exe. What's up with that? If you want people not to get their hands on the .msi file then this is a poor way to handle it. Firstly, potential customers have to deal with this kind of **** and secondly you can always get the .msi file either just before setup.exe is generated or when .msi file is extracted when you run setup.exe.
Is this stupid limitation removed if we purchase IS Professional license and will XML documentation files be added to Data1.cab file correctly? It's getting more annoying each day to evaluate this... :mad:
(4) Replies
‎Jun 12, 2014
09:54 AM
Hello ppsmxion,
I've currently not read the limitations of the Evaluation Version.
How large is that XML file. Do you allready have tried a small XML file?
Regards
Johannes
I've currently not read the limitations of the Evaluation Version.
How large is that XML file. Do you allready have tried a small XML file?
Regards
Johannes
‎Sep 29, 2014
07:17 AM
Johannes John wrote:
Hello ppsmxion,
I've currently not read the limitations of the Evaluation Version.
How large is that XML file. Do you allready have tried a small XML file?
Regards
Johannes
XML file size is 1.52 MB.
I was forced to purchase the Pro version so that I have tools to release versions to customers but I still get this same error. I left the xml files out so that I could build an installer but naturally I've started to get complaints about missing class descriptions etc...
I haven't tried with smaller files. Are you saying that there are file size limits for xml files?
‎Sep 29, 2014
08:12 AM
I have compressed XML files into our installer, a basic MSI install.
Have you tried deleting the file reference and adding it back in? At compile time does the file exist in the path specified as the source path? Is there a service or something that needs to be turned off that can cause a lock on the file?
I do not think this is a size issue, unless you are talking about a file > 2 GB in size, which of course you are not.
IF you create an uncompressed configuration and compile while including the file reference does it compile correctly?
Have you tried deleting the file reference and adding it back in? At compile time does the file exist in the path specified as the source path? Is there a service or something that needs to be turned off that can cause a lock on the file?
I do not think this is a size issue, unless you are talking about a file > 2 GB in size, which of course you are not.
IF you create an uncompressed configuration and compile while including the file reference does it compile correctly?
‎Sep 29, 2014
10:49 AM
I managed to solve the problem by using dynamic file linking. I.e. I deleted the components (project documentation output) pointing to the XML files and added one component that uses dynamic file linking. I then specified which files to include (the XML files) and I was able build my project without problems.
I hope this won't come back and bite me in the ***embly in the future. It's been nothing but problems since day one with InstallShield... I hope someone struggling with this same issue will find my resolution useful.
I hope this won't come back and bite me in the ***embly in the future. It's been nothing but problems since day one with InstallShield...