Hi David, It's a shame this part of WE was written with so little flexibility; as you are finding, there is no way to install files into their own folder, and if you do after installation, then you break the uninstall feature of WE (which would normally remove these files from the users pc). Also, being forced to do things using this awkward way, allows for conflicts in file names between apps (e.g. if you have a file named completed.wav, and so do I, then when the user goes to install your package after mine, then your file will over-write mine, and there just is no way around it). The user can stop the installation, but that's the only option available (not to install both packages). Placing all files in a .zip does allow a work-around (but then you have to write your own installer to unpack and place files where you want them, and you are still required to have your primary executables stored in the default profile dir, or they won't be added to the wineyes.ini file in the list of executing apps at installation), and you're back to the uninstall is then broken. I think it comes down to you cannot use subfolders right now without breaking some part of the WE install/uninstall setup, and so the best you can do is to name all of your files with a base name reflecting your apps name to avoid conflicts name.
hth, Chip _____ From: David [mailto:[email protected]] Sent: Friday, April 06, 2012 10:29 AM To: [email protected] Subject: A quick question about packing an app If some of the info my app is using, will be stored in its own subfolder of the User's Profile folder of WE, what will I do to include that subfolder and its contents in the wepm package? When choosing files to include in the package, can I choose just the actual subfolder along with my vbs, ini and xml files? Will that install correctly on the reciepents computer? Or, will I have to first install all the files right in the profile folder, and then let my app move the needed stuff into the subfolder? NO, my vbs, ini and xml, they will all stay directly in the profile folder. But the rest of the stuff, will be put in a subfolder structure. I just wanted to make sure what is the best way of handling this situation, before going ahead and packing up the wepm file. Better do it right, first attempt. Smile. Thanks for any feedback.
