Where do (published) C# Apps go? Where do they live?
Posted on 2013-05-15
When you finish a project, and you set up that project to publish "offline", with no updates, as a CD Installation, it builds everything neatly into a folder (the one you provided to the system when setting everything up initially) - all ready to go.
(Note: I'm using the included Publisher with Visual Studio 2010 Ultimate, here - no additional third-party utilities are involved. Yet.)
So you're on a target machine - one that's supposed to run this application "in the field". You navigate to the [Publish] folder, and click [Setup]. Whammo! The application starts! And there, in the applications list, you can clearly see this solution of yours - the utility designed to save hours of time and improve productivity on the line. It's apparently been successfully installed on your target machine.
But where is it? In the good old days, these applications were installed to the [C:\Programs] folder (or whatever passed for it), and you could deal with them there. But now... ...where did/do these things go?
Reasoning: I have developed a suite of applications that (supposedly) work together, and they use a common configuration scheme. So they seek a config file in the folder of the application --- only I can't seem to find it! The Configuration Utility can't very well write out the config data for the suite of apps if it cannot find them, right? And the apps, not having a default config file to start with, tell the end-user they need to run the Configuration Utility to get things started. But the Configuration Utility cannot find the other applications, so it has no clue to where it should write out config files. Frustrating.
Or am I going about this all wrong? Not my first time trying to apply "old thinking" to the "new system" of doing things. Anybody out there have any idea how I should approach this? Or is it time to invest in a third-party installer, which I really have absolutely no desire to do...
Thanks (in advance) for your time and patience,
- The Lurking LongFist