I have an application, built on CF3.5 and I’m trying to work out how to deploy this to the device. I’ve created a deployment project, and that deploys the software fine.
However, the project has an app.config file to hold some running parameters.
What I need to be able to do is to produce the CAB file, and allow the config to be changed before it is synced to the device (changing it once it’s on the device is not viable). The problem I have is that if I include this in the set-up project, then it will be included in the produced CAB file and end up in the application directory on the device.
I’m aware that the contents of the CAB file can be changed, but this is quite a cumbersome process. It there a way to have the installation program just copy a file named app.config from the same directory as the CAB file to wherever the program is installed? Alternatively, is there a better way to do this?
Perhaps you could create a custom setup.dll for your CAB and modify the app.config with it.