As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I let the Crypto Obfuscator run over my program and i got an .exe file with all DLLs and everything in it. Thats really great but i need to create an installer out of it.
It should cost no time and have a graphical UI!
Whats the best (free) way to do this?
Are there any programs?
There are a few solutions:
Inno Setup and NSIS are popular free and open source scripted installer creators.
If you prefer having a graphical interface, the free InstallSimple and Clickteam's Install Creator are common choices.
For more alternatives, Wikipedia has a page entitled "List of installation software" providing a decent overview of what's available.
(Sorry about the lack of hyperlinks - the site's spam prevention system won't allow me to post more.)
Its in Visual Studio :)
http://msdn.microsoft.com/en-us/library/2kt85ked.aspx
You can use Nullsoft Scriptable Install System
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Can you recomend any PDF API for C#. Free is the best, but I don't mind paying for it.
I used PdfSharp. It's free, open source and quite convenient to use, but I can't say whether it is the best or not, because I haven't really used anything else.
Update:
I'm not sure when or if the license changed for the iText# library, but it is licensed under AGPL which means it must be licensed if included with a closed-source product. The question does not (currently) require free or open-source libraries. One should always investigate the license type of any library used in a project.
I have used iText# with success in .NET C# 3.5; it is a port of the open source Java library for PDF generation and it's free.
There is a NuGet package available for iTextSharp version 5 and the official developer documentation, as well as C# examples, can be found at itextpdf.com
My work uses Winnovative's PDF generator (We've used it mainly to convert HTML to PDF, but you can generate it other ways as well)
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
My developer did not save the stable version of C# application( lets say v12) that we are developing. Now after bunch of enhancements we are at V20, but the application has become crap at v20. So I asked the developer to revert back to v12, but the developer says he cant as he did not save that version. Fortunately he made a .dll file of v12 to test. So I asked him to de-compile v12 dll and revert the code by looking at decompiled code as reference.Despite couple of attempts he was not able to restore and recreate stable v12.
Can someone please advise if there is a way in C# to revert to previous version ?
My application is total mess and the developer just cant fix it . I am really frustrated and concerned that months of development work could go to waste
I am not sure if he is taking me for a ride or genuinely there is no way to revert to previous version.
ps: I do not have any coding background.
Thank you in advance.
This has nothing to do with C#. Good development practice is to use a version control system like SVN, Git, Mercurial etc. Reverting any previous versions is not a problem when using a VCS.
If your "developer" did not do this but just keeps a single set of files for developing, there is no way of reverting. Decompilation of the .dll and start development from there is a poor choice.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Alright, I've been spoiled enough already by IDEs, and I want to learn how to use the prompt to compile code.
Where can I find good learning material, me being completely oblivious to the matter? To be more specific, I'd like to know how to use C#'s csc.exe fully, though I hope that the knowledge will be appliable to other compilers as well.
Most compilers (as well other command line tools) provide help by using "/?" option - read it and in most cases it is enough to get simple code compiled.
For more real cases use project files
*.csproj for C#/ *.vbproj for VB.Net , use MSBuild to build. You already have them if you ever created project in VS.
makefiles for many other compilers
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to have a file synchronizing feature in my .NET application. Can I make use of rsync? Is there any API available?
There is a C# implementation of RSync on github with some recent commits:
http://github.com/MatthewSteeples/rsync.net
DeltaCopy is just a wrapper around the rsync executable. However, librsync itself can be built on Windows as well as UNIX and GNU/Linux (see their README and this EE thread). Thus, that's another option to consider. You would still need some kind of unmanaged-managed interop.
You can use the source code that comes with DeltaCopy, which is a "'Windows Friendly' wrapper" to the original RSync.
The source is written in c++, so it's not exactly .Net, but you can write managed C++ wrappers and use them.
It's not a direct solution, I know, but it may be somewhat helpful. (in other words, HTH)
If you are looking for some simple automation you could just write a tiny wrapper that invokes RSync via System.Diagnostic.Process
I did read somewhere that someone circa 2006 created an rsync port in C#, but to be honest with you I would not consider using it cause its far from popular and impossible to find.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Due to deployment issues (http://stackoverflow.com/questions/11194459/is-windows-afraid-of-its-own-shadow-and-how-can-i-determine-which-ancillary-fil), I'm considering trying a Click Once deployment of my C# app. This is for deploying to a drive/folder on the network to which all users here where I work have access. Are there any caveats or gotchas regarding this?
The clickonce community resource kit on this page includes a pdf with a lot of good information about clickonce deployment. It's become quite difficult to find lately as it's getting long in the tooth, but I think it still has some good stuff.
I maintained a click once application for a couple of years and as far as I know you can't change the install location (it goes into the user's AppData folder). But if the only reason you were wanting to deploy it to a network share was because of access this shouldn't be a problem. Couple of gotchas we ran into:
Don't forget to disable the "require signed security cert" option. Totally forgot about this then couldn't figure out why a year later all our machines stopped updating!
Check the ApplicationDeployment.CurrentDeployment.DataDirectory for items set to "Copy To Output Directory"