Re: [WiX-users] Unable to create Dutch localization - invalid codepage

2009-06-24 Thread Dirk Räder
Hi, this behavior does happen for other languages: in my case German. There's already a bug filed for this rather weird behavior. IIRC you can use Product/@Codepage="!(loc.Codepage)" to work around having localizations with different codepages. Dirk 2009/6/25 Sascha Beaumont > Well after a bi

Re: [WiX-users] Detecting if WiX 3.0 is installed

2009-06-24 Thread Curtis Jewell
I haven't coded how to do it in an MSI installer, (I have a Perl module that installs WiX if it isn't installed, instead) but there is a registry key that could be searched for: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Installer XML\3.0\ProductVersion will contain the version of WiX that is in

[WiX-users] Custom Action Return code 1631

2009-06-24 Thread Randall Carter
I am embedding SQL Server 2008 Express with SP1 into an installer without using the Click Once bootstrapper so I have complete control over the installation via configuration file, and learning as I go since this is my first attempt at a fully functional installer. I have Framework 3.5 SP1 and Wind

Re: [WiX-users] Unable to create Dutch localization - invalid codepage

2009-06-24 Thread Sascha Beaumont
Well after a bit of messing around I figured out the issue. Light complains that Dutch characters don't match Codepage 1252 (default codepage) unless Product/@Codepage is *explicitly* specified as 1252. Strange that it doesn't happen for other languages :/ Anyway, bug lodged with example code - h

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

2009-06-24 Thread little.forest
Hi Phil, Thank you so much for your reply. I got it working. Here is the code:                         However I also have a couple of questions: 1. If I try to use "asyncNoWait" as the "Return" type, I'm getting this error: The CustomAction/@Return attribut

Re: [WiX-users] Unable to create Dutch localization - invalid codepage

2009-06-24 Thread Sascha Beaumont
Thanks Neil, That at least gives me hope! Are you using the latest 3.0 drop? Looks like I'll have to put together a sample project and narrow down the issue :) Sascha On Wed, Jun 24, 2009 at 9:54 PM, Neil Sleightholm wrote: > I am building Dutch ok with Codepage="1252" and Product/@Language=1043

Re: [WiX-users] Detecting if WiX 3.0 is installed

2009-06-24 Thread Jacques Eloff
I would think doing a RegistrySearch on HKLM\Software\Microsoft\Windows Installer XML\3.0 should work. Assign to a property and use it as a launch condition. Jacques On Wed, Jun 24, 2009 at 3:03 PM, John Robbins wrote: > Hello, > > WiX 3.0 uses a Product Id="*" to autogenerate a product ID. Say

Re: [WiX-users] About , what's the difference?

2009-06-24 Thread Jirong Hu
Thanks for your reply, John. Then what's the purpose of the first piece of code snip if they don't create the folder? For example, I found two pieces of code to create a web application in IIS, one creates the folders and the other create the virtual directory. BTW, do we need to create the di

[WiX-users] Detecting if WiX 3.0 is installed

2009-06-24 Thread John Robbins
Hello, WiX 3.0 uses a Product Id="*" to autogenerate a product ID. Say you wanted to build a tool that required WiX 3.0. How would your installer correctly determine that any build of WiX 3.0 was installed? John Wintellect http://www.wintellect.com 877-968-5528 ---

Re: [WiX-users] Taming ROOTDRIVE, Windows volume

2009-06-24 Thread Rafael Rivera
Neil, et al - Disregard last transmission. Corrected an error on my end. Thanks for the help. - Rafael Rafael Rivera wrote: > Hi Neil, > > We looked into using WindowsVolume but it's still being set to D:\ vice > C:\. I'd prefer to just expand an environmental variable (%systemdrive%) > and b

Re: [WiX-users] Taming ROOTDRIVE, Windows volume

2009-06-24 Thread Rafael Rivera
Hi Neil, We looked into using WindowsVolume but it's still being set to D:\ vice C:\. I'd prefer to just expand an environmental variable (%systemdrive%) and be done with this, but am still looking for the correct syntax to so. - Rafael Neil Sleightholm wrote: > If you look in the SDK you will

