Does anyone know if AppFabric can be installed through WIX (windows installer xml)
We have an enterprise application we deploy to clients through installer using WIX (windows installer xml) and this application use AppFabric 1.1 and we need to make our installer to be able to also install the AppFabric on the client server..
I have ve spent 2 days getting familiar with all the stuff about AppFabric but I can find solid information whether it is possible or not..
Does anyone knows if it is feasible ?
Thank you so much and blessings.
HernĂ¡n
If AppFabric is normal installer, you can download it from internet using Custom Action (normal way - for example using WebClient) and then start installation
var process = Process.Start(filePath);
process.WaitForExit();
You just have to remember to start it in InstallUISequence! Sample:
<Custom Action="ConfigurEwsFilter" After="ExecuteAction" >
<![CDATA[NOT Installed]]>
</Custom>
I heard that bootstrapper can download (or add to installer) and fire file too, but i have never test it :) That's why Check this tutorial!
Related
We have windows application in which we distribute whole MSI package to the client in zip form. We are now up for licensing feature and we want to allow users to work in thin setup just like if you download Visual Studio to install, it will download the files from the server and install it rather than we download whole 20GB VS setup from the server.
We want to use the web-based installer in which we can manage the licensing features too.
Can anyone help or redirect to useful links? It will be a pleasure.
I read many tutorials about how to install Joomla on Windows Server IIS (No WAMP, XAMPP), but i got confused. Can you please give me instructions how to do it properly, and what tools will i need?
The best way that I found to get everything installed without a lengthy tutorial is to use Microsoft's WebMatrix. It installs all of the prerequisites for you and if you need anything extra components for your projects (s) you can utilize the MS Web Platform afterwards.
Microsoft WebMatrix for Joomla
All you need is a vanilla Windows load and the installer will manage the rest.
I have a web application implemented in ASP.NET MVC3 and SQL Server 2008 Express. It's relatively small so I can deploy it in local computer of my clients (Windows 7 or higher).
Currently, I deploy it manually by create new web site in IIS, copy published files to the folder of website, install SQL Server 2008R2 and use Management Studio to restore database with some initial data.
It's OK with me but not with my clients. They can't do the same things. What I want is an automatic installer, my clients just need to click a few buttons to get all done.
Specifically, this automatic installer must do the following things:
Install SQL Server 2008R2 Express and restore the initial database.
Install IIS7 (if it's not enabled in Windows 7).
Create a new app pool (V4) and a new Web Site use this pool. Then copy published files to the folder of the Web Site.
The installler can run aspnet_regiis command and grant permission for NETWORK SERVICE account to TEMP folder. This is required for web site to run.
The installer can copy some fonts to Font folder of Windows.
I see many app can do this automatic installer, but after googling I can't find a thorough solution to try.
Please give me some advice on this. Thanks in advance!
If you want a free solution, WiX is what you need, but it will take you some time to learn using it if you never created a package with it.
A more easy to use, and also powerful, but payed tool, is Advanced Installer, you need Professional edition, but you can try it for free with the 30 days trial mode. It has predefined prerequisite for SQL Server Express, built-in support to install IIS entities, and set file/folder permissions. Bassically all the requirements you need.
To enable any IIS feature you can simply add a PowerShell script.
When trying to install a web setup project (MSI) created in Visual Studio 2010 on Windows Vista, Windows 7 or Windows 2008 Server the setup will fail, with some generic error.
According to http://devio.wordpress.com/2011/04/26/pitfalls-installing-web-setup-msi-on-iis-7/ this is because of a compatibility problem between the setup project en IIS7.
To resolve this I've to enable/install IIS6 metabase compatibility in my windows configuration. This workaround did fix the problem, but raises 2 questions:
Does this have any (negative) impact on functionality of IIS 7?
How can I notify a user running the installation of this problem so he or she can take proper action and install the metabase compatibility component? Is it possible to pop-up the windows component configuration dialog from this install, to make life easier for the user?
I don't think this will have any impact on the application itself, as long as it's implemented the way to talk to IIS7 via its native API. Otherwise, if it doesn't support IIS7 you'd have to enable IIS6 compatibility anyway.
The standard approach to search for anything on a target machine is searching registry and file system. I don't know how it is possible in VS setup project, but e.g. WiX has special elements for this (RegistrySearch, DirectorySearch, FileSearch). Basically, this post to WiX Tips and Tricks thread shows how to check for IIS6 compatibility in WiX and block the installation if it's not enables/installed. It's rather straight-forward even if you don't know WiX, but know the concepts of Windows Installer, and it can help you translate the code into the similar thing in VS setup project.
We seem to be having one negative impact on our servers.
Everytime we roll out a .NET 4.0 application with a msi made in Visual Studio, We get a recycle of ALL our application pools, even the ones not affected by the install.
Apparently the root cause of this is the IIS 6 compatibility. ( This was reported to us by a developer of microsoft in response to our support question about this.
At the moment we have no solution. It's impossible to convert all our installers to Wix.
I have a Wix installer which should be allowed to run on Windows Server 2008 but not on Vista. According to Microsoft's Operating System Properties page, this is not possible using the parameters they provide for this purpose (VersionNT and WindowsBuild).
Has anyone solved this problem or know how to solve it?
Thanks!
Try
<Condition Message="This application is only supported on Windows Server 2008, or higher.">
<![CDATA[Installed OR (VersionNT >= 600 AND MsiNTProductType > 1)]]>
</Condition>
Note that such a check can be easily bypassed by someone simply editing the MSI with Orca, so unless there are technical limitations (e.g. even if they get it installed, certain services will only be present on the Server OS) I wouldn't advise it.