Create SFX Archive - 7zip in SSIS? - ssis

I have created some XML files via SSIS package and compressed them as well using 7-zip.
There is an option in 7-zip to Create SFX Archive which converts the .7z file to .exe
How can I achieve this from SSIS?

Related

load files from SFTP in ssis package

In ssis package how to download files from SFTP server . FTP details and FileName should read from config file. Rename the files to append timestamp.files are .csv files. Please help.

Double click .exe file to generate .DAT file in SSIS

I have a requirement to open the .exe files, which will create .DAT file (contains data) in the same path. When I tried using execute process task and script task to open the .exe file. I can only see the .exe executing but not opening. As a result,.DAT file is not generated. Can you help me how to resolve this? Because executing the .exe file is not what is required. Double-clicking on the file only generates the file.

Unzip .tar.gz files in SSIS

I have a .tar.gz file. Now i need to unpack these files with SSIS package. Previously did unzip and delete for .zip files with the help of For each container and script task. Not sure how to do it for .tar.gz files. Any help?
You can use an execute process task to achieve this (or using process from Script task), but you have to install a ZIP application like 7Zip or Winzip or else. And use command line to Zip or Unzip archives.
Follow one of these links for more details:
Zip a folder using SSIS
7Zip command line examples
What command line parameters does WinZip support?

SSIS 2012 File Paths

I am using SSIS 2012 to perform a couple basic tasks. The issue I am having occurs in both a Process Execute task and a Flat File connection. When developing the file is local, but I am using an expression to replace the file directory once deployed. I have the files, which are a CSV and a BAT file in the "Miscellaneous" folder.
I would like to be able to reference the relative path of the files rather than an explicit directory on my computer. This would also prevent other developers from having to stage the files locally before being able to even validate the package.
Try using Project Parameter as your folder path.. and use it in your expression Something like
#[$Project::FileLocation] +#[User::FileName]

7z executable in SSIS

How do I implement an execute process task to extract all files in a directory using 7z. exe in SSIS ?
I am trying to unzip all files in a certain directory using 7z executable but it gives a process error code 2.
Make sure you are specifying a WorkingDirectory rather than specifying the full path for the file in the arguments.