Re: [WiX-users] WixUI localizations..

2009-06-25 Thread Sascha Beaumont
Thanks Bob, that's a good enough answer for me =) On Fri, Jun 26, 2009 at 1:51 AM, Bob Arnson wrote: > Sascha Beaumont wrote: >> Is there any reason why Dutch gets treated differently to the other >> languages? > > Because nobody on the WiX team reads Dutch? > >> Or is it that the English inclusio

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

2009-06-25 Thread Sascha Beaumont
Hi Neil, I wasn't aware of the fallback culture feature - thats rather nifty! I just had the missing strings translated instead :) Dirk seems to have hit the nail on the head, it's a weird bug with a non-obvious solution. Problem solved for now at least! On Thu, Jun 25, 2009 at 5:23 PM, Neil Sle

[WiX-users] Versioning interop assemblies for patching

2009-06-25 Thread Tony Juricic
In this particular case I am not interested in setting Company Name and version number for my interop assemblies (that is, files generated using tlbimp) just so that the name is not an empty string and that the version is not 1.0.0.0. In order to have un-installable patches I need assembly file

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

2009-06-25 Thread Quinton Tormanen
Thanks Bob. Once I added the appropriate elements to my manifest, it appears to disable the Program Compatibility Assistant (PCA) on Windows 7. There is still one quirk that I haven't figured out. That is, if I download my bootstrap exe from the web and save it to my desktop and run it, it runs in

[WiX-users] Environment variable availability during installation

2009-06-25 Thread Reddy, Mallikarjun (GWMT-TASCS)
I am setting Environment variable like below. Later in one of the custom actions, I run installutil on a dll which looks for this variable. Could some one let me know how I can make this variable visible to my dll ? --

Re: [WiX-users] Is there a way to automatically get files in to a wix wsx file?

2009-06-25 Thread Tom Masterson
THat looks to have done the trick. Thanks Tom On Thu, Jun 25, 2009 at 10:14:35PM +0100, John Ludlow wrote: > > Try the heat (in v3) or utility (in v2).  There's also a v2-compatible > > Sorry, that should have been heat (in Wix v3) or tallow (in Wix v2). > Or if you have an existing MSI, dark,

Re: [WiX-users] Is there a way to automatically get files in to a wix wsx file?

2009-06-25 Thread John Ludlow
> Try the heat (in v3) or utility (in v2).  There's also a v2-compatible Sorry, that should have been heat (in Wix v3) or tallow (in Wix v2). Or if you have an existing MSI, dark, as Chis says Sorry for the confusion ---

Re: [WiX-users] Is there a way to automatically get files in to a wix wsx file?

2009-06-25 Thread Chris Lord
Tom, If your current installer generates an .MSI file to install your product then WiX contains a tool called "Dark" that can convert an Msi into a Wxs file for you. I haven't used it a lot but worked when I swapped from Installshield to WiX to get me going. Chris -Original Message-

Re: [WiX-users] Installing VB6 COM Components

2009-06-25 Thread MacDiarmid, James D
Good to know. I mentioned that to get clarification because I saw a post in the Wix-Users Archive where someone mentioned back in February 2008 that VB6 COM support wasn't in Wix v3.0. I wanted to see if that was (still?) true. Jim -Original Message- From: Neil Sleightholm [mailto:n..

Re: [WiX-users] Registering VB6 OCX with Wix 3

2009-06-25 Thread MacDiarmid, James D
Ah! Very good information! I did not know that. Thank you -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Thursday, June 25, 2009 4:12 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registering VB6 OCX with Wix 3 Th

Re: [WiX-users] Is there a way to automatically get files in to a wix wsx file?

2009-06-25 Thread John Ludlow
Try the heat (in v3) or utility (in v2). There's also a v2-compatible tool called mallow out there somewhere which someone put together. You can get this to scan a folder and create the folder and file structure - you also get a number of options for creating GUIDs and IDs etc. HTH John 2009/6/

