Você está na página 1de 13

Smart Packer Pro

Version 1.7

Smart Packer Solutions 2008-2011 All rights reserved. No part of this document may be reproduced, in any form or by any means, without written permission of Smart Packer Solutions. Holders of this document shall treat it confidentially and shall not use it for any other purposes than for which it has been released.

Copyrights Under the international copyright law, neither the Smart Packer software or documentation may be copied, reproduced, translated or reduced to any electronic medium or machine readable form, in whole or in part, without the prior written consent of Smart Packer Solutions. License Conditions Please read your license agreement with Smart Packer Solutions carefully and make sure you understand the exact terms of usage. In particular, for which projects, on which platforms and at which sites, you are allowed to use the product. You are not allowed to make any modifications to the product. Disclaimer This document is provided as is without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. This document could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the document. Smart Packer Solutions may make improvements of and/or changes to the product described in this document at any time. Contact If you wish to obtain further information on this product or any other Smart Packer products, you are always welcome to contact us.

Page 2-13

Table of Contents
About Smart Packer Pro ................................................................................................. 4 Main ............................................................................................................................ 5 Project settings ............................................................................................................. 6 Storage ........................................................................................................................ 7 Options .......................................................................................................................10 Contact Information ......................................................................................................13

Page 3-13

About Smart Packer Pro


Smart Packer Solutions provides developers a unique tool which packs a single executable file, DLL's and other files into a single executable. An executable file made this way doesn't create temporary files on the disk, it doesn't modify the registry to ensure that all the embedded files run as if they were real. The embedded files are extracted directly to the memory. With Autosave feature enabled all file changes in the virtual file system are stored in an encrypted archive. The On Demand feature will extract files on demand during run-time. Features: Packs the executable or dll and all its supplementary files into a single file Creates encrypted archives using strong encryption algorithms Compression methods provides good compression rate and high speed Extract files on demand Saves automatically projects Splash screen image for loading screen Icon support Version information Autosave Mode Supports command line arguments Download updates automatically Plugin system Configurable storage location Password protection Supports Windows 2000, 2003, 2008, XP, Vista and 7 (32- and 64bits)

Page 4-13

Main

Source Select an executable or DLL by pressing "Browse" button. All the subfolders and files within the source folder are also packed.

Click on the Commandline button Example:

for fill out the command line arguments.

source is engine.exe and the script demo.lua must be given as parameter to the source file; fill out in the Arguments field demo.lua and the script will be executed during startup.

Target Fill out in the "Target" field a name for the destination file (virtualized application). Click on Build and the virtualized application will be generated. Run the virtualized application with the Run button.

Page 5-13

Project settings
When build all settings are saved to a project file with extension .spproj in the same folder as the target executable. Double click a project file and the settings are automatically loaded into Smart Packer Pro.

Page 6-13

Storage

Autosave If Autosave is enabled all file changes are stored in an encrypted archive which are restored next time the application runs. This is ideal for demo/trial versions, just disable autosave and changes are not saved.

Page 7-13

On Demand When On Demand is enabled only the main executable (source) is extracted to the virtual file system. If you dont want to use all resources at once you can define your own loading procedure (extract per file). The main executable can load the DLL ondemand.dll (located in the same folder as the main executable) which allows extracting files during run-time. Functions: procedure RequestFileA(FileName : PAnsichar); external 'ondemand.dll'; procedure RequestFileW(FileName : PWideChar); external 'ondemand.dll'; procedure RequestFile(FileName : PWideChar); external 'ondemand.dll'; RequestFileA expects an ANSI string and RequestFile(W) a Unicode string as filename. Example: RequestFileA(PAnsiChar('Files\entitybank\_markers\lightbulb.dbo')); Note: use of relative paths is recommended!

With button "Include Files" you can add a list of files or folders. Files which don't exist during startup but are included files will also be saved in the encrypted archive.

Page 8-13

Compression/Encryption Use compression and encryption levels which are most suitable for the virtualized application. Virtual Storage Location Virtual storage sets the location of the encrypted archive: User's profile: standard in user folder with target or custom name USB Flash / portable media: same folder as virtualized application Network drive / custom: use customized folder Note: only available when Autosave is enabled. Downloads Before your packed application is started you can download a file (f.e. a zip file which contains updates) which is stored in the root of the virtual file system The "URL" field should be a valid internet URL such as http://www.example.com/updates.zip; the "File" field must be a valid filename so the packed application knows which file to use. Note: downloading is done before the plugin system is activated

Page 9-13

Options

Options 1 Images If Startup image is filled out this image will be shown during startup of the virtualized application. Also there is a progress bar displayed while loading files into the virtual file system. Supported image formats are jpg, bmp, gif and png; image size is from 640x480 to 1024x768. Recommend size is 640x480. The icon replaces the executable icon. Plugin Before execution of the packed executable the plugin dll is automatically loaded in the virtual file system and the given procedure started. If the function succeeds and the Smart Packered executable should launch the packed executable, return any nonzero value. If the function fails, return 0 and the application will terminate. Example: Write your own activation or licensing plug-in (DLL). Note: double click on question mark (?) to show a webpage with free/commercial plug-ins.

Page 10-13

Protection The virtualized application can be protected with a password which needs to be filled out during startup. If a valid password is given the application continues, otherwise it aborts. Texts like title, content and instruction can be customized. Hint: use a different password for each customer

Page 11-13

Options 2

Version information For customization of the packed executable fill out the fields and the version information will be updated accordingly. Compatibility Some applications need a different way of loading files in the virtual file system. If this is the case choose Level 2 or higher.

Page 12-13

Contact Inforation
Official Smart Packer web site: http://wwww.smartpacker.nl Support e-mail: info@smartpacker.nl

Page 13-13

Você também pode gostar