Re: [WiX-users] Getting Error Code -2146368476 when trying to install Complus components

2009-06-24 Thread Wilson, Phil
It means that component will be installed, $ComponentName=3 if you like. It's about INSTALLSTATE_ABSENT, INSTALLSTATE_LOCAL. Phil Wilson -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: Wednesday, June 24, 2009 1:15 PM To: General discussion for Wi

Re: [WiX-users] Getting Error Code -2146368476 when trying to install Complus components

2009-06-24 Thread MacDiarmid, James D
What does it mean when the log shows "Installed: Absent; Request: Local; Action: Local" as in the following: MSI (s) (40:44) [15:25:16:531]: Feature: ApplicationFiles; Installed: Absent; Request: Local; Action: Local MSI (s) (40:44) [15:25:16:531]: Feature: WebFiles; Installed: Absent; Reques

Re: [WiX-users] Taming ROOTDRIVE, Windows volume

2009-06-24 Thread Neil Sleightholm
If you look in the SDK you will see that ROOTDRIVE means exactly the drive with the most space. If you want to install to a folder off the system drive you need a custom action e.g. This will normally set DATALOCATION to "C:\My data folder"

Re: [WiX-users] condition for install state of shared component across MSIs

2009-06-24 Thread Wilson, Phil
?Componentname=3 might work, installed state of the component. http://msdn.microsoft.com/en-us/library/aa368012(VS.85).aspx Phil Wilson -Original Message- From: dangle...@hotmail.com [mailto:dangle...@hotmail.com] Sent: Wednesday, June 24, 2009 12:05 AM To: General discussion for

Re: [WiX-users] Getting Error Code -2146368476 when trying to install Complus components

2009-06-24 Thread MacDiarmid, James D
I just did a dependency check on each file that is to exist when installed on the server (Windows 2003) and there was one file missing MSJAVA.DLL. So I added that and did a recheck. Now, as far as I can tell, all dependencies are met. How do I determine what file the script thinks is missing? I fe

Re: [WiX-users] Getting Error Code -2146368476 when trying to install Complus components

2009-06-24 Thread MacDiarmid, James D
Thanks Phil :) Umm.. Any thoughts on my other questions? Anyone? Anyone? Bueller? Bueller? :) -Original Message- From: Wilson, Phil [mailto:phil.wil...@wonderware.com] Sent: Wednesday, June 24, 2009 1:29 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [

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

2009-06-24 Thread Wilson, Phil
Execute=Immediate is before any files are installed. It needs to be deferred. Phil Wilson -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, June 24, 2009 10:22 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users]

Re: [WiX-users] Getting Error Code -2146368476 when trying to install Complus components

2009-06-24 Thread Wilson, Phil
It's 0x80110424 = The file does not exist. Phil Wilson -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: Wednesday, June 24, 2009 10:00 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Getting Error Code -2146368476

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

2009-06-24 Thread little.forest
Can you WiX experts take a bit of your time to point me out the problems below? I used exactly the example code from wix.chm, but it doesn't work for me. Am I doing the right thing? I really appreciate it if you can give me some clue. Basically, I'd just like to run a small program right after t

[WiX-users] Getting Error Code -2146368476 when trying to install Complus components

2009-06-24 Thread MacDiarmid, James D
Can anyone tell me what the Error Code: -2146368476 means? What is the recommended way to install COMPlus Components that were developed in VB6? Do I need to include and register the VB6 runtimes? Also when installing a COMPlus component, do I need to have the Role Element specified? Actio

[WiX-users] How to change data in VolumeCostList control

2009-06-24 Thread kezhong zhou
Hi, Guys, Does any one have any idea of how to change data in VolumeCostList control? The disk space requirement our installation needs is not enough, let's say, 10MB, but the actually space token would be 10.1MB, with extra 128KB space used for file system management or something like disk fragm

Re: [WiX-users] Adding files to output media

