Installer Options
-
Hi, I'm being frustrated by VS2017 when publishing a Winforms project. I want to be able to produce a 'live' version, a 'test' version and a 'training' version of the same application and just switch the database and installation locations for each. Do I need to purchase an Installer or can this be achieved in VS2017 easily? I have already tried the app.config switching add-in and have managed to get it to work, if not intermittently, but want to be able to select a config from the Configuration Manager that will provide one the 3 versions rather than just a Debug and Release Any reasnable advice greatfully received Gilbo
-
Hi, I'm being frustrated by VS2017 when publishing a Winforms project. I want to be able to produce a 'live' version, a 'test' version and a 'training' version of the same application and just switch the database and installation locations for each. Do I need to purchase an Installer or can this be achieved in VS2017 easily? I have already tried the app.config switching add-in and have managed to get it to work, if not intermittently, but want to be able to select a config from the Configuration Manager that will provide one the 3 versions rather than just a Debug and Release Any reasnable advice greatfully received Gilbo
For varying the physical location you'll need to pass that location as a parameter in the connection-string. Means you could probably get away with simply using a different connection-string in your configuration. A better idea is described here[^] :rolleyes: That way you can specify which database-driver to use (if you'd want to vary) and how to log the statements on those. Might be helpfull for debugging test-versions :)
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]