Paquet Builder provides an easy and global way to preserve folder structure in your Self-Extracting package, especially if you’re not using components. Follow this guide to learn how:

Compressing the Root Folder

We want to compress the entire mysql folder (shown below) as the root. Since this folder contains files and subfolders, we aim to preserve the entire directory structure.

Compress the entire "mysql" folder, including files and subfolders.

Step 1: Open the File Manager and Add Folder

Start by opening the File Manager in Paquet Builder and selecting Add Folder.

Open the File Manager of Paquet Builder and choose Add Folder.

Step 2: Select the Folder to Import

Choose the folder you want to include—in this case, the mysql folder.

Choose the folder to import (mysql here).

Step 3: Include Files from Subfolders

Accept the option to include files from subfolders.

Accept to include files from subfolders.

Step 4: Ensure Folder Structure is Maintained

Once all files are added, configure Paquet Builder to preserve the folder structure. Close the File Manager to proceed.

All files are added. Configure folder structure settings in the next steps.

Step 5: Configure File Compression Settings

Go to Build and select Modify File Compression. Enable the following options:

  • Store Path Information
  • Use Paths Relative To

Then, specify the path to the root folder (in this case, the path to the mysql folder).

Enable "Store Path Information" and "Use Paths Relative To" in compression settings.

Step 6: Validate Folder Restoration

When executing the Self-Extracting package and selecting a destination directory, the files and folders will be restored, maintaining the directory structure.

Verify that all files and folders are restored correctly.

Additional Features for Complex Projects

For projects with multiple folders and varying structures, Paquet Builder offers a Components feature to manage complex setups. This will be covered in a separate tutorial.

Leave a Reply

Your email address will not be published. Required fields are marked *


Ready to Build Your Own Installer?

Start creating powerful, customizable installers today with Paquet Builder. Try the free or trial versions. No credit card required.

Stay Informed About Future Versions

 Follow Us on X

 Visit Our News Blog

 Subscribe to Our Newsletter