orca

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...

Simplest solution to replace a tiny file inside an MSI?

Many of our customers have access to InstallShield, WISE or AdminStudio. These aren't a problem. I'm hoping there is some way I can provide our smaller customers without access to commercial repackaging tools a freely available set of tools and steps to do the file replacement themselves. Only need to replace a single configuration file...

PowerBuilder (PBOrca) automated builds

Hello, I have a working automated build process for our PowerBuilder app running every night. The resource I used to set this up was http://dm.char.com.ua/pb/pborca.htm. It's not clear to me whether PBOrca is an officially supported tool or who is in charge of it (is it the gentleman who runs the linked site?). I downloaded it from t...

How to extract data (file count) from MSI "File" Table

In our build process there is currently the potential for non-code based files (such as image files) to be added to our web project, but not included in the MSI installer built by WiX. To help prevent this, I want to perform the following in the AfterBuild target for our WiX project: Get a count of all files built (output from web de...

Use Orca to edit msi from command line?

I'm using Visual Studio 2008 and have created a setup project for my application. The application has a high-resolution icon (for Vista). There's a bug in Visual Studio, and the installer creates a desktop shortcut with a low resolution icon. I logged this bug in Microsoft Connect (https://connect.microsoft.com/VisualStudio/feedback/Vie...

Special characters and MSI

Hi I have to have password input into an msi I created using Visual studio 2008. But I notice that if a password have ‘ “ ‘ character in it. I Get a FileNotFoundException. Is there a setting in Orca that can correct this? Have tried other special character and they work fine. ...

VS Setup Project; How to restore a registry value on uninstall?

I have a setup project in Visual Studio. As part of the regular installation, it creates/updates some keys and values in the Windows Registry. How can I make the updates reversible? you may say "they are reversible", but I don't think so. Here's how I think it works: USe the VS designer to specify which Registry Keys and Values you...

Is there a need to update a custom action's binary after each build?

I have created a c++ custom action for a setup-project application in VS Team System 2008. Using ORCA I implemented it and inserted the binary image of the custom action. This works okay. Does the binary object remain intact after each subsequent build? i.e. I assume I do not need to update the binary data unless I make a change to t...

msi table information

At http://support.microsoft.com/kb/255905 usoft says there is a file msi.chm distributed as part of the sdk. I have sdk v7 and can't find hide nor hair of this file. What I'm really after are the table names and row names for all the item that can appear under Support Information in the Add/Remove Programs under the control panel. Thi...

Modifying Patch Creation Properties (.pcp) file programmatically?

Is there a way to script the complete process of a hotfix build using msiexec.exe and msimsp.exe with a Patch Creation Properties file? I use msiexec.exe to create network installations of the before and after msi files, Orca to create a .pcp file, and msimsp.exe to create the patch file. I have been following the steps in these two ar...

MSI removes required assembly on upgrade install, but replaces it on Repair

I'm experiencing some weirdness related to an MSI installation upgrade, perhaps someone out there can help me: I have two MSIs, an original and an upgrade: MSI version 1.0 Contains a .NET assembly, foo.dll, to be installed to the GAC foo.dll is of type "Assembly" (not "Output") within the MSI file system gui. MSI version 2.0 Also c...

permanent registry keys - orca - msi guid

Using a .msi package, I want to create a few registry keys if they don't exist, leave them alone if they do exist, and not delete them if the program is removed. I have done this (using Orca) by adding entries to the following msi tables: Components, FeatureComponents, Registry, & LockPermissions. My question is what should I do about ...

DISABLEADVTSHORTCUTS=1 disables all shortcuts

We have an application to be run on StartUp that allows many installed files to be changed after installation. We are trying to turn off the self-healing mode by setting the DISABLEADVTSHORTCUTS=1 property in Orca. However, no shortcuts are being created when this property is set. All the information I've seen indicates that we should be...

Dll execute during MSI execution(Installer)

I created an MSI for my application and i want my dll to execute during installation of this MSI. How can i add my dll to MSI. I read something on ORCA but getting error. Can anyone help to add my dll to msi using orca. My dll contain a message box and registry entry ...

Extracting files from merge module

All I want is a command-line tool that can extract files from a merge module (.msm) onto disk. Said differently, I want the same "administrative install" functionality that is possible for an MSI: msiexec /a myProduct.msi TARGETDIR="C:\myInstallation" /qn The above only works on an msi (near as I can tell). So to get the same effect ...

Windows Installer custom action BEFORE any validation

I wrote a Windows Installer custom action based on the tutorial found here: http://www.codeproject.com/kb/install/msicustomaction.aspx My custom action is killing a background process of a given name which could still be opened by the user. The reason is that I don't want users to see the warning that a given EXE is running and must be ...

Setup project with managed custom actions. Big heck of a headache

I'm trying to create a setup project and I can't believe how painful it could be. Non of the tools that I've tried to use, haven't satisfy me. How come? Well, let's see: First and easiest option: Setup project built in Visual Studio. Easy and fast. you can easily implement custom actions, even if you're code was written in c# or vb.net...

How to modify contents / replace a binary of an .msi file as a post-build step?

When building a Visual Studio 2010 Setup project with a CustomAction on x64 systems, Visual Studio includes the wrong version of InstallUtilLib.dll: It installs the 32bit shim, which will not work for CustomActions compiled as 64-bit (a requirement in my case, since it depends on 64-bit native dlls). Installing such a .msi results in th...

How to change the contents of a file included in an *.msi with VBScript

Given an installer generated with a VS2010 Setup Project, I would like to swap out a .NET DLL with another one without changing the name. I am already altering the msi file according to this question, swapping out the contents of an entry in the "Binary" table. I have located the file in question using Orca. It resides in the only cabi...

vs2005 windows installer project add browse button to dialog

I'm creating an installer for a windows application that I've built. I added a dialog to prompt the user for a folder location needed in my app. Is there a simply way to add a browse button to the dialog for the user to select the folder on his hard drive? ...