|
You mean for Windows? The last time I dealt with the installers, the tool of the choice was WiX[^]
|
|
|
|
|
Wix is soooo hard!
Try Wix#[^], it's like Wix, but C# easy!
|
|
|
|
|
I second that!
If you don't need msi, NSIS + HM NIS Edit is not too painful.
The old InstallShield that came with VS2005 wasn't bad.
Personally, unless I have reason not too, I forgo the installer and make my applications portable. You can even make an "installer" using the PortableApps platform if you want that experience.
|
|
|
|
|
Glad you asked, I literally just experimented with Wix#[^], it's awesome!
|
|
|
|
|
I'm gonna have to look into that...
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Go on, have a look!
It's impressively easy!
My only hiccups was to specify file location.
In the end my 1st installer looks like that: (not the #if DEBUG/RELEASE and relative path)
class Script
{
static public void Main(string[] args)
{
#if RELEASE
var APPGuid = new Guid("------------");
var TargetFolder = @"%ProgramFiles%\RPGStoryboards\Studio";
var src_dir = @"..\RPGStoryboards\bin\Release";
var dst_dir = @".\bin\Release";
var setupName = "RPGStoryboards-Setup";
#elif DEBUG
var APPGuid = new Guid("------------");
var TargetFolder = @"H:\DebugStoryboards\Studio";
var src_dir = @"..\RPGStoryboards\bin\Debug";
var dst_dir = @".\bin\Debug";
var setupName = "RPGStoryboards-DebugSetup";
#endif
var project = new Project
{
OutDir = dst_dir,
OutFileName = setupName,
Name = "RPG Storyboards",
GUID = APPGuid,
UI = WUI.WixUI_InstallDir,
Dirs = new []
{
new Dir(TargetFolder)
{
DirFileCollections = new []
{
new DirFiles(src_dir + @"\*.dll"),
new DirFiles(src_dir + @"\RPGStoryboards.exe"),
new DirFiles(src_dir + @"\RPGStoryboards.exe.config"),
#if DEBUG
new DirFiles(src_dir + @"\*.pdb"),
#endif
},
},
}
};
Compiler.BuildMsi(project);
}
}
modified 26-Jan-15 16:18pm.
|
|
|
|
|
Zip archives.
Geek code v 3.12
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- r++>+++ y+++*
Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Visual Studio Installer for the last one we delivered to an external customer (internal stuff for my project is all xcopy); but a requirement we didn't know about until the absolute last minute is probably going to force us to go to the paid version of install shield for the next update. VSI won't let you do a "Mode X or Y?" dialog and copy an alternate app.config file depending on the answer; and the customers approved list for tools allowed to build their stuff means that Install Shield is our only other choice.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
|
Maybe; but why the Elephant is MS crapping all over separation of concerns by requiring part of the VSI installer setup to be put in the application project instead of in the VSI one. If I used installshield or anything sane instead, I'd be using their automation; not the VSI version that would be blighting my app project...
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
We use InstallSh*tShield.
It works OK for for use, but I really do not like it.
One one side it works nicely for simple small projects, but once you want something "more", all hell break loose.
I'd rather be phishing!
|
|
|
|
|
We are using the standard MSI installer / setup project with Visual Studio 2010. I recently found out that there is an extension for VS2013 to bring back that standard msi installer.
We had some custom requirements that required tweaking of the msi:
- disabling self-repairing shortcuts (because we use our own auto-updater)
- extracting the msi, modifying the app.config files with the client's network info and re-compiling the msi (using msi2xml and xml2msi) so they can just download from their server and install
There is also NSIS that can be used as an installer.
|
|
|
|
|
|
Did not see a post so I though I would start one.
Bob is quite festive today.
|
|
|
|
|
It's already tomorrow to half of them, and probably the other half lying in some pub...
By the way, what is it in the right-hand of Bob?
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: By the way, what is it in the right-hand of Bob?
I'm going to guess at Vegemite.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
After looking it up I would be better with two glasses of beer...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I think it is a can of beer, however, Vegemite would have been my first guess.
|
|
|
|
|
Corporal Agarn wrote: Bob is quite festive drinky today.
FTFY, btw happy Aussie day
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
I installed the Zorin OS 3 or 4 years ago because that is what people said was closest to Windows. However, my biggest complaint is there are no executables.
For example, to update Java you have to download the file and then get into command lines to actually do the update. I also installed Android Developer Studio over the weekend and never finished because of all the command line this that and the other.
I remember a time when people were convinced Linux would take over Windows; however, until they can get this simple concept to work in Linux I don't see it ever happening.
I don't want to go back to the DOS days.
Is there a flavor of Linux that has executables so that updating software is easy?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Actually there are distributions that do the update/install just like Windows...Nice UI and all...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Such as?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Fedora, Ubuntu...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: Fedora, Ubuntu Maybe I'll try Ubuntu. Zorin is supposedly the "same" as Ubuntu.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I do not know of Zorin, but Fedora and Ubuntu have the auto-update feature...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|