2009-06-24 Thread Randall Carter
Thanks I'll give it a try. -Original Message- From: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: Wednesday, June 24, 2009 11:12 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Adding files to output media I would tend to use my build scri

[WiX-users] Taming ROOTDRIVE, Windows volume

2009-06-24 Thread Rafael Rivera
Howdy! With ROOTDRIVE behaving more like DRIVEWITHMOSTSPACE, what's the recommended approach to installing to the Windows volume? I noticed there is environmental variable support... $(.) is evaluated at compile time, !(.) at link... but what about at runtime? I found an old post suggesting th

Re: [WiX-users] Adding files to output media

2009-06-24 Thread Chad Petersen
I would tend to use my build script (Nant, MSBuild, etc) to copy the desired files into a location on the output folder. If you must use WiX for this I'm not sure of a way, but I'd probably explore the element first to see if it might do the trick. Others might have different thoughts. Chad

Re: [WiX-users] About , what's the difference?

2009-06-24 Thread John Ludlow
The difference is What's going on here is that MSI will never create a directory if there are no files to be installed there - unless you add the directory to the CreateFolders table by adding under a component in that directory. Yes, that's right you need a component per empty folder so that M

Re: [WiX-users] How to handle installing a large number of files

2009-06-24 Thread Brian Rogers
Hey Tom, I, personally, do not condone using the ZIP method. I actually don't see how it would be much faster to manage a ZIP file. Pretty much that is what MSI is doing for you now. You can change the compression ratios of the CAB files you put your product if you need to gain compression speed.

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

2009-06-24 Thread Jacques Eloff
Hi Brian I found my problem. Forgot that they're sitting under the Wow6432Node. Jacques On Tue, Jun 23, 2009 at 5:18 PM, Brian Rogers wrote: > 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

Re: [WiX-users] Wix Coding Conventions

2009-06-24 Thread Brian Rogers
Hey Jonathan, In terms of WiX there is wixcop.exe which will format and convert WiX source for you. On the MSI side, I would imagine if you are following Component rules and passing ICE you are on a good start. Others may know more about what is out there. Hope that helps, Brian Rogers "Intelli

Re: [WiX-users] About , what's the difference?

2009-06-24 Thread Jirong Hu
I tried the following, the last four directories are not created, why?

[WiX-users] About , what's the difference?

2009-06-24 Thread Jirong Hu
Hi Both of these two methods will create directories, what's the difference? ---

[WiX-users] Wix Coding Conventions

2009-06-24 Thread jnewton
Is there any general best practices or coding conventions (i.e similar to the .NET Framework Design Guidelines) for WiX? I want to ensure consistency amongst all my MSIs created with WiX and so establishing these conventions will hopefully help that. If anybody has any links, suggestions, though

[WiX-users] Adding files to output media

2009-06-24 Thread Randall Carter
To all, I have what I think is a simple problem but I am not finding a way to accomplish it. I want to add some batch files to the output media that is created when WiX compiles so they are available in a folder or even the root of the output. The File element appears to be only for adding file

Re: [WiX-users] How to handle installing a large number of files

2009-06-24 Thread Yan Sklyarenko
First off, heat was recently enhanced to support automation better: http://icumove.spaces.live.com/blog/cns!FB93073C6534B681!461.entry In terms of installation performance, the second option is better, IMHO. For instance, if you have thousands of icons, which are not the subject to upgrade regular

Re: [WiX-users] ProductInstallation . InstallLocation returns an empty string for a valid installed package

2009-06-24 Thread Yan Sklyarenko
AFAIK, this property is mapped to the ARPINSTALLLOCATION property. You should have set this property during that installation in order to be able to address the ProductInstallation.InstallLocation API the way you do. This could be done with a custom action, e.g. Hope this helps. -- Yan

[WiX-users] ProductInstallation . InstallLocation returns an empty string for a valid installed package

2009-06-24 Thread Essam Salah
All, We are getting an empty string when we read the property InstallLocation, any advice? ProductInstallation p = new ProductInstallation("{valid guid here to an installed product}"); MessageBox.Show(string.Format("Product is installed? = {0}", p.IsInstalled));