Re: [WiX-users] Registering VB6 OCX with Wix 3

2009-06-25 Thread Neil Sleightholm
The -vb6 option stops heat generating registry entries that shouldn't be removed when the component is uninstalled - vb6 components break the proper COM rules by registering things that are not part of the component being registered. Neil -Original Message- From: MacDiarmid, James D [mail

Re: [WiX-users] Installing VB6 COM Components

2009-06-25 Thread Neil Sleightholm
I have written installs for VB6 COM and COM+, why do you think they are not supported? Neil -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: 25 June 2009 15:24 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Installing VB

[WiX-users] Is there a way to automatically get files in to a wix wsx file?

2009-06-25 Thread Tom Masterson
We are looking at using wix to create our installers but most of our projects have 100+ files. I have neither the time nor patience to sit there and type in that many file entries. Is there an easy way to get at lest an inial setup with the files entered or do we need to write a script then modif

Re: [WiX-users] 0x800 error code info?

2009-06-25 Thread MacDiarmid, James D
Could it be that the DLLs and COM+ Components I'm trying to install where not compiled on Windows Server 2003? Jim -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: Thursday, June 25, 2009 2:46 PM To: General discussion for Windows Installer XML tools

[WiX-users] 0x800 error code info?

2009-06-25 Thread MacDiarmid, James D
Now I'm getting an error 0x80070003 when attempting to install my COM+ components. I tried doing a internet search but nothing came up for Wix on that error code. Is there a doco that lists all the x800 error codes and what they mean? Thanks, Jim ---

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

2009-06-25 Thread kezhong zhou
Thank you. Yes, that could work. But if I can not access VolumeCostList control, I would have to calculate DiskSpaceRequirement all by myself. well, get disk is not a big question. And that means I would have to update ReserveCost table in a custom action. But I tried a lot of times, found that I c

Re: [WiX-users] Installing VB6 COM Components

2009-06-25 Thread MacDiarmid, James D
Back in February 2008, a developer mentioned in the linked post below that there was no support for VB6 COMs in Wix v3. "...Because there is currently no support for VB6 COMs in WiXv3 I have moved to WiXv2 and instead I have used tallow." http://www.mail-archive.com/wix-users@lists.sourceforge.n

Re: [WiX-users] Question on Patching Mechanism - Patching checks all files copied during installation

2009-06-25 Thread Bob Arnson
Sudhakaran, Suraj wrote: > During the application usage some files may get deleted. > That's very atypical. > Is there any way I can make the patching process ignore the missing > files in an installation and proceed with patching? > How are you building patches? -- sig://boB http://joyo

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

2009-06-25 Thread John Aldridge
I asked... > From: John Aldridge [mailto:j...@jjdash.demon.co.uk] > > 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 vario

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

2009-06-25 Thread Bob Arnson
kezhong zhou wrote: > Does any one have any idea of how to change data in VolumeCostList control? > Change the underlying data with ReserveCost. -- sig://boB http://joyofsetup.com/ -- __

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

2009-06-25 Thread Bob Arnson
little.forest wrote: > 1. If I try to use "asyncNoWait" as the "Return" type, I'm getting this error: > The CustomAction/@Return attribute's value, 'asyncNoWait', cannot be > specified without attribute ExeCommand present. > You can't use that with a DLL custom action, which is what QuietExec

Re: [WiX-users] Service Failure actions

2009-06-25 Thread Bob Arnson
E K wrote: > I'm interested in having my service restart itself on failures... after > pouring over the documentation I did find the following: > ="yes" OnUninstall ="yes"> > That's the MSI 5.0 support for configuring services; it requires MSI 5.0 on Windows 7/2008 R2. If you want t

Re: [WiX-users] Creating a shortcut to an external program

