Re: [WiX-users] Multilanguage install

2011-03-18 Thread Tobias S
Target Name=AfterBuild Torch Condition=%(CultureGroup.Identity) != '$(DefaultLanguage)' ToolPath=$(WixToolPath) BaselineFile=$(TargetDir)$(DefaultLanguage)\$(TargetFileName) UpdateFile=$(TargetDir)%(CultureGroup.OutputFolder)$(TargetFileName)

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Michael Tissington
This looks great - where do I put this? -Original Message- From: Tobias S [mailto:tobias.s1...@gmail.com] Sent: 18 March 2011 09:07 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Multilanguage install Target Name=AfterBuild Torch

Re: [WiX-users] Error 26201. Error -2147467259: failed to createSQL database

2011-03-18 Thread Thom Leigh
Do the files you're trying to create in your command already exist on this PC? That would make the create database command fail. Or are you saying that even on the same PC, the same command with the same paths works in SSMS but fails in your MSI? Forgive me if you've already covered this.

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Tobias S
You must add a torch task to the AfterBuild target in the wixproj file. Following a description assuming you are using VS2010 English, your solution is called MySetupProject and you want to create for an english MSI the needed MSTs: Solution Explorer - Choose the Setup Project - Right click -

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Michael Tissington
Thanks for the detailed info .. I'm trying to implement this. This seems to require that the en-US is built first. How do I make this happen? -Original Message- From: Tobias S [mailto:tobias.s1...@gmail.com] Sent: 18 March 2011 10:08 To: General discussion for Windows Installer XML

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Tobias S
you must build all languages of the MSI pacakge from one project. Think there is no additional modification necessary as the AfterBuild target starts when there already exist the different MSIs (e.g. en-US\MySetupProject.msi, de-DE\MySetupProject.msi and ja-JP\MySetupProject.msi). BTW: be sure

[WiX-users] Database Update

2011-03-18 Thread Dick Van den Brink
Hi guys, I’m creating a custom action which tries to insert a row in the IniFile table. When executing this code, an exception occurs: TableInfo info = session.Database.Tables[IniFile]; Record record = session.Database.CreateRecord(info.Columns.Count); record.FormatString =

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Michael Tissington
Thanks got it :) Are there any additional hidden gems (undocumented tasks)to do the additional two task to embed the mst files into a single msi? Currently I'm using WiSubStg.vbs and WiLangID.vbs -Original Message- From: Tobias S [mailto:tobias.s1...@gmail.com] Sent: 18 March 2011 10:32

[WiX-users] Database Update

2011-03-18 Thread Dick Van den Brink
I found the problem.I was missing the TEMPORARY word in my query.The code below fixes my issue:session.Database.Execute(info.SqlInsertString + TEMPORARY, record); From: d_vandenbr...@live.com To: wix-users@lists.sourceforge.net Date: Fri, 18 Mar 2011

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Christopher Painter
Nice.  Too bad there doesn't seem to be a way to do through Votive's UI ( Project Properties ).  I'll give it a try and see how it works for me.   --- Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention?

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Tobias S
Nope don't think so as WiSubStg.vbs + WiLangId.vbs are part of the Windows SDK and WiX will use Burn for Multilanguage Bootstrapper installers. And as the Transform Embedding is undocumented I don't assume WiX will write wrappers for such a purpose. To do so you must e.g. write an own C# task

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Michael Tissington
Too bad ... What are the properties for CultureGroup ? Where does this come from? Thanks. -Original Message- From: Tobias S [mailto:tobias.s1...@gmail.com] Sent: 18 March 2011 11:49 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Multilanguage

[WiX-users] GUID's in setup library

2011-03-18 Thread Karl Sparwald
Hello, I am a complete new WiX user and I have a question about the setup library project. Here is my scenario: In my solution is 1 setup library project and 2 setup projects. The setup project contains the custom UI and also a set of Common Files. Setup project 1 and 2 use these library

Re: [WiX-users] Trouble upgrading from 3 to 3.5 on VS 2005