[WiX-users] DTF ExtractFiles Problem

2009-06-24 Thread Christopher Painter
I read a thread from a year ago talking about problems with the InstallPackage.ExtractFiles() method and I'm seeing problems today with build 3.0.5210.0 ( the latest drop I have CM'd ). I can open the install packages and see a fileset in the Files property but when I set the working directory

[WiX-users] How to handle installing a large number of files

2009-06-24 Thread Tom Crozier
All - I need to know the best way to handle installing a large number of files. As part of the project I have 2 different directories with approximately 24,000 files (including subfolders) in each. I could use heat to generate the initial list but then I am assuming I have to maintain the list f

Re: [WiX-users] Unable to create Dutch localization - invalid codepage

2009-06-24 Thread Neil Sleightholm
I am building Dutch ok with Codepage="1252" and Product/@Language=1043. Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com From: Sascha Beaumont [mailto:sascha.beaum...@gmail.com] Sent: Wed 24/06/2009 09:40 To: General d

[WiX-users] Issues with side-by-side COM registration

2009-06-24 Thread Nick Hall
As part of our product install we have a number of COM dlls that we need to register. These need to be registered for side-by-side usage. My observations of the DLL's self-registration behaviour is that this simply means that the default value of each class' InprocServer32 key gets the name of th

Re: [WiX-users] How to selectively NOT install file if file already exists on system

2009-06-24 Thread Sascha Beaumont
Hi David, Sure, more than happy to share! There's a simplified version online at http://stackoverflow.com/questions/319894/simplest-solution-to-replace-a-tiny-file-inside-an-msi - I can provide a copy of our "production" code if you want, but you're probably better off taking the sample and writin

Re: [WiX-users] Environmet Variable Propagation

2009-06-24 Thread John Ludlow
If I remember correctly, environment variables are only written on InstallFinalize. Once the installation completes, the environment variable should be available. I think I ran into this once before, and our answer was to change the application (a config utility we would run as part of the instal

Re: [WiX-users] How to define batch copy in wix?

2009-06-24 Thread Sascha Beaumont
You need to explicitly specify each file with WiX (and Windows Installer in general), there's no such thing as "include all files from this folder" :) However you might want to take a look at "heat", you can use it to auto-generate Wix sources from a bunch of files in a directory as part of your b

Re: [WiX-users] Environmet Variable Propagation

2009-06-24 Thread Sascha Beaumont
I've noticed that InstallShield sometimes uses it's own Custom Actions for what you might think are fairly simple operations. The best bet would be to create a basic MSI from InstallShield, decompile it, and see what the resulting wxs looks like. On Sat, Jun 20, 2009 at 2:55 AM, JW wrote: > Some l

[WiX-users] Unable to create Dutch localization - invalid codepage

2009-06-24 Thread Sascha Beaumont
Hi All, Is anyone out there successfully able to utilize the Dutch (nl-NL) WiX localizations?? I'm getting 50+ LGHT0311 errors complaining about a mismatched codepage. However from what I understand (i.e. lots of googling) Codepage 1252 is indeed correct for the Dutch language. It appears that it

[WiX-users] WixUI localizations..

2009-06-24 Thread Sascha Beaumont
Hi Guys, Just a question regarding the WiX localizations, I've come across SF bug 2776382 with a few items missing from the nl-NL locale - Robs comment indicated this has been pushed to WiX 4 until someone can provide the appropriate translations. However the es-ES, de-DE, fr-FR and it-IT locales

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

2009-06-24 Thread Andreas Gustafsson
Brian Rogers wrote: > 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? I'm running WiX under Cygwin, and my problem turned out to be a simple mixup between Windows- and Cygwin-style directory paths. It took me

[WiX-users] condition for install state of shared component across MSIs

2009-06-24 Thread dangle123
Given two MSIs that have a shared component (same component GUIDs), how could I condition a custom action based on the install state of the shared component? If the component is already installed by one MSI, when installing the second MSI, the condition in the second MSI should evaluate to tru