Re: [WiX-users] Duplicated primary key in _SummaryInformation table of the transform

2009-11-04 Thread Svet Bonev
Sharat: I am a little confused as to what exactly you are trying to achieve. If you already have an MSP (SP1_Patch.msp), I think the diff between Release.MSI and (Release.MSI + SP1_Patch.msp) would be exactly SP1_Patch.msp, thus you don't need to do anything. What am I missing? Svet __

Re: [WiX-users] Edit control & default button

2009-11-04 Thread Bob Arnson
Dan Giambalvo wrote: > I'm running into a strange issue with an interaction between an Edit control > and a default button with a custom action on a WiX Dialog. The Edit is tied > to an MSI property, and the button's custom action does some processing to > validate the value of that property.

Re: [WiX-users] How to edit .IBD file

2009-11-04 Thread Bob Arnson
Ali Khan wrote: > I need to edit one of WiX's standard .IBD file (bitmap) and can't seem to > find an appropriate editor. > WiX doesn't use .ibd files, just .bmp bitmaps. -- sig://boB http://joyofsetup.com/ -- Let

Re: [WiX-users] Why is the WiX manual using DirectoryRef

2009-11-04 Thread Bob Arnson
Markus Karg wrote: > I understand *your* reasons, but again, my question was: Why using > DirectoryRef in the *most simple*, *very first* How-To (that > HelloWorld-style one read first by every WiX beginner) printed in the WiX > documentation? All other things being equal, prefer best practices.

Re: [WiX-users] WiX 3.5, problem during uninstall when User defined

2009-11-04 Thread Bob Arnson
John H. Bergman (XPedient Technologies) wrote: > How do I determine the cause of the uninstall failure? Verbose log. See http://www.joyofsetup.com/2008/07/15/verbose-logging-from-wcautil/ to get verbose logging from WiX custom actions. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] LZMA compression?

2009-11-04 Thread Sascha Beaumont
Correct, it's all due to the compression algorithm :) We use "mszip" for internal beta builds, "high" for MSI-only releases for corporate customers (as well as for the 1Mb bootstrap EXE that later downloads an MSI payload), and finally an LZMA self-extracting EXE containing an MSI with compressio

Re: [WiX-users] Read ProductID (PIDKEY) from registry

2009-11-04 Thread Sascha Beaumont
Assuming that PIDKEY is just a property you're setting, you'll probably want to set the property to a default value (e.g. DEMO) and do a RegistrySearch to overwrite it if you can find an existing PIDKEY in the registry. Sascha On Wed, Nov 4, 2009 at 6:31 AM, Tim Musschoot wrote:

Re: [WiX-users] Duplicated primary key in _SummaryInformation table of the transform

2009-11-04 Thread Blair
Regarding an alternative to admin installations: If you aren't trying to patch merge module contents, you could try using the wixpdb files instead of the admin images. If your "original" wixpdb doesn't have access to the older binaries, you can do the following in order to force a "bound/binary" w

Re: [WiX-users] WiX 3.5, problem during uninstall when User defined

