msi

How do I create an installer for a .Net website, Windows Service, and more???

I need to create an installer program that will do install the following: ASP.Net Website Windows Service SQL Express if it isn't installed and the user doesn't have a SQL Server Dundas Charts ASP.Net AJAX v.1.0 ReportViewer control (for 2.0 Framework) Check Framework prerequisites (2.0) Configure IIS and app.config (data connection s...

Installer gives 2732 error :Directory Manager not initialized

Hi all, I has an msi installer which was working fine. I added an extrenal merge module . There were some directory merge errors during compilation. I removed the directories causing the error from the directory table of merge module. I am getting the error MSI error 2732 error :Directory Manager not initialized Please help in solvin...

Using InstallUtil and silently setting a windows service logon username/password

I need to use InstallUtil to install a C# windows service. I need to set the service logon credentials (username and password). All of this needs to be done silently. Is there are way to do something like this: installutil.exe myservice.exe /customarg1=username /customarg2=password ...

How do I test if another installation is already in progress?

Assuming I'm trying to automate the installation of something on windows and I want to try to test whether another installation is in progress before attempting install. I don't have control over the installer and have to do this in the automation framework. Is there a better way to do this, some win32 api?, than just testing if msiexec ...

Windows Installer - upgrade resuming after reboot

I have a Windows Installer MSI package that installs drivers which sometimes require a restart before they can be upgraded; the drivers are installed by a deferred custom action after WriteRegistryValues. When a reboot IS needed there's a rollback and the user is told to reboot and run the install again. In the InstallExecuteSequence ...

Install a chain of embedded msi packages ech using an embedded Ui - display common progress bar

I'm using Windows Installer 4.5 new features and Wix to generate msi packages. What I have done is created a msi chain instalation in order to install a collection of other msi packages as a transaction. Each package is using the new Embedded UI option so the Ui can be WPF. Everything works ok this far. Except one of the goals would be ...

Adding Combo Box to setup using Orca

I am trying to display a combo box in a dialog during setup of a component. Currently, we have a Radio Button Group. I figured that replacing it with the combo box should be as simple as adding proper entries in the "ComboBox" table in the MSI and in the "Control" table, replacing the references to the radio button group with combobox in...

Is there any way to create a patch for an ASP.Net web application installer?

Is it possible to create patch installers for web deployment installers generated in VS2005? I have a situation in which it is undesirable to perform a complete uninstall/reinstall of a web site, but in which periodic bug fixes and minor upgrades are made. I've tried following the instructions in various online posts about using msimsp...

Changing the application pool through a Web Deployment Project

Is there a way to configure a Visual Studio 2005 Web Deployment Project to install an application into a named Application Pool rather than the default app pool for a given web site? ...

Automated MSI installation

What is the best way to automatically install an MSI file or installer .exe? We want to do some automated testing from our build system on the installed copy of the product. Our installer has the usual license acceptance screen, install location, etc. As FryHard pointed out there are two options in particular that seem handy: "/quie...

InstallShield Basic MSI optimizations

My InstallShield 2009 basic MSI project installs pretty slowly. We have a 65MB .msi and a 110MB .cab. The project was upgraded from IS12, using which it took about half as long to install. Did the 2009 upgrade make some default modifications that I can reverse? Are there any general optimizations that can speed up basic MSI projects? ...

Good Alternatives to Visual Studio Setup Projects

Most developers and engineers that have experience writing software and deploying with the packaged Visual Studio Setup Project know about it's many shortcomings. Usually in regards to installation customization, upgrade paths, etc. What are some good alternatives for software deployment? In particular I'm interested in features, .NET in...

How do I list installed MSI from the command line ?

We recently switched our Windows software packages from RPM (cygwin) to MSI (wix). Having a native packaging is a much welcome change and we intend to stick with it. However, MSI feels overly complicated for what it does and doesn't seem to provide some basic abilities. But I'm probably mistaken. Is there a way to list all installed ...

How do I install an MSI synchronously ?

To do an unattended installation of any MSI package, one can simply use the following command: msiexec /qn /i package.msi However, this triggers an asynchronous installation: if you happen to chain 2 dependent installations, you will have to wait somehow for the 1st installation to complete. Is there a way to do this from the command...

Why is enumerating installed MSI packages so slow ?

This is a follow up from this question. I'm using this slightly modified script to enumerate all installed MSI packages: strComputer = "." Set objWMIService = GetObject("winmgmts:" & _ "{impersonationLevel=impersonate}!\\" & _ strComputer & _ "\root\cimv2") Set colSoftware = objWMIService.ExecQuery _ ("SELECT * FROM W...

Why does MSI require the original .msi file to proceed with an uninstall ?

As most of you probably noticed, when uninstalling an MSI package Windows will ask for the original .msi file... Why is that ? I can only see disadvantages to that: not resilient to network changes. not resilient to local disk changes. unexpected by users. typically requires users to leave their desk and start a crusade to get the co...

PowerBuilder Runtime Packager error: Linking Msi for PowerBuilder.NET runtime get an error.

I've just installed PowerBuilder 11.5. I'm trying to use the PowerBuilder Runtime Packager that comes with it to create an MSI with the PowerBuilder runtime DLLs. But when I hit create, about a third of the way through I get the error "Linking Msi for PowerBuilder.NET runtime get an error." (The poor English is verbatim.) This happens ...

VS 2005 Setup Projects: Deploy Many Projects With One MSI

I have 3 projects in my solution that I want to deploy. Is there a nice and quick way of using Visual Studio's setup projects to deploy all three apps using one MSI and letting the user decide which apps he wants to install during the install process? I have setup projects for the 3 individual apps, I also have an overarching setup ...

Installer : Rollback does not happen after I press cancel

Hi, I have a installer developed in Wise. After installation begins, when I press cancel rollback does not happen and installer continues to install. All the Rollback properties are correctly set in installer. Can you please help me in this issue ? ...

Installer Dialog comes up with Scroll bars on 800x480 resolution

I am building an msi using WISE. The Dialogs appear fine when run on a 1280x800 resolution screen. But when I run the same msi on a 800x480 resolution screen, the installer dialog appears really huge and you cannot see the whole dialog on the screen.However, the dialog now comes up with a vertical and horizontal scrollbar allowing you to...