I am a bit confused. If I want to use this in the installer is it already there or do I hav to call it from the installer? Also if the file sin the directory I wish to move them to already exist does it crash? I do not want to overwrite current file rather merge/update the files in the directory into a different possibly already created directory before the install of an update takes place.
I hope this makes sense?
Can't you just do
Rename $Exedir\Data\settings\*.* $ExeDir\App\Program\config
?Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Will that basically accomplish a move / copy of a directory and possible merge into another directory? I am looking at doing this within PA i.e. I just updated RedNotebook, and with the update users will manually need to move a directory. So basically I was going to try to include this in the install, however if there are already files there by their doings I do not want to verwrite them...follow me?
Also while you are around I need to speak with ya about PNotes.
“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'll be on IRC tomorrow night I think.
It should move the files for you. If you try to merge it though, the files will get overwritten. You should try to do this with the INI for the installer. You should have a preserve directory option. I'm not sure how exactly it works, but try it
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Great as I have an idea to throw at you and since you are the Guru of PNotes want your approval first I have done the preserve thing, see in the first release data was saved to app\user Now to conform with PA I have it going to Data\AppName\user. So after the second release things should be ok but in case people decide to save back to app\user I wanted to be able to merge them into the correct place....oh well hopefully the warning I placed in the update will be read.
Thanks and oh BTW nice homepage
“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