[WiX-users] check Installdir is empty

2009-06-23 Thread sandun css
Hi, I need to check whether the install derectory is empty or not. i.e. When we browse a dirctory as the install dir, I need to make sure it is empty. Is there a tag in WiX to do this? Thanks, Saman --

Re: [WiX-users] What is the best way to troubleshoot an installer?

2009-06-23 Thread Martin MacPherson
This article by Aaron Stebner has always helped me before: http://blogs.msdn.com/astebner/archive/2005/08/01/446328.aspx 2009/6/23 Brian Rogers > Hey Jim, > > Try the link below or breakout the RegEx > > Wilogutl.exe > http://msdn.microsoft.com/en-us/library/aa372811(VS.85).aspx > > Thanks, > >

[WiX-users] Restrict text field input to number only

2009-06-23 Thread Hukumchand Shah
Hi, I have one text box field in my installer screen. In that I want to restrict this text field only for 5 digit *number*. It should allow user to enter any character other than digits. Is that possible from WIX? Thanks, Hukum

[WiX-users] Light v3 logging - "Cabbing file xxx" message has disappeared!

2009-06-23 Thread John Ludlow
Hey, all I'm evaluating Wix v3.0 to see if we should adopt it, and run into a snag. The problem is that in wix v2 we run light with -v and it chucked out a lot of "Cabbing file xxx from yyy" style messages. However, in Wix v3 they seem to have disappeared. Looking through the code, it seems that

[WiX-users] 32 & 64 bit installers from common WiX source?

2009-06-23 Thread John Aldridge
Are there any guidelines for how best to create both a 32 and a 64 bit installer from a single WiX source file? I can use variable substitution to set the Platform attribute and pick up the right versions of the various executable files, but I'm puzzled about how to manage Component GUIDs. Do th

Re: [WiX-users] 32 & 64 bit installers from common WiX source?

2009-06-23 Thread Lloyd Dupont
I cannot help much on the Wix side... However, for the GUID generation... I am using Wix 3.0 and I edit my Wix "projects" with VS. I create a Macro (code below) to replace the current selection (be it empty or not) with a new Gui! Now it's just a matter of 1. press the button I associated with thi

Re: [WiX-users] 32 & 64 bit installers from common WiX source?

2009-06-23 Thread Peter Shirtcliffe
This may be of help http://blogs.msdn.com/heaths/archive/2005/10/24/windows-installer-on-64- bit-platforms.aspx -Original Message- From: John Aldridge [mailto:j...@jjdash.demon.co.uk] Sent: 23 June 2009 15:36 To: wix-users@lists.sourceforge.net Subject: [WiX-users] 32 & 64 bit installers

Re: [WiX-users] Light v3 logging - "Cabbing file xxx" message has disappeared!

2009-06-23 Thread Neil Sleightholm
You could use DTF (or vbscript) to analyse what is actually in the MSI. I think there are few vbscript samples in the Windows Installer SDK. Neil -Original Message- From: John Ludlow [mailto:john.ludlow...@gmail.com] Sent: 23 June 2009 15:30 To: wix-users@lists.sourceforge.net Subject: [

Re: [WiX-users] Light v3 logging - "Cabbing file xxx" message has disappeared!

2009-06-23 Thread John Ludlow
Well, I /finally/ figured out how to write a BinderFileManager extension. That needs better (i.e. "some" :) ) documentation. The one example for PreProcessorExtensions in the docs don't tell you how to work with *other* types of extensions. Thanks anyway 2009/6/23 John Ludlow : > Hey, all > >

Re: [WiX-users] Light v3 logging - "Cabbing file xxx" message has disappeared!

2009-06-23 Thread Brian Rogers
Hey John, Off the top of my head I would say take a look at the DTF tools. You could write a simple managed code app that reads MSI output itself and does the verfication. After all the Component, Directory and File table should all line up if you walk them. You would then be able to validate two

Re: [WiX-users] Light v3 logging - "Cabbing file xxx" message has disappeared!

