Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Some files only needed on CD, NOT installed in target dir
 

Some files only needed on CD, NOT installed in target dir

I have several files in my setup project that I want to have available on the CD in the rare case that the user needs them, but I do not want them installed in the target directory. (It's a Marketing thing - they don't want users poking around in these files unless we tell them where to find them.) I do not see a way in Studio 2005 setup projects to include files on the CD but not actually install them.

Any suggestions?
Bill Cumming  Monday, August 14, 2006 6:41 PM
I'm not quite sure what the issue is here. Why can't you just put those other files on the CD image?
PhilWilson  Monday, August 21, 2006 6:44 PM
It's an issue of automating the build process so that it will be idiot-proof for the next programmer who follows (whenever that may be). If they have to manually create a directory or two in the build output directory and then drag and drop files from several locations, you can imagine the potential for errors.

I'd like to have files on the CD (to be used by our distributors) but not in the install directory (visible to end users, as curious and creative as they are). We tightly control the configuration of the systems we ship, so if the system goes belly up the user is required to send it back to us to rebuild it to make sure it's configured correctly.
Bill Cumming  Monday, August 21, 2006 6:51 PM
Maybe a post-build step would work. I've done that in these cases. I added an empty C++ project (they have more post-build capabilities) to copy files around and run programs.
PhilWilson  Wednesday, August 23, 2006 9:01 PM

You can use google to search for other answers

Custom Search

More Threads

• Question on VS 2005 publishing ClickOnce application
• SQL Server 2005 SP2 as Prerequisite?
• ClickOnce - Can't remove shortcuts
• IE Print Background Activate
• Deriving a new application
• How to create an Installer
• SoftMarcker Drives on Technology, Directors Comment
• First application installs, seconds does not: URLDownloadToCacheFile failed with HRESULT '-2146697210'
• Restore to Previous State and Updates
• Setup and deployment