2009-06-25 Thread Claus Tøndering
Thank you. It turned out that if I specify Target="[SystemFolder]javaw.exe" instead of merely Target="javaw.exe", the shortcut is created correctly. I did try to read the verbose log, and I ran the log analyzer (wilogutl.exe from the Installer SDK) on the log, but I could not see any reported err

Re: [WiX-users] Trying to use Installed property in control condition

2009-06-25 Thread Bob Arnson
David Bartmess wrote: > I'm trying to use the "Installed" property inside a control condition as > below, and it always seems to be evaluating to "NOT Installed". How can I use > this in the dialog? > The WixUI dialogs use "Installed" in conditions but with @Hidden="yes" so it's hidden by de

Re: [WiX-users] WixUI localizations..

2009-06-25 Thread Bob Arnson
Sascha Beaumont wrote: > Is there any reason why Dutch gets treated differently to the other > languages? Because nobody on the WiX team reads Dutch? > Or is it that the English inclusion in the other locales > should be lodged as a bug? > Maybe; it's a compromise. We decided that having par

Re: [WiX-users] DIFXAPP error 0xE000024A

2009-06-25 Thread Bob Arnson
Lian Jiang wrote: > DIFXAPP: ERROR: InstallDriverPackages failed with error 0xE24A > 0xE24a translates to ERROR_WRONG_INF_TYPE so you likely have an .inf file that's malformed for the OS you're trying to install on. -- sig://boB http://joyofsetup.com/ -

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

2009-06-25 Thread Bob Arnson
Wilson, Phil wrote: > ?Componentname=3 might work, installed state of the component. > Unfortunately, it doesn't look beyond "installed for this product." -- sig://boB http://joyofsetup.com/ -- __

Re: [WiX-users] Custom Action Return code 1631

2009-06-25 Thread Bob Arnson
Randall Carter wrote: > Is this an > issue of not being able to start another setup while one is currently > running? Yes. And you can't elevate from an immediate CA. -- sig://boB http://joyofsetup.com/ -- __

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

2009-06-25 Thread Bob Arnson
Quinton Tormanen wrote: > Notice that I distribute my MSI file embedded in a bootstrap built with > IEXPRESS.EXE, which runs "MSIEXEC /i rmctools.msi /lv RMC_Install.log". > This bootstrap utility also has a manifest embedded using MT.exe that > sets the requested privilege level to "asInvoker". My

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

2009-06-25 Thread Quinton Tormanen
That's my understanding for what is happening as well. Two follow-up questions: 1. Who should I ask about what I can do to suppress the "app compat goo"? I realize this isn't directly a WiX--or perhaps even MSI--question, but I wanted to start here in case I'm going about it all wrong. 2. What ar

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

2009-06-25 Thread Bob Arnson
John Robbins wrote: > 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? > There are two aspects: 1. The source says you can use a regis

Re: [WiX-users] Wix Coding Conventions

2009-06-25 Thread Bob Arnson
jnewton wrote: > Is there any general best practices or coding conventions (i.e similar to the > .NET Framework Design Guidelines) for WiX? Not guidelines, but an example is the source for the WiX installer itself. -- sig://boB http://joyofsetup.com/ -

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

2009-06-25 Thread Reddy, Mallikarjun (GWMT-TASCS)
try Permanent="yes" NeverOverwrite="yes" in as shown below ? -Original Message- From: Sascha Beaumont [mailto:sascha.beaum...@gmail.com] Sent: Wednesday, June 24, 2009 5:28 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to sele

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

2009-06-25 Thread Moradi, Ari
In my experience, that message shows up if your exe returns an error and doesn't have an application manifest. Add a manifest to the bootstrapper exe (specifically one that includes the aseemblyidentity and requestedexecutionlevel tags) and you shouldn't see that second message anymore. -Ari

Re: [WiX-users] DIFXAPP: ERROR - The operating system you are runningon is not supported

