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?
New: Kanri (Oct 09, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
Please donate today
Any file movement must be done by the launcher.
Sometimes, the impossible can become possible, if you're awesome!
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.
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
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.
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
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.
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
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.
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
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
Would it help if you saw the entire app and what it is?
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
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.
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
What time should I look to find you on IRC? My timezone is eastern.
Send me a email. itechnewsdaily@gmail.com
Also, it would be best on Skype. Do you have one?
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
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
hey,
now i am really thanks for this,
this is informative.
Carrot Media: Facebook apps, Facebook games, Iphone apps, Iphone games