You are here

Move Files

20 posts / 0 new
Last post
iTechNewsDaily
Offline
Last seen: 10 years 4 months ago
Joined: 2012-02-29 13:55
Move Files

How can I make it so that when the installer runs to install the app onto the platform, it takes 2 files and places them in another place?

John T. Haller
John T. Haller's picture
Offline
Last seen: 8 hours 38 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Dont

Any file movement must be done by the launcher.

Sometimes, the impossible can become possible, if you're awesome!

iTechNewsDaily
Offline
Last seen: 10 years 4 months ago
Joined: 2012-02-29 13:55
How

How do I make it do that though? What are the commands and everything? This is the first app I devoloped, and I have everything. It's jut that I need 2 files moved to a different place upon installing the app to the platform.

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
might want

to take a look at the Launcher Manual

Particularly th epart about Files Move

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

iTechNewsDaily
Offline
Last seen: 10 years 4 months ago
Joined: 2012-02-29 13:55
What I have

Ok, so I flowed the instructions to what I can understand. This is what I have made, and it still doesn't work.

[FilesToMove]
H:\xFire Portable\App\Data\xfire_lang_us.dll=H:\xFire Portable

Using notepad++ to code it. File name is installer.ini and it's in the same place as appinfo.ini like it should be.

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
ok are you doing it in

installer? or Launcher?

Also where is the file and where do you want it? A little tough to tell from your code. Are the files needed to be mover when it is installed? If so why not just put them there to begin with? If you want them move when app is run then that goes in launcher not installer. Maybe if you can clearify it would help me understand?

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

iTechNewsDaily
Offline
Last seen: 10 years 4 months ago
Joined: 2012-02-29 13:55
Tried

I tried to move the files to the place they needed to be before I ran the installer to make the app. Didn't stay that way after I made the app. I'm using the installer to make the app, and then I get the file errors when I try to run the app. I need 2 files that need to be copied are a 2 DLL files for language. They need to be simply copied to the root of the app. Install the app right after I make the package by going to app, install new apps right from the platform.

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
so

are they located in the data folder to begin with or in the base app folder?
and usually it would be in base app folder and then moved back and forth to data folder so that hey are saved?

Or you can put them in the default data folder which on first run of app p uts them in data and then use a files move to put them into base app for running and back again to data on close
[FilesToMove]
H:\xFire Portable\App\Data\xfire_lang_us.dll=H:\xFire Portable

If I read it would be
[FilesMove]
xfire_lang_us.dll=%PAL:AppDir%\xfire

you put the location first then = then place you want it

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

iTechNewsDaily
Offline
Last seen: 10 years 4 months ago
Joined: 2012-02-29 13:55
Files

The files start out in the data directory. They need to be moved into the root of the entire app or otherwise the app wont work.

I'm trying to develop xFire portable. It's the entire xFire program, but I simply made it so it can run on the platform. I didn't edit any of the files that came with the program so I don't think that will cause any issues with the company. I simply moved the entire program and fit the correct files into the place they neeed to be in order for the installer to be able to work, along with some files that PA needs, such as apinfo.ini.

If you have some other way for me to contact you besides Email or the forums, such as Skype, I can send you what I have for the app so far so you can take a look at it and see what I'm doing wrong.....

First app I have ever developed. Start out as just something for myself. I didn't even plan on publicly releasing it, but I might if I can figure out how to actually submit it.

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
what is

the current file structure

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
I use

forums as well as IRC channel for Portableapps

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

iTechNewsDaily
Offline
Last seen: 10 years 4 months ago
Joined: 2012-02-29 13:55
The app

Would it help if you saw the entire app and what it is?

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
yes

that might make it easier
or at least I would understand it better

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

iTechNewsDaily
Offline
Last seen: 10 years 4 months ago
Joined: 2012-02-29 13:55
IRC or Skype

I don't know the IRC Channel. What is the link? Also, If I'm going to show you the app I will need some way to send it to you.

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
I understand

However you also stated no email so no idea how you can send it. as for the IRC all the info is at https://portableapps.com/support/chat Looks like the program i s freeware which means you can zip the file then upload it to say Mediafire

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

iTechNewsDaily
Offline
Last seen: 10 years 4 months ago
Joined: 2012-02-29 13:55
What time

What time should I look to find you on IRC? My timezone is eastern.

iTechNewsDaily
Offline
Last seen: 10 years 4 months ago
Joined: 2012-02-29 13:55
E-Mail

Send me a email. itechnewsdaily@gmail.com

Also, it would be best on Skype. Do you have one?

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
Check

your inbox

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
OK

Let me clear up a few things, it appears that you are asking for 1:1 help, that is ok. I usually prefer doing it in the open concept like in IRC or here in the forum, mainly because it allows others to gain information from the process. Plus it allows others to add to the conversation. I by no means am an expert, like you I run in to many issues myself.

I am willing to assist if I can, but really just need info as from what I know so far I am confused. Time Zone like you I am in Maine. IRC is nice because there are others besides me that can help. basically if the dll is in data and the program is in App\xprogram folder then what I have already typed is the way to go in the launcher. but again more info is needed are you copying the files from a local install? extracting htem from a zip?

Time well I am on at all different times, hit or miss

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

frankee
frankee's picture
Offline
Last seen: 10 years 9 months ago
Joined: 2012-04-17 02:52
thanks for this

hey,
now i am really thanks for this,
this is informative.

Carrot Media: Facebook apps, Facebook games, Iphone apps, Iphone games

Log in or register to post comments