2009-06-25 Thread Quinton Tormanen
Notice that WiX v3.0.5217.0 includes DIFxApp 2.1. I see that a later build (v3.0.5301.0) includes a fix by BobArnso that upgrades to DIFxApp 2.1.1 from WDK v6001.18002, and I understand that this version of DIFxApp includes Win2K8 support. So, you can probably update to the latest weekly build of

Re: [WiX-users] DIFXAPP: ERROR - The operating system you are running on is not supported.

2009-06-25 Thread Moradi, Ari
You might need to get the latest WDK from Microsoft, which ships with the DIFxApp.wixlib. It's possible that WiX isn't including the most recent DIFxApp redist. We do our builds with the wixlib from the WDK and not what comes with WiX, just in case the WDK has something newer. You might try t

Re: [WiX-users] Installing VB6 COM Components

2009-06-25 Thread Rob Mensching
Never heard anyone say that before. MacDiarmid, James D wrote: > Is it true that Wix v3 does not support VB6 COM Components or COM+ > components? I do have to revert back to Wix v2.0 to make this work? > If I do that, will I be able to use Visual Studio 2008 Shell with > Votive? > > What recommen

Re: [WiX-users] Question on Patching Mechanism - Patching checks all files copied during installation

2009-06-25 Thread Rob Mensching
I wouldn't install files that are going to be deleted. Sudhakaran, Suraj wrote: > My installer copies certain number of files during installation. > > During the application usage some files may get deleted. > > > > When I am patching this installation, patching is failing because it is > unable t

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

2009-06-25 Thread Rob Mensching
I think that is a Windows Installer message coming up first and then the app compat goo kicking in saying, "Ooo, ooo, your install failed would you like to try again with magic pixie dust and maybe it'll work this time?" even though it won't. That's my best guess. Quinton Tormanen wrote: > Our

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

2009-06-25 Thread Rob Mensching
A much easier way to use standard extensions is to just do "candle -ext WixUiExtension". The toolset will find the extension next to the tools for you. Much easier than specifying a path. Andreas Gustafsson wrote: > Brian Rogers wrote: > >> Just to be clear, are you sure that your environment

Re: [WiX-users] check Installdir is empty

2009-06-25 Thread Rob Mensching
No, no element built in to do this. sandun css wrote: > 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

Re: [WiX-users] How to build a C# custom action project in CoreXT

2009-06-25 Thread Rob Mensching
Another MSFT employee that should be bopped. Chad Petersen wrote: > I can add to the conversation that CoreXT is an internal MS-only build > environment. This blog has some details. > > http://blogs.msdn.com/clichten/archive/2005/06/07/DDCPX-Aftermarket-Solu > tions.aspx > > -Original Message

Re: [WiX-users] DIFXAPP: ERROR - The operating system you are running on is not supported.

2009-06-25 Thread Rob Mensching
WiX supports all operating systems. It sounds like DIFXApp does not. DIFXApp was written by the DIFXApp team. You need to follow up with them to get it fixed. Kinda' funny that it refers to "codenamed Longhorn" as well. Someone at MSFT should probably be bopped for that. June Bell wrote: > Hi,

[WiX-users] Folder in C:\inetpub\wwwroot not removed SOMETIMES after unintall

2009-06-25 Thread Jirong Hu
Hi I have a folder under C:\inetpub\wwwroot\SFS with some subfolders are not removed SOMETIMES after uninstall. The behavior is it gets removed in the first or two fresh installations, but left there after a few installations. Below is the error I found in the log file: WriteMetabaseChanges: K

Re: [WiX-users] Setting up individual working directories

2009-06-25 Thread Rob Mensching
1. For your first question, the answer is in the MSI SDK for the Shortcut table's WkDir column (which Shortcut/@WorkingDirectory) maps to: WkDir The name of the property that has the path of the working directory for the shortcut. The value can use the Windows format to reference env

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

2009-06-25 Thread Rob Mensching
.wxl files are not run through the preprocessor (you probably could if you did it your self) so that value is never replaced. Gordon Dass Adams wrote: > In my example MergeModule project attached, I name my shortcut folder with a > localization string which doesn't completely resolve: > > N

