Trying to solve this problem.
I would like to learn how the bootstrapper detects if prerequisites (specifically .NET 3.5) are installed.
According to this reference, a way to detect if .NET is installed is to check the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5
Using process monitor, I ...
I have to create file association for an extension with two programmes and if both programmes A and B are present then choose program A to open the file. If only B is present then choose program B to open the file. If you can give the wix code or else you can provide me with registry details.
...
Hello Gentlemen!
I have an exercise for you ! :)
I need to get an [INSTALLDIR] MSI property in my Installer class implemented in C#. Using InstallShield 2010, I created a component with a .NET assembly defined as key file of the component. Specified that the component is a .NET Installer Class, implemented required interface and made s...
I would like to create a share for a whole drive in my WiX installer project. The default approach for share creation works just fine for folders, but not for drives! The following code snippet illustrates the problem:
<!-- Works! -->
<Property Id="MySharePath"><![CDATA[X:\ROOT]]></Property>
<!-- Works NOT!
<Property Id="MySharePath"><!...
I've got a Wix project made up of several fragments. One of those fragments has the database components, another has a component that manipulates xml files.
When I include the XmlFile element to manipulate a file, the databases defined by the SqlDatabase do not get created. If I comment out the XmlFile, then the databases do get creat...
We are working on an update system for our software. The updater should in the background as a service, and when an update is available, downloads and installs it. We need the service to install the update since the msi requires elevation to run, but some of our clients will be restricted users.
The MSI is a WIX MSI and does a Major U...
Hi,
We are using WiX to create a setup. The installation works fine, but during uninstallation an error says that the [FileName].msi is missing in C:\Windows\Installer and the setup starts rolling back. It is not reproduced in all the machines. It happens only in few machines. Could someone please give a solution to this ? What may be t...
I used to build installs for an app with NSIS and the final self extractor was 1.2 MB. Now I need to use WIX due to operational needs and the same install comes out at 4.2 MB. I set the compressed flags as the docs and specs indicated on the package node. Using 7z to zip the MSI results in a 2.4 MB zip file.
Question: How can I do a max...
I'm attempting to dynamically load some (purchased) assemblies from resource streams in a C# program during an MSI installation routine, but I'm getting "Unverifiable code failed policy check".
I read some tips online about compiling the embedded assembly with /clr:safe, but I don't have that option. Is there a way to work around this ...
I have a project, in VS 2005, which has a console application and a setup project associated to install the application. I also have an installer class in the console application that the setup project will use to do some validation before installation. Those tasks are checking the database connection string and checking some directory...
We're using Visual Studio 2008's Setup Project to create an installer for our .NET 3.5 app.
We host the .exe and .msi files on a website for our client to access, and produce new ones regularly to provide updates.
This has all been fine until recently we've noticed some cases where installing via the .exe fails. The symptoms are:
The .e...
I have been using an MSI to install a WPF application using the .NET Framework 3.5 SP1. I have set up .NET 3.5 as a prerequisite in the MSI, and what has been happening for ages is that when the user does not have .NET 3.5 SP1, the MSI first has them download and install that before resuming the installation of my application.
Since ye...
Why should one go for Windows Installer XML (WiX) when we have in built .net MSI installer?
Thanks in advance
...
I have an msi file that I am trying to install in a place other than C:\Program Files.
The directory table shows that ProgramFilesFolder is used as the default install directory. From reading this blog post I understand that ProgramFilesFolder is a standard directory so passing TARGETDIR as a property to the installer will not change th...
Currently We are installing prequisties softwares using the bootstrapper. So i want to install the prerequisties without using the Bootstrapper ?. Whether it is possible ?
...
If you are running Windows with a higher DPI setting you will notice that most application icons on the desktop look terrible. Even high profile application icons such as Google Chrome look terrible while for example Firefox, Skype and MS Office icons look sharp:
(example)
I suspect that most icons look blurry because a lower resolu...
I have installed some software that appears in the add/remove programs list. However it disapears next time I check (using the same login account).
I have checked the registry and it all looks correct.
Is there saome sort of group policy that could remove this? The software is installed on a virtual Windows 2003 server.
...
I have noticed some strange behaviour with our application's installer which I am struggling to understand. I have managed to reproduce the behaviour with a simple test installer so I will use this to explain what is going on.
The installer is per-machine and installs a single file into a directory underneath "Program Files". The direct...
This seems so trivial, yet I can't get it to work..
I have an msi.dll wrapper (named Interop.WindowsInstaller.dll) which I need to sign. The way to do it is by signing it upon import (this specific case is even documented in MSDN: http://msdn.microsoft.com/en-us/library/zec56a0w.aspx).
BUT - no matter how I do it (w/ or w/o a keyfile, ...
I am looking at creating an MSI that will check/install the prerequisites of SQL Server 2008 and after the prerequisites are installed I will start my slipstream 2008 install.
I am currently trying to do this through VS 2008 Deployment Projects, but I cannot just simple add the folders of the SQL slipstream into the setup project withou...