Editing app.config during install
I have a piece of .NET client code that uses an app.config file. I have two sets of settings, one for development and one for production. I wanted to use my development settings during, well, development, and transform app.config during install time to production settings. I'm using a Windows Setup project.
You can definitely do this. I got it working, then copied it to a VMWare instance that's on the domain where I don't have local admin rights. BOOM, no worky. Here's what I've figured out: my code is getting installed in Program Files. Even though the change is happening at install time during the commit phase, that's not allowed.