Re: [WiX-users] Multilanguage install

2011-03-17 Thread Christopher Painter
Oh I already know how it works and can get it to work. :-)   I was just wondering if there was a better way to generate the transforms then post build events that call torch.   Votive has some nice msbuild support for encapsulating the underlying calls to the wix tools  I just wish it has a li

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

2011-03-17 Thread Mike Rerick
Re-looking at your code, I noticed that some of the sql:sqlString statements don't have a sqlDb attribute on them. Not sure what the consequences are of leaving it off - I always put one on all of my sqlScript statements. Mike *Mike Rerick* *Sr. Software Engineer* [image: Google Docs

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

2011-03-17 Thread kim
Mike, My SQL script is not having GO command after each sql statement. The reason being the sql scripts works perfect when executed manually in Management studio. If nothing works then I have to create database from within sql script "Create database" tag is simply not working in this scena

Re: [WiX-users] Multilanguage install

2011-03-17 Thread Tobias S
@Chris: Am I understanding you right ? You want to apply a transform for the "base" language, e.g. english MSI + english MST + spanish MST ? For InstallShield as they build by default a transform for the default language ? If yes did you check with a "man in the middle tool" (custom msiexec.exe in

Re: [WiX-users] Multilanguage install

2011-03-17 Thread Tobias S
Francisco, When you get it working with the transform msiexec /i installer.msi TRANSFORMS=":1034". (I'm wondering about the ":1034" - should be e.g. 1034.mst???) this means it is working with your produced spanish transform applied to the english one. So when going back to InstallSite your problem

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

2011-03-17 Thread Mike Rerick
Kim, I looked at your code. Seems to be OK. Looking at my sql scripts, I have a GO command after each group of statements. Have you tried adding GO at the end of each of your SQL commands? Mike *Mike Rerick* *Sr. Software Engineer* [image: Google Docs] *Ima

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

2011-03-17 Thread Michael Osmond
Hi -2147467259 converts to 80004005. Try searching on this value. Michael -Original Message- From: kim [mailto:contactme...@gmail.com] Sent: Friday, 18 March 2011 7:17 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Error 26201. Error -2147467259: failed to create SQL

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

2011-03-17 Thread Michael Osmond
Kim I can't see anything wrong with the script. But the error seems to be specifically with the creation of the database itself from the error. Things you could try: 1. Check that your account actually is an administrator in SQL Server. I have not had much experience with Express, but in a

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

2011-03-17 Thread kim
Ok, Keeping it simple: I need to create database and other objects using my msi. Target machine is Windows XP SP3 and SQL Server 2008 express edition. I am using following code to create database but its failing with error code: "Error 26201. Error -2147467259: failed to create SQL database " Thi

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

2011-03-17 Thread Wilson, Phil
The scenario isn't clear to me at all. If this is a custom action it'll be running with the installing user's account or the system account. Exactly what is the environment here that leads you to say that "Network Service account was not having full control permission on C:\Program Files\Microso

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

2011-03-17 Thread kim
Thanks for reply Mike. Yes I am using Windows Authentication to connect to database. However when installing SQL Server 2008 Express edition I selected Mixed mode. I am attaching my code here (since due to some wierd error my code is not visible in post) http://windows-installer-xml-wix-toolset.6

Re: [WiX-users] WiX-users Digest, Vol 58, Issue 102

2011-03-17 Thread du...@doutel.com
Roger that. Duane T. Doutel Doutel Software Services, LLC -Original Message- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net] Sent: Thursday, March 17, 2011 4:02 PM To: wix-users@lists.sourceforge.net Subject: WiX-users Digest, Vol 58, Issue

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

2011-03-17 Thread Mike Rerick
I have seen this error when the username or password is incorrect. How are you trying to access the database: via windows or server authentication? If you are trying to access sql express via a user name (probably sa?) and password, did you install SQL Express in mixed mode and specify a sa passw

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

2011-03-17 Thread Skip Sailors
List, I am sure this is a FAQ, but I had trouble finding anything obvious. Can you help me find the right thing to read. I have a project that used WiX 3 and Votive to build an installer for a .NET 2.0 application using Visual Studio Professional 2005. We haven't had to upgrade this produc

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

2011-03-17 Thread kim
Can someone please help me with this issue? I checked that Network Service account was not having full control permission on C:\Program Files\Microsoft SQL Server folder and subfolders where is the default path to create database. Still database creation is failing with this error (as mentioned i

Re: [WiX-users] Multifeature filetype association

2011-03-17 Thread The Eligible Bachelors
Thanks for the great ideas. I tried to figure out how to suppress this specific error, but was unable to. Then I tried your idea of moving the RegistryValue into the master component and it worked. I am able to install and uninstall the optional components and associations work as expected. It'

Re: [WiX-users] Installer for version 3.6.1511.0 fails.

2011-03-17 Thread Kevin Burton
This doesn't help you with your problem but I have had a lot of weird problems since installing IE9. I am not sure how to rollback but I think I need to. -Original Message- From: du...@doutel.com [mailto:du...@doutel.com] Sent: Thursday, March 17, 2011 12:24 PM To: wix-users@lists.source

[WiX-users] Installer for version 3.6.1511.0 fails.

2011-03-17 Thread du...@doutel.com
I note that someone is having the same problem with the 1504 build. I'm wondering if perhaps the IE9 RTW is the culprit. These are the relevant lines from the log file (I've attached the full log file, as well): [1F08:18C4][2011-03-16T12:43:31.835-05:00]: Caching executable from: C:\Users\Duane

Re: [WiX-users] Multifeature filetype association

2011-03-17 Thread David Watson
You will get the ice 69 error because windows installer can't know for sure if that feature is being installed. If you can guarantee in all situations that the main feature will be installed when you install the optional feature, you can ignore (suppress) the error. What should also work is that

Re: [WiX-users] WIX_NETWORKSERVICE

2011-03-17 Thread gapearce
OK, I figured it out - needed to add this (duh): -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WIX-NETWORKSERVICE-tp6179107p6181514.html Sent from the wix-users mailing list archive at Nabble.com. --

Re: [WiX-users] Multifeature filetype association

2011-03-17 Thread Peter Shirtcliffe
Yes, you will get ICE69. Thats expected. You can ignore ICE 69 warnings. You can ignore ICE69 errors if you can be certain that the two features will always be installed and removed together. Otherwise, you should reorganise so that it cant happen. -Original Message- From: The Eligible Ba

Re: [WiX-users] Multifeature filetype association

2011-03-17 Thread The Eligible Bachelors
Setting it to TargetFile='MainEXE' gives me the same ICE69 error. If I set it to TargetProperty='MainEXE' the install log shows: MSI (s) (64:68) [11:20:53:948]: Executing op: RegAddValue(,Value="" "%1",) WriteRegistryValues: Key: \Software\Classes\extfile\shell\open\command, Name: , Value: "" "

Re: [WiX-users] Windows 7 MSI privileges

2011-03-17 Thread James Johnston
A list of reasons why not to use selfreg: http://msdn.microsoft.com/en-us/library/aa371608(VS.85).aspx -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Thursday, March 17, 2011 10:46 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-

Re: [WiX-users] Multilanguage install

2011-03-17 Thread Francisco Gabriel Malbrán
Thanks Michael. I've tried your solution as well but still no results. Can any body please attach an empty/demo version of your multilanguage msi to test it out in my computer? This way I would be able to detect if the problem is in the procedure or in the environment. Thanks in advance Francisc

Re: [WiX-users] Multilanguage install

2011-03-17 Thread Michael Tissington
I've just gone thru all this and this is what I needed "%wix%bin\torch.exe" -sw1115 -t Language "$(ProjectDir)$(OutDir)$(TargetFileName)" "$(ProjectDir)$(OutDir)it-it\$(TargetFileName)" -out "$(ProjectDir)$(OutDir)1040.mst" cscript "$(ProjectDir)WiSubStg.vbs" "$(ProjectDir)$(OutDir)$(TargetFileNam

Re: [WiX-users] Multilanguage install

2011-03-17 Thread Francisco Gabriel Malbrán
Hello and thank you for your quick answer, Tobias. And thank you very much for your detailed description on your procedure. The bad news is: I still don't get it to work. - I've tried making the transform either with torch.exe or with MsiTran.exe (from win sdk). - I've tried embedding those using

Re: [WiX-users] Merge Modules and Custom actions design

2011-03-17 Thread Christopher Painter
Are you redistributing these merge module or are they only for internal use in order to break out your installer into more composable / manageable peices? Everything I say is meant for the latter  not the former: For Custom Actions,  follow the table data driven design and put the custom action

Re: [WiX-users] Multilanguage install

2011-03-17 Thread Christopher Painter
I created an installer using Votive and told it to build English and Spanish cultures.  I ended up with two MSIs.  Is there a way to tell it to build 1 MSI and 2 MSTs?  I was able to run Torch from the command line to get there but I was wondering if there was an easier way. If you happeen to o

Re: [WiX-users] Is it Possible: Dialog Box Text Edit Control with Wrapped Text?

2011-03-17 Thread Robert Buck
Tobias, thanks for the response. Yeah, I saw that link, but I was hoping to hear a different story, admittedly. On Thu, Mar 17, 2011 at 4:13 AM, Tobias S wrote: > Hi, > > Assume this is a limitation of textbox element in Windows Installer > (comp. e.g. > http://windows-installer-xml-wix-toolset.

[WiX-users] Merge Modules and Custom actions design

2011-03-17 Thread Stelios Kyprou
Hello, I'm new to Merge Modules, and I was trying to figure out what is the best way to create ones. Let's say I have 2 merge modules. Module A needs a database, and Module B needs to make a URL reservation. My concerns are: 1) The custom actions for doing what the Modules need (db and url creat

Re: [WiX-users] Windows 7 MSI privileges

2011-03-17 Thread Pally Sandher
If you want to do "what is right" you could start by not using self-registration. Palbinder Sandher  Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Register

Re: [WiX-users] How to assign Hotkey for a shortcut which is deployed through Wix

2011-03-17 Thread Malte Geißler
You need the modifier flags of the WM_SETHOTKEY Message (http://msdn.microsoft.com/en-us/library/ms646284%28v=vs.85%29.aspx) HOTKEYF_ALT 0x04 HOTKEYF_CONTROL 0x02 HOTKEYF_SHIFT 0x01 So the modifier Ctrl + Alt is 0x6. And the Virtual-Key Code of S is 0x53. You combine it to 0x653 and convert

Re: [WiX-users] Multifeature filetype association

2011-03-17 Thread Peter Shirtcliffe
Try TargetFile ="MainEXE" without any brackets or #. The docs says the attribute just takes an Id. -Original Message- From: The Eligible Bachelors [mailto:theeligiblebachel...@yahoo.com] Sent: 16 March 2011 21:03 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Multifeature fi

Re: [WiX-users] Multilanguage install

2011-03-17 Thread Tobias S
For the storing in the MSI package: When diffing it with InstED (unfortuanelty IS2010 and MSIDiff seem not being able to show it) you can see a substorage element (_Storages) where the german transform is stored in. Regards Tobias 2011/3/17 Tobias S : > Hi Francesco, > > Here some information

Re: [WiX-users] Multilanguage install

2011-03-17 Thread Tobias S
Hi Francesco, Here some information to your questions RTL (Right to left language support in WiX) which you need for arabic (and hebrew) WiX by default: Uses default left to right for these languages. Otherwise you must redesign all dialogs to the new layout which is not done by default. Assume t

[WiX-users] How to assign Hotkey for a shortcut which is deployed through Wix

2011-03-17 Thread Dsilva, Pramod
I am trying to assign an HotKey (Ctrl+Alt+S) for a shortcut I deploy on Windows Desktop using Wix. Below is how I tried to assign the value. However the compiler says that the Hotkey value has to be a integer value. Please could anyone tell me how to determine the equivalent integer value fo

Re: [WiX-users] FilesInUse in Upgrade scenario

2011-03-17 Thread Rob Hamflett
In earlier versions of Windows Installer, the Files In Use dialog wouldn't be shown if WI couldn't find a window associated with the file/app. I think the theory went that it's confusing to ask the user to close a program they can't see running. This can be a problem if you have any programs

Re: [WiX-users] Is it Possible: Dialog Box Text Edit Control with Wrapped Text?

2011-03-17 Thread Tobias S
Hi, Assume this is a limitation of textbox element in Windows Installer (comp. e.g. http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/multiline-edit-control-type-td4176815.html ). The only point to ensure a better usability here from my point of view would be to make the edit wider