msi

How to detect .Net 2.0 SP1 in my installer?

How can I detect if .Net 2.0 SP1 is installed from my installer msi, and abort the install if it is not present? I know how to do this in code, but it seems cleaner do it in the vdproj. It feels more declarative. ...

How to create a demo version of my software in visual studio using an MSI?

How to create a 30 days evaluation software. Is there any possibility to do this with MSI creation. It would be great if MSI installer package provides such in built facility, by which, application expires after fixed trial period. If we going for custom action to do this by writing code, how can i do this. How to Write installation ...

Apply a transform to the binary table to alter a custom action

We recently had an MSI go out the door with a bad bug in a custom action. I was able to create a transform for the MSI binary table and this did work but I think I was lucky. I altered the custom action (Installscript), compiled the script and then exported the binary table. I imported the binary table into a copy of the base MSI and the...

Log files for group policy application deployment

I'm looking into using group policy to deploy a couple of applications. I want to have the log of each installation written to a shared folder on a file server for tracking purposes. I can create the log if I pass the appropriate parameters. For example: msiexec /i Package.msi /l*vx c:\Package.log However using group policy for the dep...

WCF selfhosted service, installer class and netsh

I have a selfhosted WCF service application which I want to deploy by a msi installer package. The endpoint uses http port 8888. In order to startup the project under windows 2008 after installation I have to either run the program as administrator or have to edit the http settings with netsh: "netsh http add urlacl url=http://+:8888/ ...

MSI Parameter Inspection

With a windows MSI file, is there a way to grab all the possible installation parameters in .NET code? I need to make a generic user interface to configure multiple MSI files not known until run-time – then install them together in one go. ...

How to force ie to load custom Activex dll

I have a requirement of making an svg viewer as activex.My questions are: How do I force ie to use my activex dll to load svg files instead of using Adobe dll?Whenever I drop a svg file on ie browser, it should open it using my custom activex dll and within my control I should get the path of svg file which is being dropped? How to dep...

WiX: .Net 3.5 prerequisite

I have a WiX installer that I would like to check for .Net 3.5, and install it if it does not exist. I have the following lines in my wixproj file: <BootstrapperFile Include="Microsoft.Net.Framework.3.5"> <ProductName>.NET Framework 3.5</ProductName> </BootstrapperFile> <BootstrapperFile Include="Microsoft.Windows.Installer.3.1"> ...

What happens after a packet is captured?

Hi all, I've been reading about what happens after packets are captured by NICs, and the more I read, the more I'm confused. Firstly, I've read that traditionally, after a packet is captured by the NIC, it gets copied to a block of memory in the kernel space, then to the user space for whatever application that then works on the packet...

DTF CustomAction to WiX

Hi All, I'm using a DTF immediate custom action. The Custom Action takes minimum of 5 minutes to perform its operation. Until that in the progress dialog, only the progress text is visible. The progress bar doesn't move at all. I set the ProgressText in the WiX file. How can i make the progress bar to move, so that it will be much user ...

Deployment projects not supported by msbuild: what are my options ?

I'm using TeamCity to automatically build my solution with msbuild and it seems that .vdproj are not supported. What are my options to build an msi/installer ? Install Visual Studio on the build server Use another installer (WiX, nullsoft, innosetup ?) ?! I already have TeamCity running and building a .zip and I'm looking for the fa...

Error 2908 when installing assemblies into GAC

Hi, I'm receiving 2908 (0x80131047: The given assembly name or code-base is invalid) error when running my MSI package. The problem occures when the MSI tries to deploy a component with .NET assembly into a GAC. NOTE: only assemblies with dependencies fail. The MSI is created with IS 2010. I am able to deploy the assembly manually wi...

Adding a custom installer window .msi .net wut

I don't know a great deal about the .msi thing with .NET but can I add a custom window to the process that saves the results of the WPF window or winform to the install folder as a .xml file etc.? ...

Visual Studio Setup Project Installer Prerequisite for SQL Server CE

I have a Setup Project in my solution in Visual Studio 2008 SP1. The application installs fine but it is not loading my prerequisite of SQL Server CE. I have the following configurations set: Do I need to do anything else, like with a Custom Action or anything like that? Thanks. ...

Managing Dependency Hell with WiX and C#

We are on the eve of product launch, and at the last minute I am being bombarded with crash reports that appear to be related to our installer, which is a WiX3 project with separate outputs for x86 and x64 builds. These have been an ongoing problem that I always thought were fixed, only to find out that they were still lurking. The prod...

Reinstalling assemblies for new user after reboot, why?

Hi - I have Installshield InstallScript MSI aka "Full" setup and Installshield Basic MSI aka "Patch" setup. Full setup copies some files to GAC, some to folder, etc. Patch setup replaces some files in GAC and some in installation folder. How ingenious, isn't it? :) Also, patch setup is designed that none of its actions are visible af...

WiX installer - Update scenario Custom UI

For my application I have an .msi developed with WiX. For the update scenario I want to do the following: if the installed version is never than the update version display an error if the installed version is older than the update version show a button with text Update if the installed version is the same as the update version show a b...

Setting a registry value based on dialog in a visual studio setup project

I have visual studio setup project with a custom RadioButtons dialog. How do I get it to write the value of the ButtonProperty in the registry after it is selected in the UI? ...

Bootstrapper (setup.exe) says ".NET 3.5 not found" but launching .msi directly installs application without problem

Our installer generates a bootstrapper (setup.exe) and a MSI file - a pretty common scenario. One of the production machines reports a strange problem during install: If the user launches the bootstrapper (setup.exe), it reports that .NET 3.5 is not installed. This happens with account under administator group. No matter if they launc...

MSI Installer start auto-repair when service starts

I have a WiX based MSI that installs a service and some shortcuts (and lots of other files that don't). The shortcut is created as described in the WiX docs with a registry key under HKCU as the key file. This is an all users install, but to get past ICE38, this registry key has to be under the current user. When the service starts...