msi

How to have a MSI package to change installed Win32 application compatibility options

Our Win32 applications need to write in their installation directory. So under Windows 7 and Server 2008, this requires administrator rights. Currently we manually check the "run as administrator" option in the properties/compatibility tab of the EXE file. Is there a way to do this automatically during the installation of the MSI? ...

Handling Uninstall for Current User Installation

I have an addin for outlook which is installer per user.The installer copies the dlls and user specific registry entries.I using VS2008 vdproj for generating msi installer. When two user on a machine install this addin and if one of the user uninstall it, all the dlls will be removed from the ProgramFiles/App directory. Is there a wor...

X64 installer using Won64 node registry

I am using InstallShield 2008 premium edition. I created one basicMSI project only to target x64 platforms. I changed summary property to "x64". But this installer is writing registry entries in "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CompanyName\ProductName" . I am using both installshield script and vc++ DLL for custom actions. Why...

MSI File/Registry failures on Windows Server 2008/Windows 7 (x64)

I'm trying to deploy an application on Windows Server 2008 (SP2 x64) and Windows 7 (x64), using VS2005 Installer Project. The MSI version (I think) it the 2.0. Everything works fine, except that some registry keys and some files are not copied on the install machine. The MSI system doesn't notify about nothing (and I don't know whether ...

Can i get msi parameters as it is

My product have 2 MSI's. One is for x86 (x86.msi) and another is x64 (x64.msi). I want to club them in single msi (dummy.msi). Depending on platform, i want to invoke appropriate MSI. I created a custom UI action to do this. Is there a way to get all parameters passed to MSI? i will use same parameters lo lanch x86/x64 MSI. Ex: dummy...

Update MSI table using MSI programming API

Hello *, I need to update an Attributes column in an MSI file. Unfortunately, I am unable to find any documentation (esp. for C++). Here is a code snippet of what I am trying to do: DatabasePtr db = /* opening db succeeds*/ ViewPtr view = db->OpenView(_bstr_t("SELECT Attributes FROM Component")); view->Execute(NULL); RecordPtr record...

Can a ClickOnce deployed app be silently mass installed?

I have a smart client app (WinForms/WPF) currently deployed using ClickOnce. A particular client has expressed the desire to silently deploy the app to it's intranet network users as part of its nightly/weekly client PC update service - presumably via MS Systems Management Server (SMS) and Group Policy or similar (I don't understand the...

GAC an assembly without embedding it within the MSI

I want to GAC an assembly already present on target machines, I know where this assembly is on every machine (you can assume, that path is static for all target machines and wont change and that I am the owner of this assembly) I do not want to include the assembly to be GAC'd in the MSI since it can change with each solution deployment ...

Potential Multiple installations of Python on Windows

I ran into the following problem: I need to supply the installation package to the client. Part of the code is python, so I have to make sure that it is installed. I am using NSIS for the installation ans would like to install python into a predefined by me folder (let it be c:\Program Files\Project\Python26). For that I downloaded the p...

Get MSI feature cost during upgrade

The code used to get the feature cost during fresh install does not work when we are upgrading: (http://msdn.microsoft.com/en-us/library/aa370115(VS.85).aspx) MSIHANDLE hInstall; //product handle, must be closed int iCost; //cost returned by MsiGetFeatureCost MsiOpenPackage("Path to package....",&hInstall); /...

Is MsiOpenProduct the correct way to read properties from an installed product?

Given an MSI product code I want to get the upgrade code (among other properties) from an already installed product. I have tried this by calling the MsiOpenProduct method, followed by MsiGetProductProperty(). An (abbreviated) example looks like this: MSIHANDLE handle = NULL; MsiOpenProduct(strProductCode,&handle); CString strUpgradeCod...

How to make firefox into an MSI

We are looking at deploying simply things like firefox using msi, due to security updates it is important that I am able to keep on top of the latest version rather than rely on third party msi's. I have attempted using plenty of repackaging programs to achieve this but they all seem pretty rubbish. I figured firefox would be a good plac...

Pasting in MSI Installer TextBoxs

We are upgrading our installers to MSI, and have noticed that you can not "right click and paste" into the text boxes. You can however ctrl+v. Is there a setting that you can switch on to enable context menus within the installer? ...

how to run one .msi under parent msi, It throws error "Another installation is in progress..."

hi I have created custom action dll file with embedded resource as SQL Server Compact Edition msi...this dll is assigned as a custom action in setup project ..but when i run setup msi it will throws error saying that another installation is in progress... I tried process.waitforExit(3000) options in code but still couldnt find solution?...

Windows installer throws an error for unmodified MSI CAB

In MSI upgrade, if I don't include the unmodified MSI cab in the installset, windows installer throws this error during upgrade: Error 1334. The file '{FILE}.{GUID}' cannot be installed because the file cannot be found in cabinet file '{CABFILE}.cab'. This could indicate a network error, an error reading from the CD-ROM, or a problem w...

Use Inno Setup just to launch MSI with no GUI of its own

I use Wix to create 2 installers for my application, one for x86 and one for x64. I want to use InnoSetup to create one setup.exe that will conditionally launch the appropriate .msi file. It's failry straightforward to get Inno to launch the appropriate .msi: [Files] Source: "App.x86.msi"; DestDir: "{tmp}"; Check: not Is64BitInstallMo...

DirectX Bootstrapper package

Hello, I want to share DirectX redistributable as a prerequisite package of my application setup msi( made with visual Studio). Anyone developed a bootstrapper package of DirectX? Where can I find it? I need some help about it. Thanks in advance, Paulo ...

msi Installer Uninstall

I have an msi installer (VS2008 set-up project). What I would like to happen, is for the installer to initially detect if the software is already installed on the machine. If it is, then to uninstall that software and then continue the install. There are a number of properties, such as DetectNewerInstalledVerision, RemovePreviousVersi...

MSI merge module from a full MSI package.

Can I reliably create a merge module from a regular MSI package like MySQL to merge it with my own installation? WiX has appropriate tools for that, but what pitfalls should I expect from such translation? What are alternatives for installing other MSI packages from my own package? ...

Get msi product name, version from command line

Is there a way to display the product name and version of a msi file from the command line? Or better yet, can this be done via python? ...