You are here

Installer - Files don't copy to the Data directory

3 posts / 0 new
Last post
adoucette
Offline
Last seen: 4 years 1 month ago
Joined: 2009-12-24 13:49
Installer - Files don't copy to the Data directory

Using the installer 1.02, the files in that should go in the Data directory don't get put there when the portable app is installed.

There are 3 files that need to go into the Data directory on install, 2 txt and one ini. I've tried putting them in the App\DefaultData folder before packaging with the PortableApps.com Installer 1.0.2. (also tried just putting them in the \Data directory and also tried in both directories)
From the instructions on the PortableApps.com Format™ 1.0 page:

The third directory, DefaultData is usually used as a container for the default files to be placed within the Data directory. Generally, the launcher, when run, will check if there is a set of files within Data and, if not, will copy them from DefaultData. The next release of the PortableApps.com Installer will do the same.

So how can I get them to be put into the \Data directory when the portable app is installed?
Thanks,
Ari

Devo
Offline
Last seen: 12 months 4 days ago
Joined: 2007-09-04 14:55
The Launcher moves the files not the Installer

Those files do not get moved with the installer. The files in the DefaultData folder get copied to the Data folder by the launcher. This is generally done if there are no files in the Data folder.

adoucette
Offline
Last seen: 4 years 1 month ago
Joined: 2009-12-24 13:49
Thanks for the reply I'll put

Thanks for the reply
I'll put the code into my app launcher to do that
Ari

Log in or register to post comments