2009-06-23 Thread John Ludlow
Hi Brian and Neil, Thanks for the DTF suggestion - I did look at the DTF stuff and considered it as a possible fallback (along with doing a simple msiexec /a). However, it's not ideal since we wouldn't have the path where the file came from and (haven't tried DTF so I'm just assuming on that fron

Re: [WiX-users] Light v3 logging - "Cabbing file xxx" message has disappeared!

2009-06-23 Thread John Ludlow
Oh, and on the idea of walking the Directory table (missed this before)... we have quite a number of directories that for one reason or another don't line up, and some whose locations are defined at install-time. Part of this is purely the number of installations we have, another is that some of

Re: [WiX-users] Light v3 logging - "Cabbing file xxx" message has disappeared!

2009-06-23 Thread Brian Rogers
Hey John, That sounds like a good way to get what you need. It makes sense to be mapping against your root source. In the past I had used Beyond Compare and just looked for orphans. Compared to what you are doing it sounds like I was in the dark ages . I am sure that other members would love to s

Re: [WiX-users] What is the best way to troubleshoot an installer?

2009-06-23 Thread MacDiarmid, James D
I downloaded it but can't get it installed. It just locks up when checking disk space. -Original Message- From: Brian Rogers [mailto:rogers.br...@gmail.com] Sent: Monday, June 22, 2009 9:12 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] What is th

Re: [WiX-users] What is the best way to troubleshoot an installer?

2009-06-23 Thread MacDiarmid, James D
I looked through my log after checking Aaron Stebner's blog that Martin had suggested. Unfortunately nothing new was learned. I know that it's bombing during the install of my ComPlus component. The question is why? I attached a zipped verbose log of my last install if that helps. Hopefully som

Re: [WiX-users] Multiple Files in one component vs a single fileper component

2009-06-23 Thread MacDiarmid, James D
Brian, Thanks for answering this post. I actually reverted back to one file per component. Jim -Original Message- From: Brian Rogers [mailto:rogers.br...@gmail.com] Sent: Monday, June 22, 2009 9:51 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-user

Re: [WiX-users] Accessing Binary stream data

2009-06-23 Thread Brian Rogers
Hey Tom, Your question prompted a blog. I was going to write it all in the email but I have seen this posed several times. I am sure, if you haven't already, you could do some digging and find the answer. There are custom actions in the WiX code base that do what you have asked as well. Here is t

Re: [WiX-users] What is the best way to troubleshoot an installer?

2009-06-23 Thread Brian Rogers
Hey Jim, I didn't get the log file through the newsgroup. Can you post it on skydrive or some other file share? Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Tue, Jun 23, 2009 at 10:00 AM, MacDiarmid, James D < james.macdiar...@eds.com> wrote:

Re: [WiX-users] 32 & 64 bit installers from common WiX source?

2009-06-23 Thread greenaj
Using the proprocessor is one part of the solution. But instead of spending hours with Guid gen, use XSLT to generate the new guids for components, as you will need different component codes for different flavors. I have often done this. Get the transform to just copy all of the nodes save fo

[WiX-users] Trouble running custom actions without VS installed

2009-06-23 Thread Tina Basinger
Has anyone ever had trouble runnning custom actions when Visual Studio isn't installed on a machine? I have done everything I can think of to make these work, and I am still getting the following error in my install log. Any tips on things to check for as well as potential solutions would be grea

Re: [WiX-users] Trouble running custom actions without VS installed

2009-06-23 Thread Brooke Philpott
If the CA is managed it requires .net If it's unmanaged it requires the VC runtime unless you compile it with /MT to embed the runtime in the dll. (http://msdn.microsoft.com/en-us/library/2kzt1wy3(VS.80).aspx) Installing VS.NET would install both of these... It could be some other dependency as we

Re: [WiX-users] Trouble running custom actions without VS installed

2009-06-23 Thread Steven Bone
My guess is that a dependency for your custom action is not installed. On one of these machines, copy the custom action dll and Dependency Walker ( http://www.dependencywalker.com), launch depends.exe and drag your custom action dll into it. You will see what is missing. Most likely, if you are u

Re: [WiX-users] Trouble running custom actions without VS installed

2009-06-23 Thread Tina Basinger
It is a managed custom action, that I've run through the MakeSfxCA tool. .NET is installed on the machine. -Tina On Tue, Jun 23, 2009 at 2:02 PM, Brooke Philpott wrote: > If the CA is managed it requires .net > If it's unmanaged it requires the VC runtime unless you compile it with > /MT to embe

Re: [WiX-users] Restrict text field input to number only

2009-06-23 Thread Wilson, Phil
Windows Installer supports a MaskedEdit control that you can put in your WiX source. The associated mask will be some number of # characters. http://msdn.microsoft.com/en-us/library/aa369797(VS.85).aspx Phil Wilson -Original Message- From: Hukumchand Shah [mailto:hukum.s...@gmail.com]

Re: [WiX-users] Trouble running custom actions without VS installed

2009-06-23 Thread Tina Basinger
I am running on 64-bit Server 2008 with UAC turned Off. My custom action references System, System.Data, System.XML, Microsoft.SharePoint, Microsoft.Deployment.WindowsInstaller, and a helper assembly that I own. The helper assembly additionally references System.DirectoryServices, and System.Serv

Re: [WiX-users] What is the best way to troubleshoot an installer?

2009-06-23 Thread MacDiarmid, James D
Brian, I uploaded it to a public folder on SkyDrive (yes, I'm a sky drive Noob too). Here is a link to the public folder, but I'm not sure if it will work. http://cid-d17a3b03b674501f.skydrive.live.com/self.aspx/.Public Jim -Original Message- From: Brian Rogers [mailto:rogers

Re: [WiX-users] Trouble running custom actions without VS installed

2009-06-23 Thread Steven Bone
I'd check to see if the Microsoft.SharePoint assembly references something else. The last step I can think of is to set up and run the Fusion Log Viewer tool (Fuslogvw.exe) and see if it is related to an assembly loading issue. Other than that, I'm fresh out of ideas. Info on Fuslogvw.exe: http:

Re: [WiX-users] What is the best way to troubleshoot an installer?

2009-06-23 Thread Brian Rogers
Hey Jim, Looks like something is wrong with one of your DLLs. Take a look back over your logs for the word "Error". Especially around line 8291. The overall code being thrown is 1603 so take a look at Aaron Stebner's blog http://blogs.msdn.com/astebner/archive/2005/08/01/446328.aspx . RegisterCo

Re: [WiX-users] Trouble running custom actions without VS installed

2009-06-23 Thread Brooke Philpott
You can also run process monitor from sysinternals to see if there are other load failures. -Brooke -Original Message- From: Steven Bone [mailto:sb...@pobox.com] Sent: Tuesday, June 23, 2009 3:19 PM To: Tina Basinger Cc: Wix Group Subject: Re: [WiX-users] Trouble running custom actions w

[WiX-users] Loading extensions in WiX 3.5

2009-06-23 Thread Andreas Gustafsson
Hi, How do I specify an extension on the WiX 3.5 command line? I'm looking at an example on the following web page: http://kobyk.wordpress.com/2008/10/21/installing-filter-drivers-with-difxapp-and-a-wix-v3-msi/ which uses the command %WIX_PATH%\candle -ext %WIX_PATH%\WixUIExtension.dll -ex

Re: [WiX-users] Loading extensions in WiX 3.5

2009-06-23 Thread Brian Rogers
Hey Andreas, Just to be clear, are you sure that your environment has %WIX_PATH% as a variable and that it resolves to the correct directory path? Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Tue, Jun 23, 2009 at 11:57 AM, Andreas Gustafsson wr

Re: [WiX-users] WiX 3.0: How to run a program

2009-06-23 Thread little.forest
Hi, I re-read the wix.chm and found "Quiet Execution Custom Action". I tried to use the example in wix.chm. But when I run it, I got these errors: MSI (s) (68!58) [13:58:06:803]: PROPERTY CHANGE: Deleting QtExecCmdLine property. Its current value is '"[INSTALLLOCATION]abc.exe"'. CAQuietExec:  Er

[WiX-users] Enforcing x86-only and x64-only installs

2009-06-23 Thread Quinton Tormanen
Our application includes a USB driver in its install through DIFxApp. I now have two installers, one for x86 and one for x64. I understand this to be a requirement when using difxap. Since the install will fail if running the x86 on x64 or vice versa, I thought it would be appropriate to use the e

[WiX-users] Registry entries not created on W2K8

2009-06-23 Thread Jacques Eloff
Hi I have an installer that was created using WiX 3.0.5217. When I run the installer on Vista/XP/Win7, everything works. When I run it on W2K8, everything seems fine, ARP contains entries, etc, but none of the registry keys were created. I've compared a verbose log generated on Vista and W2K8 by

[WiX-users] .var not substituted in localized shortcut name in merge module

2009-06-23 Thread Gordon Dass Adams
In my example MergeModule project attached, I name my shortcut folder with a localization string which doesn't completely resolve: That localization variable is defined in a .wxl file: http://schemas.microsoft.com/wix/2006/localization";> $(var.RmaProductName) Help The variable RmaProduc

Re: [WiX-users] Registry entries not created on W2K8

2009-06-23 Thread Brian Rogers
Hey Jacques, Just curious, have you run the install on the 64-bit versions of the 3 OSs it works on? Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Tue, Jun 23, 2009 at 4:44 PM, Jacques Eloff wrote: > Hi > > I have an installer that was created