Set temporary folder

This page is only available when you create a media package. Contrary to Setup packages, media packages allow you to specify where you would like the files to be extracted to. This must remain a temporary folder (do not for example set it to the system folder) so at least use %TMP% which is the path to the user temporary folder. The package will extract the media files to this folder, run the main multimedia program and once the latter closes, it will delete all previously extracted files, so the user computer remains clear.

Please also have a look at this help topic for reasons you may use a media package.

Temporary Folder

Enter the path to the folder where files should be extracted to. Generally %TMP%\UserDefined where you replace UserDefined by a unique sentence (use for example your company name + application title like %TMP%\MyCompMyApp).

It is important that the folder remains unique as if the user may run other media packages (not necessary from you) and files could be overwritten.

You may use standard variables which encapsulate the system and shell folders.
But you can also read the default destination path directly from the Windows Registry with the custom actions: in the Initialization event, add a Read from Registry action and set the destination variable to %MYPATH%. Then enter %MYPATH% in the "Default Folder" field.

Note: you must specify the destination folder for files in this field: you cannot set the %DESTPATH% variable directly (packages consider it as read-only). The %DESTPATH% variable will be automatically set to the final destination folder after file extraction.

Tip: if you want to restore the path structure (sub-folders) on the destination computer, please use the "Save Path Information" options in the Compression Options page.


  Paquet Builder Help - Copyright © G.D.G. Software. All rights reserved.