Re: [WiX-users] Registering VB6 OCX with Wix 3

2009-06-25 Thread MacDiarmid, James D
Thanks Pally. Just out of curiousity, why would I need to run it with the -svb6 option? Wouldn't that trim out the registry settings for the VB6 Runtime files? Thanks for the recommendation on "snipping" things down. Sorry about about that. :) Jim -Original Message- From: Pally Sa

Re: [WiX-users] Creating a shortcut to an external program

2009-06-25 Thread Pally Sandher
http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm Also try looking at a verbose log of your installer during install. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovat

Re: [WiX-users] Registering VB6 OCX with Wix 3

2009-06-25 Thread Pally Sandher
It's a file identifier. Run heat with the -suid option & it will make more sense (why this isn't default is beyond me). The ! means it will be translated to a short path name during the install. See http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx You probably want to run heat with -s

Re: [WiX-users] File: Donot on overwrite new installation { or} donotdelete on uninstall

2009-06-25 Thread Yan Sklyarenko
Can you try making that component (with that file) Permanent and NeverOverwrite? Just a thought... -- Yan -Original Message- From: Reddy, Mallikarjun (GWMT-TASCS) [mailto:mallikarjun_re...@ml.com] Sent: Thursday, June 25, 2009 6:03 PM To: General discussion for Windows Installer XML tool

[WiX-users] File: Donot on overwrite new installation { or} donot delete on uninstall

2009-06-25 Thread Reddy, Mallikarjun (GWMT-TASCS)
I have a file which shouldn't be overwritten when a new version goes in and not be deleted on uninstall (either during the new versions installation or manual uninstall from add/remove programs or executing the same MSI and choosing uninstall) Can some one suggest a solution? Thanks in advance.

[WiX-users] Registering VB6 OCX with Wix 3

2009-06-25 Thread MacDiarmid, James D
Hi All, I ran heat on one of my OCX components using the -scom and -sfrag switches. In the following output, on the 4th line from the top and the 4th line from the bottom ther is a long alphanumeric string and I'm not sure what to replace the values with. Any thoughts?

[WiX-users] Creating a shortcut to an external program

2009-06-25 Thread Claus Tøndering
I'm trying to write an installer for a Java program. I install a .jar file and try to create a shortcut that will execute javaw.exe with the jar file as its argument. Using WIX 2, I include these specifications: When I run the installer, jfile.jar gets installed co

[WiX-users] Creating a shortcut to an external program

2009-06-25 Thread Claus Tøndering
-- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users

[WiX-users] Installing VB6 COM Components

2009-06-25 Thread MacDiarmid, James D
Is it true that Wix v3 does not support VB6 COM Components or COM+ components? I do have to revert back to Wix v2.0 to make this work? If I do that, will I be able to use Visual Studio 2008 Shell with Votive? What recommendations are there for getting my coms registered with the system (Windows

[WiX-users] DIFXAPP: ERROR - The operating system you are running on is not supported

2009-06-25 Thread June Bell
Hi, I used WiX v3.0 RC2 build (v3.0.5217.0) to build my installation package. I was trying to install the package on Windows Server 2008 R2 Server Core, but got the following error: DIFXAPP: ERROR - The operating system you are running on is not supported. Only Windows 2000, Windows XP, Windows

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

2009-06-25 Thread John Ludlow
This is useful if you want to provide a hook for other fragments to reference - for example you might have a element pointing to SFSAEWSBIN, in a totally seperate wxs file. This allows you to split up your source code in a meaningful way - say directories in one wxs and various components for dif

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

2009-06-25 Thread Neil Sleightholm
Are you setting the fallback culture, as not all strings are translated? E.g.: light -cultures:nl-nl;en-us. Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com From: Sascha Beaumont [mailto:sascha.beaum...@gmail.com] Sen