Installshield LE with chained package - c#

Does anyone know if it is possible to create a chained package with LE?
I can create an installation msi with my project (C#) however I need to embed the MSSQL LocalDB installation with my project msi as it is an application requirement & I don't want my users to have to do this separately. Am trying to create a seamless installation for them.
Thanks

InstallShield can bootstrap/chain packages together using a feature called Setup Prerequisites. Unfortunately, InstallShield Limited Edition doesn't have the feature to create .PRQ (prereqs) files.
What I would do is throw InstallShield Professional on a VM and use the Prerequisite Editor to create the .PRQ file and then copy it into your ISLE development environment. Add this to your installer and InstallShield will preinstall the LocalDB engine.
See:
Using InstallShield 12 to Install .NET Framework 3.0

Related

Visual Studio Installer Projects including too many DLLs?

I am attempting to use Visual Studio Installer Projects to make an installer for my app. I am using Visual Studio 2015, and my app is built using WPF and .NET 4.5.
I was following this general tutorial on how to make a Visual Studio Installer Project: https://www.youtube.com/watch?v=z0v6hmumCFU
When I include the "primary output" of each of my projects in the installer, it goes out and identifies the dependencies of these projects and includes them as files that need to be in the installer. I am puzzled, however, because it even seems to be including several standard "system" .NET DLL files, as you can see in this image below:
I tried building it, and then running the installer that it builds, and sure enough it installs all of these "system" DLL files into the install directory.
My understanding is that these DLL files should be on the user's computer already in a standard location once the user has installed .NET 4.5 or later, so my installer shouldn't need to copy over many of these dependencies into the install directory.
So my question is thus:
(1) Why does the Visual Studio Installer Project extension include these dependencies which are obviously part of .NET and should really be located in a standard .NET install location?
(2) Would it be fine to exclude them?
(3) Is there a way to get the VS Installer Project extension to simply not add them?

Run additional EXE from 2012 InstallShield

I have created an installshield project using the Limited edition 2012 of InstallShield.
My application uses the Microsoft Agent 2.0 control in some places. So my question would be :
How do i run the Agent installer from my install wizard? Either before the main app is installed or after...
Also, i have set a prerequisite on the setup project to include .NET 4.5 and the installer to require .NET 4.5...but if i uninstall .NET and run my setup, it simply says i need the .NET Framework, rather than installing it...any ideas?
Add a prerequisite installer for agent. And keep the one for.net, it shouldn't install if it is already present. If you don't need .net then look for a install condition that is requiring it.

How to include both versions of SQL Server CE 4.0 Runtime in Install Shield wizard

I need to include both versions of SQL Server CE 4.0 Runtime in my install shield setup application so the user can use the same version of an installer on both system architectures (x86 and x64).
I found a good solution here: https://stackoverflow.com/a/10224981/382011
But this requires to create two diffrent installers for x86 and x64. In my case I need to combine those two into one setup. How can I modify PRQ files from example to achive it?
You could create a single bundled installer, that installs the correct package based on the machine architecture. To do this is quite easy using Burn from Wix, the following SO thread has an example.
After that you can create a single prerequisite file that installs the bundle.
The installation of the corespondent SQL Server CE prerequisite will be handled automatically by the bundle, so you will separate this logic from the main installer.

Does Visual Studio ClickOnce deployment automatically include the necessary .NET framework?

When using a ClickOnce installer, will it include the necessary .NET framework?
For instance, I want to distribute a WPF application that uses the System.ComponentModel namespace, which wasn't included until .NET 4.5. If I ran the ClickOnce on an older version of Windows that only had up through, say, .NET 3.0, would it still work?
The click once application will depend on the .NET 4.5 framework. You can include this as a redistributable through project settings -> publish -> prerequisites. In fact I think recent VS versions will already prepare a setup package to run through installing this during the pre-reqs section of your installer. You can even alter the location of where the redistributable package comes from.
In summary. It will "work" in that when someone runs your installer it will tell them they don't have the correct pre-reqs, and offer to install .NET 4.5
It will, if you install with the setup.exe installer. I haven't tried it for some time but it always worked like this.
If you link directly to *.application manifest, the .net framework and other dependencies will not be installed automatically.

How to install windows application and SQL server on the client machine?

I want to install my c# windows application on a client place which does not have .NET framework or SQL server. What files do I need to install in order for the application to work with database and how to create a package?
Create a setup project from Visual Studio and specify in the prerequisitesto include .NET framework and SQL Server Express. these packages will then be included in the setup or I think you can also specify to download automatically on setup execution.
You can use ClickOnce deployment for this. With ClickOnce you will give the client an install package that can check for prerequisites and install them if neccesarry. The .NET framework and SqlServer express can be installed this way.
Check the following link for more info: ClickOnce

Categories

Resources