|
I used to use Inno Setup. Free and flexible enough for my needs at the time.
My current app doesn't actually require an installer. I use ClickOnce publishing to get all the files and dependent libraries. These days it's basically copy and paste deployment.
I wrote my own updater though which only downloads new and changed files.
|
|
|
|
|
I use Inno Setup to initially install applications.
For updates I created a dll and class Application Auto-update via Online Files in C#[^]
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
this link is great resource
diligent hands rule....
|
|
|
|
|
You're welcome, it's kind of simple but it works and gives you complete control.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
I use WiX for my work and personal project. But beware there is a learning curve to its XML syntax. If your application just include an executable, few dlls and images, the WiX template can be easily modified to your needs. As someone mentioned above, WiXSharp is a better alternative to raw WiX.
|
|
|
|
|
Just curious, I see you asking questions about digitally signing program and building installer. Are you writing an application for sale like me? In all my current and previous jobs, I do not have access to their certificate to sign their application, so I know nothing about the signing process, only when I tried to do so for my application that I learnt.
|
|
|
|
|
yes, ready to sell my apps!
diligent hands rule....
|
|
|
|
|
I second Wix. Integrates nicely with Visual Studio.
And for smaller projects, I kinda like Nullsofts NSIS installer[^].
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
NullSoft link is great source for me. Thank you
diligent hands rule....
|
|
|
|
|
We've been using InstallShield for around 20 years for the large apps. (now on 2015)
Add-on modules for the large apps (smaller .exes that may or may not have supporting files such as reports, config files, etc) are installed using a hand-rolled installer/package manager that simply gets the install directory from a registry key and determines if this is a new install or an update. If it's a new install, the user is prompted for a password if required. If the password is correct, the package is unzipped (using a 7-zip lib) and the files are moved to the correct locations. Once complete, the installer calls a .bat file to handle the cleanup and quits.
We also have a few apps using Click-Once and this has worked well with the exception that I now need to move those to another server and haven't had time to go through the steps to do so...seems to be a pita.
BTW, all of our exes and installers are signed. Also possibly important, most of the time our apps are hosted on a network share, so permissions aren't a problem. For the occasional single-user local installations, the apps are installed anywhere but Program Files or any other 'protected' folder. I know this is not recommended, but MS have made it impossible to do routine application maintenance for those playing by the 'rules'.
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|
|
your experience is greatly appreciated. I worked on ClickOnce for a while and later on I gave it up
diligent hands rule....
|
|
|
|
|
InstallAware[^].
It's an MSI based installer which supports all of the stuff that MSI based installers tend to do. It's expensive and I can't say I can recommend the attitude of their customer service, but it works well enough and at least it's not InstallShield.
Anna ( @annajayne)
Tech Blog | Visual Lint
"Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
|
|
|
|
|
Wow, hey Anna, long time no hear, good to hear from you ! Still around here then ?
|
|
|
|
|
Rage wrote: Wow, hey Anna, long time no hear, good to hear from you ! Still around here then ?
Yep, I've still not decaffeinated, but these days I get to hang from the ceiling* while thinking about my next mug of the stuff.
* Not joking. I really do[^].
Seriously though...life's just busy. Between exercise, volunteering and work there's surprisingly little time left for other stuff.
Anna ( @annajayne)
Tech Blog | Visual Lint
"Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
|
|
|
|
|
Anna-Jayne Metcalfe wrote: Not joking. I really do
OK, looks like not much changed then
Any you're right, days get shorter by one hour every other year. Or so it seems.
|
|
|
|
|
Nah, I just do it with more control[^] now.
Anna ( @annajayne)
Tech Blog | Visual Lint
"Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
|
|
|
|
|
|
I was using Wise Installation Studio, but that is so old that the cert expired. We bought InstallAware, which I really like. It's very powerful, and our installs need that power. For simple projects, I agree that it would be overkill because of the price.
Bond
Keep all things as simple as possible, but no simpler. -said someone, somewhere
|
|
|
|
|
It's both powerful and expensive, and once you've got it setup it just works.
My main bugbears with it are the inadequacy of the MSIcode code editor and the obscure format its source files are stored in (which makes SCC merges basically impossible).
But otherwise it just works.
Anna ( @annajayne)
Tech Blog | Visual Lint
"Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
|
|
|
|
|
|
I note that code-signing has appeared as a side issue: I tried many different companies (I forgot their names, except the last failed attempt which was GoDaddy). Finally, GlobalSign let me have a functional license (based on a USB token, very simple to operate) without an endless discussion of my identity and with super hotline service too.
|
|
|
|
|
I've been using ClickOnce for small'ish projects for a while. My next step is to get familiar with the WiX toolset. Especially since the commercial "solution" I'm using at work is outdated, stale and overall not all too pleasant to work with.
|
|
|
|
|
|
My group deploys a large number of relatively small desktop application -- ClickOnce works well for that. The auto-update feature reduces update to about 1%, as we rarely encounter a problem.
|
|
|
|
|
WixToolset it's free, stable, Plays nice with soure control and can do anything windowsinstaller can. I have build ~200 Setups with it and can recommend it.
|
|
|
|