msi

Unattended (Command Line) Installation enforcing EULA Acceptance

I have a setup project that I'm working with and have added a EULA to the User Interface. I need to support both unattended (command line) installation as well as GUI install via running setup. The EULA is enforced in the GUI install but not in the unattended one. Currently I'm running the command line installation in the following form...

How to find program location in registry, if I know MSI GUID?

I have installed some MSI with GUID (0733556C-37E8-4123-A801-D3E6C5151617). The program registered in the registry: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall \ () Value UninstallString = MsiExec.exe / I (0733556C-37E8-4123-A801-D3E6C5151617) My question is: how utility MsiExec.exe knows the name ...

C# - integration of limited web/js/jQuery local browser with "connected to Internet check"

I need some suggestions on libraries and such to use for a simple website-to-desktop wrapper project in Visual Studio 2010. The website has been "compiled to HTML", so that the only serverside functionality needed is an AJAX call to send data on user prompt (if there is no valid sever response after X seconds, a javascript timer indica...

Skinning MSI pckages.

I have a game application developed using C#. Is there any way to skin my MSI (installer) package ? ...

web.config changes in installer and based on targeted environment

Need some assistance with my Visual Studio projects and in particular with release process. To release my web application, I use a web deployment project to deploy my web application. I have split my connection strings and app settings into a seperate config files, with a config file for each environment I might be creating the msi for ...

.msi Installer interrupted

Im trying to run a ".msi" insall file. The installtion fails and I get an "Installer interrupted" error. I ran the installation with logging and I got the following dump, any ieas? Dump: === Verbose logging started: 16/08/2010 9:52:35 Build type: SHIP UNICODE 5.00.7600.00 Calling process: C:\Windows\system32\msiexec.exe === MSI (c) ...

how to set launch condition order in visual studio 2008?

I have an WPF and SQL-Server Express based app which I want to deploy using VS-2008 setup and deployment project template. I have added Launch condition for Windows Installer 3.1, Sql Express 2005 and .Net FrameWork 3.5 with SP1 but they are not running in order. I mean: Windows Installer checking .Net Framework 3.5 sp1 checking SQL-Se...

Check running installation in C#

Hello to all! Is there a way to determine if there is an active installation running in C#? For example, some times if you launch 2 MSIs (or setup.exes) at once one of them will say that there is already installation going on in progress. Is there a way to do that in C#? Say, a self-resetting registry key (that system resets) or a mutex?...

Wix / MSI : Unable to uninstall

I've developed a Wix installer for an internal project however entirely by accident I've found that I'm unable to uninstall the installer on my development machine as I get the following error message: The feature you are trying to use is on a network resource that is unavailable with a dialog pointing to the path of the .msi that ...

Download text or xml file with msi

Hi I have a scenario where users can log into their account on the web and download an msi file which will self install an application after downloading. I however also want to download a text or xml file with the msi which will contain some account information which the install application will need after it installs. But user should ho...

Are there any books on WiX?

Are there any books on WiX? ...

Uninstall non-setup created files

Hey everyone. I have a Setup project (MSI) in VS2008 which installs my project. Within the project, I create a settings file, for the application, in the SpecialFolder.CommonApplicationData + \\"settings" folder (the two slashes are in the C# code for escaping). However, the uninstaller doesn't get rid of this for me when it removes th...

Different msi -s with same product code

Hello Is it possible following - 2 different MSI -s have same product code and installed on same machine ? Thanks ...

Finding out windows installer information

How can i using c# find out information on the windows installer(msi) program was installed on ? to try to explain this better, i want to be able to look at a program say WINWORD.EXE and find information on the windows installer it was installed with. i know windows keep a log of this in the registery Thank you ...

Which are the best sources for learning the Windows Installer technology?

Hi, I would like to know if you could share some (trusted) sources of information (books, URLs) that you consider the most relevant for learning Windows Installer. They could be for starting on this technology or for an advanced or professional level of knowledge. I'll be really grateful. UPDATE: I would like to know where a future dep...

Build with .Net Framework 3.5 SP1, can be run in 4.0?

I have an application built in C# with the .Net Framework 3.5 SP1 (also using wix). The obvious requisite in the running machine is .Net 3.5 SP1, but what if the machine already has .Net 4.0? Right now I'm having a crash in that machine and only installing the .Net 3.5 SP1 fixes the problem. Is there a way to avoid the customers that...

How to Pass Command Line Arguments to MSI Installer

Now my team working in a project using Windows Application(C#). We use MSI Installer for creating installation. I didn't know how to pass command line parameters from MSI file & Setup.exe file. for example setup.msi username=demo password=pass setup.exe username=demo password=pass Please suggest a good example/reference ...

Weired behavior of MSI installation

I have created a msi installer using Wise Installation Express 7.0 Recently one client has reported and issue after our new update on Win 7 32 bit: He launch our update msi, which in turn ask him to remove the previous installation and it removes successfully. This should not happen as I have changed the product code of MSI and its a n...

Uninstall application which prompts using VB Script

Hi I have an application which was deployed some time ago using an .msi and a .mst When I now try to uninstall the app using msiexec /x name_of_msi TRANSFORMS=name_of_mst /qb! I get a prompt asking if I would like to remove the ini files which were installed. Is there any way to uninstall the application and answer "Yes" to the prompt...

What area of custom action to trigger an uninstall via InstallScript

I have a installation that I'm not sure why prompts for Disk 1. Knowing that the customer might not have Disk 1 I have to ship along the previous MSI and trigger it using install script using LaunchAppAndWait("MsiExec.exe", sCmdLine + sValue, WAIT); Where sCmdLine is /x and sValue is the path to my previous MSI. I can trigger the u...