I'm not sure what happened, but my installer is in a weird state--when I install my MSI, it doesn't seem to be running the current version of the code (I'm using Custom Actions). I verified it by placing some MessageBox.Shows and sure enough, they are not popping up.
It's possible I may have had a few unsuccessful installs previously...
I have an msi (authored with WIX) that has a check box bound to a custom property (call it MY_PROPERTY). I would like to run this msi from the command line, specifying 0 (unchecked) or 1 (checked) for this property. My script will determine the appropriate value (based on the environment) and inject that value into the msiexec command ...
I'm trying to create patches using the method from this tutorial. An issue I'm running into is that I can't install a new patch on top of a previous patch.
I can full install Version A,then patch to Version B. After that I can't patch to Version C.
I can full install Version B, then patch to Version C.
Currently we just do full insta...
I want to install an outlook add-in for a user who does not have administrative privileges. I used MsiInfo.exe myAddIn.msi -W 8 to author package without the UAC dialog box. It does not ask for the admin privileges but during the installation it gives error stating that one of my mycustomxyz.dll not found.
When i change the word count ...
Hello All,
I am facing problem in Windows Installer Rollback functionality. I have created an installer class and it launches custom action [installer type] to create database, If user wants to rollback I used InstallerException with custom message, but if i do so than in the install directory some temp files and CreateDatabase.InstallS...
Is it possible to have a conditional installation configuration, slaved wth the Visual Studio configuration environment?
For example, selecting DEBUG or RELEASE configuration, Wix selects different executables in the built installation.
Basically I shall build different installations from the same projects, but they differs by the comp...
I would like to install a .NET 4.0 application on the user's machine that does not meet certain prerequisites.
I need to be able to define the installation order of these prerequisites in my installer, because they depend on each other (.NET 4.0, Windows Installer 4.5, SQL Server 2008 R2 and others).
AFAIK this is doable via the follow...
I have a deployment project which will not let me install over an older version. The msi file says to uninstall the program first from Add/Remove programs. This is not a good user experience. How can I do it so that the installer will simply remove the software first and then install the new version?
...
I am trying to create a Windows Installer package using Wix. I'm getting a lot of conflicting information about what size my custom background should be--the Wix documentation suggests a size of 500 x 314 pixels, but this leads to slight image distortion in the installer.
I believe that I may be indirectly using the SplashBitmap propert...
In my installer (created using WiX) I forcefully re install everything using msiexec REINSTALL=ALL REINSTALLMODE=vamus /qr /i setup.msi command. This was working fine but after adding a new component (an exe file) it stopped working. nw if I try this command it doesn't replaces the file in installation directory.
To solve this I tried a...
My Visual Studio 2005 setup project (vdproj) is satisfying it's Project Output dependency using files in the obj directory. I expected it to pull from the bin directory. This is a problem because I have a post build step that modifies the project output (it ILMerges all dlls into a single exe, if it matters) and updates the bin copy on...
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...
I have a windows app (app.exe) build with visual studio 2008, for which I have created a custom installer class. When I run installutil.exe on app.exe, the custom installer is executed OK.
I then added a setup & deployment project to create the windows installer file app.msi - this works fine but it does not run the custom installer.
...
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 ...
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...
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?
...
I want to copy a file that's in the same directory as the installer file to the application directory. I can't include the file in the installer.
the scenario:
I create an installer for my client.
the client will distribute the installer to an unknown number of third parties,
these third parties will need to change an aspect of the c...
I have a Visual Studio Installation Project and I want the Installer to create a specific folder only if a check box on a 'Checkboxes (A)' form that I've added to the project UI is checked. The name of the property for the checkbox is CHECKBOXA1 but I have no idea what to put in the Condition property of the folder so that it only gets c...
Following on from Debugging C# Custom Installer Classes, I am attempting to remotely debug a setup process running on another PC. After connecting to the remote msiexec process, the debugger reports that the PDB does not match image.
I have verified that remote debugging works by successfully connecting to and debugging a "normal" proce...
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?
...