Question

I am trying to zip excel files using SSIS Process Task. This task asks for Executable. Unfortunately on the machine where I am executing SSIS, does not have any 3rd party provided compression utility. All I have is Windows built in compressor. I want to know how this can be used as executable and zip my files.

Thank you for your time.

Was it helpful?

Solution

You could use 7zip's command line version without installing it.

http://www.7-zip.org/download.html

Also, if your excel files are outputed as '.xlsx' they are already compressed. This is also true for any other office type that ends in an 'x'. Try changing the extension to '.zip' and open them.

Edit: Depending on how much you're doing you might want to consider buying the Cozyroc package which includes a zip task as well as many other useful ones. Not too costly either.

http://cozyroc.com/

OTHER TIPS

I just want to add this note about cozyroc

You can test and develop with the SSIS+ components for as long as needed to determine if the components are suitable for your needs.

When you run the SSIS package from the command line with DTEXEC or SQL Server Agent, the license verification code is activated.

If a license is not found, the package execution will fail, the first time it tries to use SSIS+ library component.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top