[WiX-users] How to manually remove a permanent component

2008-10-20 Thread Ben Greenberg
Is there a way to remove permanent components from the WI database after the owner product has been removed? I realize you cannot do this within an MSI package, but I'm looking for a msizap type approach. Thanks, Ben -

Re: [WiX-users] How to manually remove a permanent component

2008-10-20 Thread Ben Greenberg
Yes, but like msizap, it only removes products, not individual components. Ryan O'Neill wrote: Have you tried Windows Installer cleanup utility from MS? Much nicer than MSIZap. -Original Message- From: Ben Greenberg [mailto:[EMAIL PROTECTED] Sent: 20 October 2008 16:54 To: General

Re: [WiX-users] Does this violate component rules?

2008-10-15 Thread Ben Greenberg
or will it remain at 1.0? Thanks Ben Rob Mensching wrote: No. Components installed in different directories is handled by the Windows Installer. As long as the Components have the same Resources the reference counting is correct. -Original Message- From: Ben Greenberg [mailto:[EMAIL PROTECTED

Re: [WiX-users] Set the InstallExecuteSequence condition on a Custom Action from a Merge Module

2008-10-14 Thread Ben Greenberg
Is this by design? Any suggestions for a reasonable work around? Thanks, Ben Bob Arnson wrote: Ben Greenberg wrote: I am including a Merge Module in my MSI that includes a few CAs. I want to allow the user to pass a command line property to skip these CAs. I can edit the Condition

[WiX-users] Does this violate component rules?

2008-10-14 Thread Ben Greenberg
A shared component defined in a merge module is included in two different packages, but the two packages install the same component into different directories. So there are two copies of the same component out the system, and two entries in the DB (according to msiinv). Not directly a WiX

[WiX-users] Set the InstallExecuteSequence condition on a Custom Action from a Merge Module

2008-10-13 Thread Ben Greenberg
Hello all, I am including a Merge Module in my MSI that includes a few CAs. I want to allow the user to pass a command line property to skip these CAs. I can edit the Condition property of the CAs in the InstallExecuteSequence table in Orca to do what I want. How can I do it in WiX?

Re: [WiX-users] Defining variable

2008-10-13 Thread Ben Greenberg
Just do it like this: ?ifndef Param No need for $(var.X) syntax in this case. Ben Alex Ivanoff wrote: Why does the following not work: ?ifndef $(var.Param)? ?define Param=Value? ?endif? What I am trying to do is define variable if it was not defined through command line/project

Re: [WiX-users] Unzip a .zip file in MSI

2008-01-29 Thread Ben Greenberg
[EMAIL PROTECTED] wrote: Another Richard wrote: There are times when I think the unzip files approach is legitimate. For instance, suppose you have a bunch of data files that represent a snapshot in time for a dynamically updating service. The service, when run, will consume the

Re: [WiX-users] Unzip a .zip file in MSI

2008-01-27 Thread Ben Greenberg
Xin Liu (Intl Vendor) wrote: Hi Wix: In our msi there is a .zip file needed to be unzipped to target folder during installation. Does Wix directly support this kind of action? Thanks, Xin Liu No. See this thread for a discussion of this topic:

[WiX-users] Is there a way to override the Permanent attribute on a component?

2008-01-25 Thread Ben Greenberg
Hello all, I have some components that I compile down into a wixlib file. The components are all flagged permanent. I then have wix projects that include the lib; one builds an MSM and one builds and MSI. The permanent flags are necessary for the MSM. But for the MSI, which we use

Re: [WiX-users] Bootstrapper and MsiInstallProduct

2008-01-22 Thread Ben Greenberg
Perhaps you can try shelling out and running msiexec.exe with logging enabled. Even if it still doesn't work, you may have a more descriptive error message. bg Krause, Henning wrote: Hello, I'm writing a setup-bootstrapper which installs some required software before the actual MSI is

Re: [WiX-users] Samples for 3.0

2007-10-08 Thread Ben Greenberg
The WiX Wiki (http://www.wixwiki.com), is far from complete, but does have some good examples for Custom Actions, UI, and some of the WiX extensions. bg On Mon, 08 Oct 2007 07:36:50 -0700, Craig Miller [EMAIL PROTECTED] wrote: x2 I have the same need, but haven't said anything since it is

[WiX-users] Removing files from components

2007-10-08 Thread Ben Greenberg
Hello, I have a minor upgrade to my installer package where I would like to remove some files. I plan on distributing the new MSI and well as a patch for existing installations. The files in question live alone in their own components. For the patch to work, I understand that I cannot

Re: [WiX-users] Zip files and Wix Can It Be Done

2007-10-04 Thread Ben Greenberg
If you are distributing a bundle of files via Windows Installer, you should really use Windows Installer's notion of components for handling paths and everything else. If you simply embed another file package inside of an MSI, there is really no point to be using the MSI in the first place.

[WiX-users] Attaching Condition to a CA from Merge Module

2007-10-01 Thread Ben Greenberg
Hello, I am using the Difx merge module to install a driver in my MSI package. I am now creating a patch for my MSI, and I don't want the Difx stuff to get run when the package is being patched. The driver files aren't changing, and if the device is connected when the patch is applied, some

Re: [WiX-users] MSBuild

2007-09-27 Thread Ben Greenberg
MSBuild only operates on Visual Studio project and solution files. You need to create a WiX project using Votive, and include your wxs in it. Then you can run MSBuild on that project file. bg On Thu, 27 Sep 2007 15:24:26 -0500, Jessi Darling [EMAIL PROTECTED] wrote: Instead of using a

[WiX-users] SqlExtension Rollback

2007-09-17 Thread Ben Greenberg
After a SqlScript element is successfully executed, will it be rollbacked if the installer fails after that point? I see that a RollbackExecuteSqlStrings CA is created. If it does rollback, how is this accomplished at the SQL Server level? Thanks, Ben

[WiX-users] Setting System Path After Restart

2007-08-24 Thread Ben Greenberg
Hello all, I have an MSI I created via Wix that is installed as part of a larger bootstrapper. The bootstrapper performs certain steps than can cause a reboot. After a restart, the bootstrapper continues via the RunOnce registry key. The MSI, in addition to installing files, adds a directory

[WiX-users] How to display text in /qb! dialog

2007-08-22 Thread Ben Greenberg
Hello, I have created an MSI with WiX that I am installing via a bootstrapper. I install the MSI by passing /qb! to msiexec. I have seen packages installed this way where MSIEXEC will show some text aong the lines of Please wait while Windows configures APPNAME... But, when I call MSIEXEC

[WiX-users] WixDifxAppExtension Build

2007-08-17 Thread Ben Greenberg
Hello, I am trying to make a WiX MSI that uses WixDifxAppExtension. I have the fragment containing the Driver element compiling fine in a .wixlib. However, when I link the wixlib to an MSI project, I get this error from light: Error LGHT0094: Unresolved reference to symbol

[WiX-users] Dynamically grab directory value

2007-08-16 Thread Ben Greenberg
Hello, I need to store the path of a particular file in the registry. I'd like to be able to use a variable or property of some kind of to populate the registry value. Is there a way I can get the path of a WiX Directory element, or the path of a particular component, so that it is generated

Re: [WiX-users] wix as a wrapper for NSIS

2007-06-08 Thread Ben Greenberg
You may want to consider writing a bootstrapper that strings together your MSI and NSIS packages and installs them sequentially. You can write the bootstrapper in NSIS as well. Then all you need is a simple NSIS uninstall script that calls uninstall on your packages. This way you can avoid