Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm having trouble creating an installation program for my Winforms application. I am using the Windows Installer and the publish function. It creates a nice setup program. After I run the setup on a client machine, I want to update the App.config file to point to a different database than was used for the setup. I have this setting in the app.config file. However, I am not able to update the app.config file on the client's machine. Temporarily, I am creating a new build when I want to change the database that the application points to.
Duplicate of...
Setup App.Config As Custom Action in Setup Project
?
The answer looks good...
http://raquila.com/software/configure-app-config-application-settings-during-msi-install/
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 months ago.
Improve this question
I'm working on a project that contains 2 C# solution projects, the first solution includes a design that is supposed to be an EXE Builder and the second solution project is the one I want to be built using the first solution.
I want to build the second project's EXE file using the first solution while editing some values (Resources or strings whatever is better) in the Second solution that will be compiled.
I'm not sure how to do that there are no tutorials for this, the essential thing is that I want to make an EXE Builder while at the same time editing some settings in it without having to rely on other external files.
The concept is quite similar to Remote Access Tools Builder, but what I'm building is an obfuscator & encryptor
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I have a WPF application published via ClickOnce. When deleting it, I also need to delete some files that are no longer needed by the user.
ClickOnce doesn't seem to support adding custom install or uninstall actions.
Please advise some installer that would support custom uninstallation actions.
I would suggest Inno Setup, that supports a lot of scripting and is open source. (https://jrsoftware.org/isinfo.php)
It will allow you to perform an action like:
[UninstallDelete]
Type: filesandordirs; Name: "{localappdata}\<my game folder>"
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm having trouble setting up Visual Studio and my Web Service hosted on the Azure platform. My webservice needs to connect to an AzureDB.
The troubles begin when i try to Code first migrate my data models into my Azure database. I'm not sure how this is done, because when i try to do it in the Package Manager, it keeps doing it on the local database, and not on the Azure database. The guides i've found seems to be outdated, or not working with VS2019 somehow.
The update-package command picks up the connection string from your "startup" project in your solution, which is likely to be your website.
So you could update the connection string in there, and if your permissions are correct, you'll be able to deploy to the remote database.
What I would suggest is look into to doing a proper pipelined solution, where the migration runs as part of a deployment to an environment.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I just want to add the external file in C# desktop application to store the queries. In that I want to add each query as string. And will take out of the file when needed.
1) How to add external file in C# desktop application.
2) How can i access the file from my application?
Thanks in advance.
There are a couple of options:
Add the file to the project and set the "Copy to Output Folder" option. Then make sure you deploy the file with the application.
Make the file an embedded resource. Then it becomes part of the exe and you don't have to deal with a separate file for deployment.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Guys I have made a medical mangment system in c# using windows form application on visual studio and SQL Server.
Now i want to install it on other desktop.
How can i do this ? I want to give him a only .exe file and installing it it should work as it works now own my Laptop.
Bundling SQL express into an existing application is a complex process, not easily described in one post. I would suggest starting with http://msdn.microsoft.com/en-us/library/dd981032(v=sql.100).aspx, then make a new question for any challenges you encounter.