2011-03-18 Thread David Watson
MajorUpgrade was indeed introduced in wix 3.5. I would try re-installing it and see if that helps, make sure you get the release version of 3.5.2519 or try a weekly build of 3.6. (http://wix.sourceforge.net/releases/) Once that is done open your solution in visual studio and it should run the

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Tobias S
They are used by the underlying WiX MSBUild target which is responsible for building the solution in MSBuild. IIRC it is C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix200x.targets for NET35 and wix2010.targets for .NET 40. 2011/3/18 Michael Tissington michael_tissing...@ciqual.com: Too

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Francisco Gabriel Malbrán
Tobias, Thank you very much for your help and time. Your answer was really complete and clear. As you state, this undocumented feature of the msi's so widely used has it's fallbacks (basically, we assume things, while different windows installer versions may do their own way, or suddenly disable

[WiX-users] replace drop-down menu in customize dialog with checkbox

2011-03-18 Thread Sergey
Hi, i'm using Wix3, CustomizeDlg from wixui_common (attached to this email) When i launch my msi, on the left from feature name i have small icon with down arrow. If click on it, popup menu appears, with these items: - Will be installed on local hard drive - Entire feature will be installed

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Michael Tissington
Instead of using CultureGroup.Identity is there a way to use the Product Language (for example 1033) ? I'd like torch to create a file name Language.mst Thanks. -Original Message- From: Tobias S [mailto:tobias.s1...@gmail.com] Sent: 18 March 2011 12:18 To: General discussion for

[WiX-users] Using DTF to Retrieve String Entries in Resource DLL

2011-03-18 Thread jnewton
I'm trying to use the Resource classes (i.e. Resource, ResourceCollection...) in the Microsoft.Deployment.Resources assembly that DTF ships to retrieve string entries from the RT_STRING table resource. I using the code: ResourceCollection rc = new ResourceCollection(); rc.Find(pathToDll);

Re: [WiX-users] replace drop-down menu in customize dialog with checkbox

2011-03-18 Thread Pally Sandher
You can't without writing your own External/Embedded UI. That control is a SelectionTree http://msdn.microsoft.com/en-us/library/aa371604.aspx which doesn't offer the customization you want. Also attachments don't work on this list (probably by design) so either paste stuff into your message or

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Tobias S
To be honest I'd like this approach more as well (InstallShield e.g. does it and so would better fit into the Christopher Painter approach to incorporate IS bootstrapper + WiX MSI packages). But for now I didn't find a solution except renaming all the transforms. Figuring out how to handle the

Re: [WiX-users] WiX creating obj file in strange place

2011-03-18 Thread Rennie Petersen
Hmmm, no answers ... I'm wondering if someone could at least point me in the right direction if I decide to take a look at the source code and see if I can fix this myself. Thanks. -Original Message- From: Rennie Petersen [mailto:r...@merlinia.com] Sent: 16. marts 2011 15:35 To:

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Francisco Gabriel Malbrán
Another bit of an update to complete the info in the forum: In order to make the multilanguage, the msi takes the property user locale that can be retrieved through the function GetUserDefaultLCID. In a simple C++ console app: #include stdafx.h #include iostream #include windows.h int _tmain(int

Re: [WiX-users] Multilanguage install

2011-03-18 Thread Michael Tissington
Now I understand, thanks ... too bad the Language is not required in the wxl file. Here is what I ended up with ... If I could convert an ItemGroup into a comma separated list I could improve it a little. Target Name=AfterBuild Copy SourceFiles=$(ProjectDir)$(OutDir)en-us\$(TargetFileName)

[WiX-users] Using Util:Permission from UtilExtension, getting this warning

2011-03-18 Thread Naeem Ahmad
C:\delivery\Dev\wix30_public\src\ext\UtilExtension\wixlib\UtilExtension.wxs(145,0): warning LGHT1072: Merge modules should not contain the 'Error' table because all merge conflicts cannot avoided. However, this warning can be suppressed if all of the consumers of the Merge Module agree to not

Re: [WiX-users] Using Util:Permission from UtilExtension, getting this warning

2011-03-18 Thread Christopher Painter
You'll get this warning for various WiX CA extensions when they are authored in Merge Modules.  It's because the pattern inserts a row into the Error table that is not guaranteed to be globally unique.   If another merge module ( say an InstallShield generated merge module ) was to author a

Re: [WiX-users] WiX creating obj file in strange place

2011-03-18 Thread Castro, Edwin G. (Hillsboro)
This post describes the issue and provides a workaround: http://www.paraesthesia.com/archive/2011/02/07/wix-3-5-2519-0-incorrect-intermediate-object-path-for.aspx Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please

Re: [WiX-users] Could not harvest data from a 64bit dll

2011-03-18 Thread Wang, Miaohsi
Hi Rob, Has this issue been resolved? I tried using the heat.exe from WiX 3.5.2519 to extract COM data from a 64-bit dll and failed. Thanks, Miaohsi -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, September 08, 2010 4:00 PM To: General discussion

[WiX-users] How to copy log file

2011-03-18 Thread Thai-Hoa Nguyen
Hello... MsiLogFileLocation has the location of the log file. I am unable to create a custom action to copy the log file when the installation is complete. Custom Action=CopyLog Before=InstallFinalizeNOT Installed/Custom CustomAction Id=CopyLog Directory=ROOTLOCATION ExeCommand=xcopy

[WiX-users] FW: Error while including fragment from a a legacy project...

2011-03-18 Thread Gregg Swanson
Still looking for help... -Original Message- From: Gregg Swanson [mailto:gregg.swan...@microsoft.com] Sent: Tuesday, March 15, 2011 9:34 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Error while including fragment from a a legacy project... Rob,

Re: [WiX-users] Using DTF to Retrieve String Entries in Resource DLL

2011-03-18 Thread Jason Ginchereau
A ResourceCollection is a collection of Resource objects, so once you've loaded it, you can enumerate the resources in the collection. Resources may be of different ResourceTypes, and Resource instances of type Version will actually be a specialized VersionResource subclass. So to get to the