You are here

How to move Application Data

4 posts / 0 new
Last post
kujoe
Offline
Last seen: 16 years 5 months ago
Joined: 2006-10-12 09:30
How to move Application Data

I'm fairly new at trying to create a portable app. Without going into too much detail, the application I'm trying to make portable stores quite a bit of information in the "application data" folder on windows. How do I localize this? I looked in all files, including the installer and app .exe's and can't find where this is specified. How do I "crack open" this application to make it look in the local folder instead of the application data folder of the computer it's on?

Thanks in advance.

John Bentley
John Bentley's picture
Offline
Last seen: 14 years 7 months ago
Developer
Joined: 2006-01-24 13:26
If there are local files

If there are local files back them up.
Copy data files to that dir.
Run program.
Copy data files back to usb.
If there were local files move them back.

cowsay Moo
cowthink 'Dude, why are you staring at me.'

kujoe
Offline
Last seen: 16 years 5 months ago
Joined: 2006-10-12 09:30
Well, it's not that simple.

Well, it's not that simple. The program I'm trying to make portable only looks for the application data folder on the local computer. I also found out that even if I manually change the directories somehow, it still loads files into the application data folder on the local computer.

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 1 year 5 months ago
Developer
Joined: 2006-05-26 12:08
Then

The use this variable for nsis (If your using nsis) $APPDATA and that will take you to the App Data folder on the local machine

your friendly neighbourhood moderator Zach Thibeau

Log in or register to post comments