Throughout the development stages of this project I am working on I have been using images in /sources/*.png, that I have referenced with an OpenFileDialog() and the directory being set with Environment.CurrentDirectory, I am working on publishing this so that it can be distributed by CD, now I know that when installed on CD the path will not be the same as it is currently (for the executable),
That probably didn't make a whole lot of sense, :(, but essentially...
Is there a way that I can package this directory with 4 or 5 images in it, so when the program installs the files will be in the /sources directory, relative to where the program is?
Loading

Karthikeyan AnbarasanRank #71 · 25.5K reputationPosted Mar 18, 2011, 9:51 PM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Mar 19, 2011, 7:19 AM EDT
David Richardson24 reputationPosted Mar 19, 2011, 8:11 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Mar 19, 2011, 8:56 AM EDT
David Richardson24 reputationPosted Mar 20, 2011, 9:40 AM EDT
Essentially I have a /sources/image.png, image2.png, image3.png, etc. and that /sources/ directory is in ../bin/debug/. I want to copy that entire directory to .../'installation_folder'/sources/ when the app is installed.
I am using Visual C# Express 2010.
FroglegRank #1,020 · 1.9K reputationPosted Mar 20, 2011, 9:46 AM EDT
http://www.advancedinstaller.com/
in the past
Sam HobbsRank #107 · 20.5K reputationPosted Mar 20, 2011, 9:05 PM EDT