2009-11-04 Thread John H. Bergman (XPedient Technologies)
In addition, this also fails to uninstall. The install works perfectly (as does the one below). Can someone please point me in the right direction? -Original Message- From: John H. Bergman (XPedient Technologies) [mailto:john.berg...@x

[WiX-users] Duplicated primary key in _SummaryInformation table of the transform

2009-11-04 Thread Sharat Janapareddy
The only entry I see related to this error is the _SummaryInformation table's (from the Diff.wixmst) field '11'. Here's the corresponding row entry for that. 11 2009/11/04 09:36:30 It looks like this field 11 is PID_LASTPRINTED property which ha

[WiX-users] WiX 3.5, problem during uninstall when User defined

2009-11-04 Thread John H. Bergman (XPedient Technologies)
When I add a User element inside my installers component, as such, I receive a Fatal Error during uninstall, even if I do not use the user within the install. How do I determine the cause of the uninstall failure? I would expect the user to not be affected during uninstall, because of t

Re: [WiX-users] Why is the WiX manual using DirectoryRef

2009-11-04 Thread Markus Karg
I understand *your* reasons, but again, my question was: Why using DirectoryRef in the *most simple*, *very first* How-To (that HelloWorld-style one read first by every WiX beginner) printed in the WiX documentation? My question is *not* if anybody knows *any* reason for using DirectoryRef in gener

Re: [WiX-users] lit.exe -loc

2009-11-04 Thread Markus Karg
Spent one hour, finally discovered my own fault: I wrote "light x.wixlib y.wixOBJ" instead of "light x.wixlib y.wixLIB" -- certainly there will be no resources found in the original .wixOBJ, but only in the .wixLIB...! :-( > -Original Message- > From: Markus Karg [mailto:markus.k...@gmx.ne

Re: [WiX-users] how to get pdb file for customaction.CA.dll

2009-11-04 Thread Jason Ginchereau
The PDB for the unmanaged CA wrapper is always sfxca.pdb, regardless of what your managed custom action code is. Sfxca.pdb is included in wix3-pdbs.zip published with every build. If you like, you could add a postbuild step to copy and rename sfxca.pdb to YourCustomAction.CA.pdb. -Original

Re: [WiX-users] DTF and external UI

2009-11-04 Thread Christopher Painter
I think it would be very cool if some of us could colloborate on a template for handling all the heavy lifting while leaving a WPF layer exposed for skinning by people who are not MSI Gods. WPF is really catching on at my day job and it would be interesting to show a prototype installer that us

Re: [WiX-users] Why is the WiX manual using DirectoryRef

2009-11-04 Thread Zachary Young
Hi Markus, I've been writing WiX installers for over a year now and started off relatively soon with using , putting solely my directory tree in one WXS (DirectoryStructure.wxs) and then having each referencing the directory ID's in that file. This later became very valuable when we started sell

Re: [WiX-users] DTF and external UI

2009-11-04 Thread John Nannenga
It's important to keep in mind the DTF (for the most part) provides a managed interop around the windows installer APIs. You'll still need to become intimately familiar with [ http://msdn.microsoft.com/en-us/library/aa368786(VS.85).aspx ] and how to handle all the messages and compute the prog

Re: [WiX-users] Build speedup

2009-11-04 Thread Mike Carlson (DEV DIV)
Did you already try the "-cc" and "-reusecab" switches for light? Make sure to specify both switches at the same time, and a valid folder after the "-cc" option. This should allow light to just use an existing cab if none of the files in that cab have changed. Then let it be a cab external to th

[WiX-users] how to get pdb file for customaction.CA.dll

2009-11-04 Thread Lian Jiang
Hi, I am using managed customaction.dll. The build infrastructure spins a native wrapper customaction.CA.dll without a PDB file. Can I get a PDB file for CustomAction.CA.dll by changing the build process? Thanks Lian --

Re: [WiX-users] Why is the WiX manual using DirectoryRef

2009-11-04 Thread Markus Karg
I disagree that structure and content are different concerns, they are the same (or do you separate files and folders on your harddisk, too?). The question was, why it is used in the *most simple* examples. Since it does *not* focus on the example at hand, but instead, makes that examples overly le

Re: [WiX-users] Update fails if files have been modified

2009-11-04 Thread Chad Petersen
Take a look at the element. It will get rid of existing files before the new files are copied in to place. Might help in this situation. Chad -Original Message- From: Thomas Singer [mailto:w...@regnis.de] Sent: Wednesday, November 04, 2009 10:13 AM To: wix-users@lists.sourceforge.net Su

Re: [WiX-users] Per User / Per Machine

2009-11-04 Thread Markus Karg
But how to do that, "author the package based on your decision"? I mean, I just have two files, one program menu item and one extension verb. The .wxs file is more or less a copy of the WiX manual's samples / WiX tutorial code snippets. The WiX manual does not say something about "authoring the p

Re: [WiX-users] Update fails if files have been modified

2009-11-04 Thread Kelly . Leahy
This isn't a WiX problem. It's MSI, and there's nothing you can really do about it in the setup authoring, as far as I know. The only way I'm aware of to change it is to use MSIEXEC command line parameters to tell MSI to overwrite changed files. You should really look into using patches or MS

Re: [WiX-users] Fragments or Merge Modules?

2009-11-04 Thread Markus Karg
Just what I say: IDs should be GUIDs. If actually is not, it is a bug, since you run in the problem that you actually run into. If I were you, I would file a bug report describing the problem. Regards Markus > -Original Message- > From: Nick Ball [mailto:nick.b...@grantadesign.com] > Sent

[WiX-users] Update fails if files have been modified

2009-11-04 Thread Thomas Singer
We are using Wix to install our (Java) application. Updating works fine, even launched application (and service) are handled gracefully. For providing users who report bugs a very quick bug-fix build we offer a plain zip file containing just the replaced few binary (.jar) files which they can repl

Re: [WiX-users] Per User / Per Machine

2009-11-04 Thread Andreas Mertens
Not to flog a dead horse or anything, but consider this scenario I create my single installer package. Inside I provide two different features: - Feature 1: All Users (Per Machine) install, will required elevation - Feature 2: Per User install, can be installed by any standard user or better. St

[WiX-users] Patch information

2009-11-04 Thread Scharp, Craig
Hi WIX users, I have to do a patch for a major upgrade. I haven't done that yet and trying to find a good resource that will show me how to. I have been using the three links below for information, but they seem to be doing different things. Can anyone steer me towards a good recent "how to"

Re: [WiX-users] Ref File Id in a merge module

2009-11-04 Thread Neil Sleightholm
I was coming to the same conclusion myself that just editing the MSM would be the simplest solution - it is written using InstallShield and uses their ISSeflReg table which I don't like but is easy to fix. Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com

Re: [WiX-users] Per User / Per Machine

2009-11-04 Thread Andreas Mertens
I have been following this thread (as it has a definite impact on what I am working on). Searching through the online MSDN docs, I came across the following that describes Per Machine/Per User installs and the impact of the ALLUSERS variable. It has also been updated with the Windows 7 details. h

Re: [WiX-users] Fragments or Merge Modules?

2009-11-04 Thread Nick Ball
Actually, no. Say I have two wixlibs for two different features. I run heat as a prebuild on both libs (so in total it is run twice) with the -cg option which very nicely generates componentgroups, but the ID's for each directory are things like 'folder1'. Now when both libraries have directories w

Re: [WiX-users] Build speedup

2009-11-04 Thread Kim Gybels
Very typical to come up with some ideas myself just after I press send... Here are two ideas that popped into my head: 1) Build an installer without the library, than use a transform to add the missing functionality. 2) This is a bit more of a hacky way: - build a binary wixlib - extract

[WiX-users] Build speedup

2009-11-04 Thread Kim Gybels
Hi, First of, let me try to explain what I am trying to accomplish. Our application uses a very big library that needs to be installed. This is a third party library and doesn't get updated a lot. I want to speed up the build of our installer by somehow prepackaging the library once. I already de