Re: [WiX-users] New wix binary delta patching doesn't work
The -delta switch of pyro builds on top of the whole-file patch support in pyro, so if that isn't working, the delta addition won't do anything to help you. If you get pyro to build a whole file patch that updates your binaries, then add the -delta switch and test the results. From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Tony Juricic [EMAIL PROTECTED] Sent: Thursday, August 07, 2008 8:48 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] New wix binary delta patching doesn't work Removing -delta option from Pyro's command line gives me the same result: it reports that no files are added to the patch cab. I'll need some time to try with changing the third version number since I'm doing tests on actual builds, not a toy system. I find it interesting that MSP built with Pyro is 3 MB large but patches only the database (where I believe only version and description strings have changed), while MsiMsp created 1.2 MB large MSP which does everything above but patches also the (updated) version resource in more than 50 Dlls and a few signed exes. -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 12:04 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] New wix binary delta patching doesn't work Tony Juricic wrote: I have 2 MSIs and 2 corresponding binary wixout files. Using new patching with wixout input produced a msp file which applied transformation to the original database (i.e. I could see that product version was changed in ARP after patch application) but none of the binary files were changed. In particular all updated exes and dlls had new and larger version numbers and should have been patched too. So does it work if you: 1. Use full-file patches? 2. Use delta patches but change the build (third) version number? -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Shortcut to Folder example
Which version of WiX are you using? Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: [EMAIL PROTECTED] on behalf of Timo Hannukkala Sent: Mon 11/08/2008 06:06 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Shortcut to Folder example Hi, I don't success for some reason. I have first directory to menu folder: Directory Id=TARGETDIR Name=SourceDirDirectory Id=ProgramMenuFolder Name=ProgramsDirectory Id=ProgramMenuDirSoftwareMyProduct Name=MyProduct/Directory/Directory // Then I have shortcut (I also tried with CreateFolder but no success to me, I do something very sillyDirectory Id=ProgramFilesFolderDirectory Id=INSTALLDIRDirectory Id=MyProductSubDirectory Name=SubDirectoryComponent Id=ShortcutToFolderComponent Guid=5EF201FD-00CF-4C8C-8CB8-B26027C3BD05Shortcut Id=Shortcut Name=Test Directory=ProgramMenuDirSoftwareMyProduct Target=[MyProductSubDirectory] / // This folder component has also files but I don't show them /Component /Directory/Directory/Directory/Directory Date: Sun, 10 Aug 2008 09:45:27 +0100 From: [EMAIL PROTECTED] To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Shortcut to Folder example I have just tried this (in WiX v3): Shortcut Id=Shortcut Name=Test Directory=DesktopFolder Target=[ProgramFilesFolder] / And it works for me, it places a shortcut on the desktop to the program file folder. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of timoha Sent: 10 August 2008 05:45 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Shortcut to Folder example Hi, I have tried to get simple Shortcut from menus to Folder (no file). But somehow I always fails. I can get it to file. Could someone give me little example? I have tried Target=[DirectoryID], as I think should work, but no success for me. -- View this message in context: http://www.nabble.com/Shortcut-to-Folder-e xample-tp18897432p18897432.htm l Sent from the wix-users mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?ban ner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users _ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vistamkt=en-USform=QBRE - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] DTF and .NET Framework on Windows Server 2003
Excellent, thank you Jason. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Ginchereau Sent: 08 August 2008 18:12 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DTF and .NET Framework on Windows Server 2003 Yes. DTF runs each managed custom action in its own dedicated process. Because the process is separate and new, there is no risk of some other CLR version already being loaded into it. Only an unmanaged stub runs in the MSI custom action server process -- that stub coordinates the launch of the new process for managed code and the communication with it. -Jason- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Buddell, James Sent: Friday, August 08, 2008 5:43 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] DTF and .NET Framework on Windows Server 2003 http://robmensching.com/blog/archive/2007/04/19.aspx The above blog tells us that one of the reasons not to use managed code for DLL CAs is because .NET Framework version 1.1 is always loaded on Windows Server 2003 regardless of the code's required .NET version. I know that DTF addresses the sticky CLR problem, but can find no mention of this second problem. Does DTF resolve this issue? If it's been fixed separately in a Windows Server 2003 update then please could someone supply the reference so that I can check that we have the fix deployed. Thanks, James - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person. We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking. Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy. Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies. Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK. Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA. Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised an d regulated by the FSA. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Shortcut to Folder example
I have tried to get simple Shortcut from menus to Folder (no file). But somehow I always fails. I can get it to file. Could someone give me little example? I have tried Target=[DirectoryID], as I think should work, but no success for me. I've got something like this: Component Id=... Guid=... ... Shortcut Id=Shortcut.SharedFiles Name=My Shared Files Target=[MySharedDocuments] Directory=StartMenu.MyProduct Show=normal / /Component Which (under WiX3 at least) seems to work fine. Regards, John - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Call a .NET dll file in wix using custom
Hi, I added a COM registration to my wix file as follows: Component Id=DlFetcher Guid={235B5F90-EC82-4ce7-B433-8E4269A409EC} Location=local File KeyPath=yes Id=InstallDlfetcher Name=DLFetcher.dll DiskId=1 Source=D:\DLFetcher_July10\DLFetcher.dll Assembly=.net /File RegistryValue Root=HKLM Key=Software\WINDOWS\Microsoft.NET\Framework\v1.1.4322 Name={0F599288-CA74-467c-83CF-B853254159C7} Type=string Value=D:\DLFetcher_July10\DLFetcher.dll Action=write/ /Component But still when when I try to run a html file, I am getting the same problem: DLFetcher Component is not registered[object error] Can you please help me out in solving this issue further.. Regards, Poornima.S Message: 6 Date: Sun, 10 Aug 2008 22:28:15 -0700 From: Blair Murri [EMAIL PROTECTED] Subject: Re: [WiX-users] Call a .NET dll file in wix using custom To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] icrosoft.com Content-Type: text/plain; charset=us-ascii GAC registration is only one part of the registration you have in your sample batch file, the other part is COM registration. Please add your COM registration (registry) to your wix sources. IE/javascript do not look in the GAC, they look in the COM portion of the registry for the objects they access. From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Poornima S [EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 5:08 AM To: Neil Enns; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Call a .NET dll file in wix using custom But still I have a problem when I try to run a html file, although DLfetcher is registered in gac, issue is as follows: DLFetcher Component is not registered[object error] Html file: html body script language=javascript try { ob1 = new ActiveXObject(DLFetcher.RetreiveDL); alert(ob1); if(ob1!=null) { username=ob1.GetUserName(); //alert(Windows : +username); var IsUserValid=ob1.IsUserExist(username); if(IsUserValid) { alert(UserName is available ); var arDL=ob1.GetDLforUserAsString(baijuv); if(arDL.length==0) { alert(Invalid User); } else { alert(arDL); } } else { alert(User is not avaliable in the Domain Control to connect to Active Directory); } } } catch(e) { alert(DLFetcher component is not registered +e); } /script /body /html Can you please suggest me further, what changes can I do in wix so that the dlfetcher component gets registered. But when I try to run a batch file as follows: c: cd C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 regasm D:\DLFetcher_July10\DLFetcher.dll gacutil /i D:\DLFetcher_July10\DLFetcher.dll pause the registry is happening in gac, as well as when I try to run my html file, no issues are coming... So can you please suggest me a way to do this procedure in wix... Thanks in advance Regards, Poornima.S This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED INFORMATION intended for the sole use of the addressee(s). If you have received it in error, please contact the sender by return email, notify your system manager and destroy the original message and any copies thereof. Any review, use, disclosure or distribution is unlawful. Please check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The Company reserves the right to monitor, review and store the content of all messages sent to or from this e-mail address. www.aztecsoft.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Shortcut to Folder example
my version(s) of WIX: 3.0.2925 and 3.0.4318 (tried this too, but I use visual studio 2005 to build packages with WIX, 3.0.4318 error/warning outputs are not very good, for some reason, it gives only error codes line number, but no the possible reason string why it gives an error). I think, my problem is very silly now. Date: Mon, 11 Aug 2008 09:22:35 +0100 From: [EMAIL PROTECTED] To: wix-users@lists.sourceforge.net; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Shortcut to Folder example Which version of WiX are you using? Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: [EMAIL PROTECTED] on behalf of Timo Hannukkala Sent: Mon 11/08/2008 06:06 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Shortcut to Folder example Hi, I don't success for some reason. I have first directory to menu folder: Directory Id=TARGETDIR Name=SourceDirDirectory Id=ProgramMenuFolder Name=ProgramsDirectory Id=ProgramMenuDirSoftwareMyProduct Name=MyProduct/Directory/Directory // Then I have shortcut (I also tried with CreateFolder but no success to me, I do something ve ry sillyDirectory Id=ProgramFilesFolderDirectory Id=INSTALLDIRDirectory Id=MyProductSubDirectory Name=SubDirectoryComponent Id=ShortcutToFolderComponent Guid=5EF201FD-00CF-4C8C-8CB8-B26027C3BD05Shortcut Id=Shortcut Name=Test Directory=ProgramMenuDirSoftwareMyProduct Target=[MyProductSubDirectory] / // This folder component has also files but I don't show them /Component /Directory/Directory/Directory/Directory Date: Sun, 10 Aug 2008 09:45:27 +0100 From: [EMAIL PROTECTED] To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Shortcut to Folder example I have just tried this (in WiX v3): Shortcut Id=Shortcut Name=Test Directory=DesktopFolder Target=[ProgramFilesFolder] / And it works for me, it places a shortcut on the desktop to the program file folder. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of timoha Sent: 10 August 2008 05:45 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Shortcut to Folder example Hi, I have tried to get simple Shortcut from menus to Folder (no file). But somehow I always fails. I can get it to file. Could someone give me little example? I have tried Target=[DirectoryID], as I think should work, but no success for me. -- View this message in context: http://www.nabble.com/Shortcut-to-Folder-e xample-tp18897432p18897432.htm l Sent from the wix-users mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ __ _ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?ban ner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users _ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vistamkt=en-USform=QBRE - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Call a .NET dll file in wix using custom
HKLM\Software\Windows\Microsoft.NET\Framework\v1.1.4322 is NOT a COM registration. A COM registration would include registry keys similar to these (values not included): * HKCR\CLSID\{576bdc7a-1b68-444b-8ea9-5c07d88b1ff2}\InprocServer32 * HKCR\CLSID\{576bdc7a-1b68-444b-8ea9-5c07d88b1ff2}\ProgID * HKCR\DLFetcher.RetreiveDL In WiX source, you can get these keys created using code like this (I don't know which of your guids is your CLSID, so I can't fill it in for you): Component Id=DlFetcher Guid={Component-GUID-HERE} Location=local File KeyPath=yes Id=InstallDlfetcher Name=DLFetcher.dll DiskId=1 Source=D:\DLFetcher_July10\DLFetcher.dll Assembly=.net Class Id={CLSID-GUID-HERE} Context=InprocServer32 ProgId Id=DLFetcher.RetreiveDL.1 ProgId Id=DLFetcher.RetreiveDL/ /ProgId /Class /File /Component There are tutorials online on deployment of .Net and COM using WiX. From: Poornima S [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2008 4:11 AM To: Blair Murri; wix-users@lists.sourceforge.net Subject: RE: Re: [WiX-users] Call a .NET dll file in wix using custom Hi, I added a COM registration to my wix file as follows: Component Id=DlFetcher Guid={235B5F90-EC82-4ce7-B433-8E4269A409EC} Location=local File KeyPath=yes Id=InstallDlfetcher Name=DLFetcher.dll DiskId=1 Source=D:\DLFetcher_July10\DLFetcher.dll Assembly=.net /File RegistryValue Root=HKLM Key=Software\WINDOWS\Microsoft.NET\Framework\v1.1.4322 Name={0F599288-CA74-467c-83CF-B853254159C7} Type=string Value=D:\DLFetcher_July10\DLFetcher.dll Action=write/ /Component But still when when I try to run a html file, I am getting the same problem: DLFetcher Component is not registered[object error] Can you please help me out in solving this issue further.. Regards, Poornima.S Message: 6 Date: Sun, 10 Aug 2008 22:28:15 -0700 From: Blair Murri [EMAIL PROTECTED] Subject: Re: [WiX-users] Call a .NET dll file in wix using custom To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii GAC registration is only one part of the registration you have in your sample batch file, the other part is COM registration. Please add your COM registration (registry) to your wix sources. IE/javascript do not look in the GAC, they look in the COM portion of the registry for the objects they access. From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Poornima S [EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 5:08 AM To: Neil Enns; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Call a .NET dll file in wix using custom But still I have a problem when I try to run a html file, although DLfetcher is registered in gac, issue is as follows: DLFetcher Component is not registered[object error] Html file: html body script language=javascript try { ob1 = new ActiveXObject(DLFetcher.RetreiveDL); alert(ob1); if(ob1!=null) { username=ob1.GetUserName(); //alert(Windows : +username);
Re: [WiX-users] ps:SnapIn
As long as your entire organization is using Wix to build their deployments. Chris On Mon, Aug 11, 2008 at 1:22 AM, Blair Murri [EMAIL PROTECTED] wrote: I don't know if anyone has mentioned this already, but the Windows Installer team has been trying to deprecate Merge Modules almost ever since they created them. If you don't have to distribute your merge modules to external customers, you should consider using WixLibs instead of Merge Modules. They are much easier to work with. From: [EMAIL PROTECTED] [ [EMAIL PROTECTED] On Behalf Of Cristian Libardo [ [EMAIL PROTECTED] Sent: Tuesday, August 05, 2008 7:31 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] ps:SnapIn Hi. I've been diving into the amazing world of wix and I just came to the point where I could use some help (newbie alert). We have a setup with two solutions. One that builds merge modules. The other that picks the previously generated msm:s and creates msi:s. My problem occurs when I use the ps:SnapIn extension. It seems that certain registry values aren't bound as they should somewhere during the process. Using orca I can see that the Version key is !(bind.assemblyVersion.MyAssembly.dll) in both the intermediate msm and the final msi (that value is inserted in the registry when I install). I have tried Andy Burgess tips: http://ajbdeveloper.blogspot.com/2008/01/i-recently-tried-to-create-wix-msi.html I've also created a minimal wixproject with the same assembly and this works like a charm. And an excerpt from the wxs file: ... Directory Id=Tools Name=Tools FileSource=$(var.AssemblyRootPath)\$(var.Configuration)\ Component Id=MyAssembly.dll Guid=... File Id=MyAssembly.dll Name=MyAssembly.dll Assembly=.net KeyPath=yes ps:SnapIn Id=MyAssembly.SnapIn Description=Installer Cmdlets Vendor=... / /File /Component /Directory ... Any ideas on what might be the culprit? I noticed that the minimal project defines a wixproduct... while the complete one defines a wixmodule At what stage is the version information supposed to be bound? Thanks - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Dynamically naming a database during its installation - WiX VERSION 3.0.4318.0
Hi, Please, can you expand a little more on how to load the scripts into a sqlstring and use the properties? I only saw how to assign SqlString explicit scripts, and not reading the scripts from a .sql file in the Binary table. Thanks in advance, Eitan On Fri, Aug 8, 2008 at 12:40 AM, Christopher Karper [EMAIL PROTECTED] wrote: There is not anything built in to Wix right now that will let you use variables in SqlScripts. You can load them into SqlString elements and use the normal [property] syntax. You can build a CA that will do this as well, which is what I did. Good luck! Chris On Thu, Aug 7, 2008 at 5:01 PM, Nic Barden [EMAIL PROTECTED] wrote: Sorry forgot to mention I am running the latest WiX version - 3.0.4318.0. And SQL 2005 if that makes any difference. Hi guys, I am trying to use the SqlDatabase and SqlScript elements to install a database and run some scripts to generate stored procs and tables etc. What I would ideally like is the user to be able to specify the database name in the setup UI, and then use that within the scripts. The SqlDatabase element has a Database attribute which specifies the name of the database to create, so obviously this can be a WiX variable at runtime. However, inside the sql scripts I need to reference the name of the database also. I am unsure whether it is possible to pass parameters into the script at run time? How would this task normally be achieved? Do we have to hard code the database name and then manually change it? :-( Thanks for your help! - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Conditional install of feature
Hi All, I have a Wix2 setup that is designed to upgrade a product installation to a known level. The original installation was InstallShield/InstallScript based. The product is essentially made up of a Client component and a Server component. The install has a couple of FileSearch-es to set properties: !-- Is Rainbow 3 client installed? -- Property Id='RB3CLIENT' Value='N' DirectorySearch Id='RBClientDirectory' Path='c:\Program Files\Rainbow' FileSearch Id='RainbowExe' Name='rainbow.exe' / /DirectorySearch /Property !-- Is Rainbow 3 server installed? -- Property Id='RB3SERVER' Value='N' DirectorySearch Id='RBServerDirectory' Path='c:\Program Files\Rainbow' FileSearch Id='RBServicesExe' Name='rbfta.exe' / /DirectorySearch /Property The RB3CLIENT and RB3SERVER properties are then used in Conditions on Features: Feature Id=Client Title=Rainbow Client Level=0 Condition Level=1![CDATA[RB3CLIENT N]]/Condition ComponentRef Id=RainbowClientComponent / ComponentRef Id=RainbowSharedComponent / ComponentRef Id=RainbowHelpComponent / ComponentRef Id=VC80ATLComponent / ComponentRef Id=VC80CRTComponent / ComponentRef Id=VC80MFCComponent / /Feature Feature Id=Server Title=Rainbow Server Level=0 Condition Level=1![CDATA[[RB3SERVER N]]/Condition ComponentRef Id=RainbowServerComponent / ComponentRef Id=RainbowSharedComponent / ComponentRef Id=RainbowHelpComponent / ComponentRef Id=StoreProviderComponent / ComponentRef Id=VC80ATLComponent / ComponentRef Id=VC80CRTComponent / ComponentRef Id=VC80MFCComponent / /Feature My problem is that the Server component is never installed. Client seems to work ok (it installs and uninstalls fine). There is no UI option for the user to choose Features; it is worked out soley on the result of FileSearch-es. Any ideas? Thanks, Jeff About Microsoft Ireland: www.microsoft.com/ireland Microsoft Ireland Operations Limited. A company incorporated and registered in Ireland number 256796. Microsoft Ireland Research. A company incorporated and registered in Ireland number 342235. Registered office 70 Sir John Rogerson's Quay, Dublin 2, Ireland - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Vista uninstall from control panel
I didn't get anything interesting in the uninstall log... only the following: Error 1730. You must be an Administrator to remove this application. To remove this application, you can log on as an Administrator, or contact your technical support group for assistance. === Logging stopped: 11/08/2008 17:03:09 === -- View this message in context: http://www.nabble.com/Vista-uninstall-from-control-panel-tp18868009p18928783.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditional install of feature
What kind of upgrade are we looking at here? A major upgrade with ProductCode changes and Upgrade table entries? Or is the ProductCode the same as the original product? Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Eldridge Sent: Monday, August 11, 2008 6:36 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Conditional install of feature Hi All, I have a Wix2 setup that is designed to upgrade a product installation to a known level. The original installation was InstallShield/InstallScript based. The product is essentially made up of a Client component and a Server component. The install has a couple of FileSearch-es to set properties: !-- Is Rainbow 3 client installed? -- Property Id='RB3CLIENT' Value='N' DirectorySearch Id='RBClientDirectory' Path='c:\Program Files\Rainbow' FileSearch Id='RainbowExe' Name='rainbow.exe' / /DirectorySearch /Property !-- Is Rainbow 3 server installed? -- Property Id='RB3SERVER' Value='N' DirectorySearch Id='RBServerDirectory' Path='c:\Program Files\Rainbow' FileSearch Id='RBServicesExe' Name='rbfta.exe' / /DirectorySearch /Property The RB3CLIENT and RB3SERVER properties are then used in Conditions on Features: Feature Id=Client Title=Rainbow Client Level=0 Condition Level=1![CDATA[RB3CLIENT N]]/Condition ComponentRef Id=RainbowClientComponent / ComponentRef Id=RainbowSharedComponent / ComponentRef Id=RainbowHelpComponent / ComponentRef Id=VC80ATLComponent / ComponentRef Id=VC80CRTComponent / ComponentRef Id=VC80MFCComponent / /Feature Feature Id=Server Title=Rainbow Server Level=0 Condition Level=1![CDATA[[RB3SERVER N]]/Condition ComponentRef Id=RainbowServerComponent / ComponentRef Id=RainbowSharedComponent / ComponentRef Id=RainbowHelpComponent / ComponentRef Id=StoreProviderComponent / ComponentRef Id=VC80ATLComponent / ComponentRef Id=VC80CRTComponent / ComponentRef Id=VC80MFCComponent / /Feature My problem is that the Server component is never installed. Client seems to work ok (it installs and uninstalls fine). There is no UI option for the user to choose Features; it is worked out soley on the result of FileSearch-es. Any ideas? Thanks, Jeff About Microsoft Ireland: www.microsoft.com/ireland Microsoft Ireland Operations Limited. A company incorporated and registered in Ireland number 256796. Microsoft Ireland Research. A company incorporated and registered in Ireland number 342235. Registered office 70 Sir John Rogerson's Quay, Dublin 2, Ireland - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Votive auto-checkout bug in 3.0.4401.0
I have installed build 3.0.4401.0, 64 bit version and now when I try to modify a file that is not checked out, it does not let me. I have to manually check out the file first before making changes. Has this been reported yet? Thanks, Andy - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Equivalent of UPGRADINGPRODUCTCODE under MSI 4.0
I just realized that UPGRADINGPRODUCTCODE is an MSI 4.0 thing. How can I detect that the product is being uninstalled during a major upgrade for old versions of MSI? Thx dB. -dB. dblock.org http://www.dblock.org/ / foodcandy.com http://www.foodcandy.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Dynamically naming a database during its installation - WiX VERSION 3.0.4318.0
No, you're right, you can only assign explicit scripts. By load, I meant copy paste. The two elements have different capabilities, and unfortunately for you, you're looking for one that's only available with SqlString. You either have to cut paste your statements into the .wxs, or write your own CA to do the work. Chris On Mon, Aug 11, 2008 at 9:31 AM, Eitan Behar [EMAIL PROTECTED] wrote: Hi, Please, can you expand a little more on how to load the scripts into a sqlstring and use the properties? I only saw how to assign SqlString explicit scripts, and not reading the scripts from a .sql file in the Binary table. Thanks in advance, Eitan On Fri, Aug 8, 2008 at 12:40 AM, Christopher Karper [EMAIL PROTECTED] wrote: There is not anything built in to Wix right now that will let you use variables in SqlScripts. You can load them into SqlString elements and use the normal [property] syntax. You can build a CA that will do this as well, which is what I did. Good luck! Chris On Thu, Aug 7, 2008 at 5:01 PM, Nic Barden [EMAIL PROTECTED] wrote: Sorry forgot to mention I am running the latest WiX version - 3.0.4318.0. And SQL 2005 if that makes any difference. Hi guys, I am trying to use the SqlDatabase and SqlScript elements to install a database and run some scripts to generate stored procs and tables etc. What I would ideally like is the user to be able to specify the database name in the setup UI, and then use that within the scripts. The SqlDatabase element has a Database attribute which specifies the name of the database to create, so obviously this can be a WiX variable at runtime. However, inside the sql scripts I need to reference the name of the database also. I am unsure whether it is possible to pass parameters into the script at run time? How would this task normally be achieved? Do we have to hard code the database name and then manually change it? :-( Thanks for your help! - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Equivalent of UPGRADINGPRODUCTCODE under MSI 4.0
In article [EMAIL PROTECTED], dB. [EMAIL PROTECTED] writes: I just realized that UPGRADINGPRODUCTCODE is an MSI 4.0 thing. How can I detect that the product is being uninstalled during a major upgrade for old versions of MSI? Hmm... are you sure its only MSI 4? I swear I used this in MSI 2. -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download http://www.xmission.com/~legalize/book/download/index.html Legalize Adulthood! http://blogs.xmission.com/legalize/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Equivalent of UPGRADINGPRODUCTCODE under MSI 4.0
From: dB. I just realized that UPGRADINGPRODUCTCODE is an MSI 4.0 thing. How can I detect that the product is being uninstalled during a major upgrade for old versions of MSI? That's bad realization; if you're basing it on MSDN, you've been caught by some poor thinking (or rather, lack of thinking) on how to present the Requirements information. It requires WI 4.0 on Windows Server 2008 and Windows Vista, probably because that's the only version of WI supported on those OSes. It works with any version of WI on 2003, XP, and 2000. In other words, it works for all version of WI on all versions of Windows since 2000. Regards, jjf - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] wix sample for ms help 2.x
I have a .hxs file that contains MS Help 2.x content. Does anyone have any sample WIX code that illustrates how to build an installer for registering this content on a user's machine? Thanks. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Permission vs. PermissionEx and Users Group
According to http://msdn.microsoft.com/en-us/library/aa369774.aspx, you cannot specify the Users group, only Administrators or Everyone as the username for a Permission element. My first try for this was to use the WIX_ACCOUNT_USERS property, which is set as part of the WixQueryOsWellKnownSID custom action. This works great on Windows XP and Windows Vista. The problem is that under Windows 2000, the LocalService and NetworkService accounts don't exist, so the CA fails, even though I'm not referencing those properties (they get set in the same CA). I see two solutions... Either split the CA into WixQueryOsWellKnownSID and WixQueryOsWellKnownServiceSIDs so that if you don't need those ones, they won't run on Windows 2000 and won't have a problem. OR... Looking at the source code for CaExecSecureObjects which processes the PermissionEx element, it will properly lookup the SIDs for Users group, etc. So is WiX's PermissionEx as reliable as MSI's native LockObjects t able? If so, I can just use that and not worry about the CA working or failing. Cody Cutrer - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Shortcut to Folder example
Just to step back a bit what problem do you see? Does the source build ok, if it does do you get an error on install or do you see and error with the shortcut? Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Timo Hannukkala Sent: 11 August 2008 13:06 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Shortcut to Folder example my version(s) of WIX: 3.0.2925 and 3.0.4318 (tried this too, but I use visual studio 2005 to build packages with WIX, 3.0.4318 error/warning outputs are not very good, for some reason, it gives only error codes line number, but no the possible reason string why it gives an error). I think, my problem is very silly now. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Dynamically naming a database during its installation
Hi, I am willing to write the CA. Some writing using DFT sounds cool. But, the only solution that comes to my mind is: loop through the Binary table, export every Sql script, do a find and replace, import the Sql script back to the database. My scripts are pretty long, and I don't want to paste them into wix every time I change it. I prefer the approach, change script, push red button build and deploy. If you think about an easier way to custom action it, I will appreciate it. Thanks, Eitan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Karper Sent: Monday, August 11, 2008 8:10 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Dynamically naming a database during its installation - WiX VERSION 3.0.4318.0 No, you're right, you can only assign explicit scripts. By load, I meant copy paste. The two elements have different capabilities, and unfortunately for you, you're looking for one that's only available with SqlString. You either have to cut paste your statements into the .wxs, or write your own CA to do the work. Chris On Mon, Aug 11, 2008 at 9:31 AM, Eitan Behar [EMAIL PROTECTED] wrote: Hi, Please, can you expand a little more on how to load the scripts into a sqlstring and use the properties? I only saw how to assign SqlString explicit scripts, and not reading the scripts from a .sql file in the Binary table. Thanks in advance, Eitan On Fri, Aug 8, 2008 at 12:40 AM, Christopher Karper [EMAIL PROTECTED] wrote: There is not anything built in to Wix right now that will let you use variables in SqlScripts. You can load them into SqlString elements and use the normal [property] syntax. You can build a CA that will do this as well, which is what I did. Good luck! Chris On Thu, Aug 7, 2008 at 5:01 PM, Nic Barden [EMAIL PROTECTED] wrote: Sorry forgot to mention I am running the latest WiX version - 3.0.4318.0. And SQL 2005 if that makes any difference. Hi guys, I am trying to use the SqlDatabase and SqlScript elements to install a database and run some scripts to generate stored procs and tables etc. What I would ideally like is the user to be able to specify the database name in the setup UI, and then use that within the scripts. The SqlDatabase element has a Database attribute which specifies the name of the database to create, so obviously this can be a WiX variable at runtime. However, inside the sql scripts I need to reference the name of the database also. I am unsure whether it is possible to pass parameters into the script at run time? How would this task normally be achieved? Do we have to hard code the database name and then manually change it? :-( Thanks for your help! - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net
[WiX-users] How to author a patch to remove launch conditions of RTM msi
Hi, We have an issue where our RTM msi had some launch conditions that are preventing patches from being uninstalled. It was suggested that we create a uninstallable patch to remove that launch condition so that subsequent patches could be uninstalled. This seems like a simple thing to do, but I am new to patches and don't know where to start. How do I go about authoring a patch to remove launch conditions? Thanks, Shawn On Fri, Aug 8, 2008 at 1:49 PM, Shawn Dwyer [EMAIL PROTECTED] wrote: Thanks Bob. Do I need to do anything special so that MSI won't let the user install the product a second time? Without that Condition entry, the second time I run the installer it goes through the entire UI sequence, and then just disappears with no indication of what went wrong. I like the idea of an uninstallable minor upgrade patch that removes the launch condition. How do I author a patch to remove launch conditions? When following the instruction in Wix.chm (v2), when I create the updated installer.msi with new Package Id, should the rest of it be the same as the original installer.msi with possibly some new components, or should/can it just contain the Wix for installing the handful of files I want replaced/added in the patch? Thanks again, Shawn On Fri, Aug 8, 2008 at 11:48 AM, Bob Arnson [EMAIL PROTECTED] wrote: Shawn Dwyer wrote: I'm now in the process of creating our first patch, but unfortunately when I uninstall the patch this message is being shown and the patch fails to uninstall. I am able to uninstall the full product which removes the patch with it. Uninstalling a patch runs a repair of the unpatched product. (So likely your current product would likewise fail on repair.) You don't need a launch condition like that, because MSI will install a product only once (ignoring things like SxS installs and instance transforms.) You might try an uninstallable minor upgrade patch that removes the launch condition; other patches can target that minor upgrade as a new baseline. -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Unicode characters in MSI setup package?
Hi, Iâ019m using WIX 2 to create a MSI setup package for German users, so texts contain special Unicode characters like 'ö' and 'ü'. The encoding of my wxs file is UTF-8 with signature, but unfortunately candle.exe (2.0.5325.0) creates question marks (?) instead of these characters in MSI texts. What shall I do? Can WIX 2 support Unicode? I cannot found any specific command line switch of candle.exe. If WIX 2 cannot support such Unicode characters, I cannot use it at all. Thanks a lot for your replies and suggestions. Best, Nemzagi __ Egész nyáron szombat esti láz! http://videa.hu/videok/zene/mtv-icon-tribute-to-lgt-balaton-cokeclub-coketv-YUxNbEgI5kzWjLjP - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unicode characters in MSI setup package?
Have you set the codepage appropriately on your Product element? See the Code Page topic in the WiX documentation for more details. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nemzági Ferenc Sent: Monday, August 11, 2008 3:19 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Unicode characters in MSI setup package? Hi, Iâ019m using WIX 2 to create a MSI setup package for German users, so texts contain special Unicode characters like 'ö' and 'ü'. The encoding of my wxs file is UTF-8 with signature, but unfortunately candle.exe (2.0.5325.0) creates question marks (?) instead of these characters in MSI texts. What shall I do? Can WIX 2 support Unicode? I cannot found any specific command line switch of candle.exe. If WIX 2 cannot support such Unicode characters, I cannot use it at all. Thanks a lot for your replies and suggestions. Best, Nemzagi __ Egész nyáron szombat esti láz! http://videa.hu/videok/zene/mtv-icon-tribute-to-lgt-balaton-cokeclub-coketv-YUxNbEgI5kzWjLjP - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users Sample disclaimer text - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unicode characters in MSI setup package?
Hi Neil, Wow, your relpy was extremely fast, thanks a lot! I changed it Central Europan (1250), a it it works! Thanks again, Nemzagi Neil Enns [EMAIL PROTECTED] írta: Have you set the codepage appropriately on your Product element? See the Code Page topic in the WiX documentation for more details. Neil -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Nemzági Ferenc Sent: Monday, August 11, 2008 3:19 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Unicode characters in MSI setup package? Hi, Iâ019m using WIX 2 to create a MSI setup package for German users, so texts contain special Unicode characters like 'ö' and 'ü'. The encoding of my wxs file is UTF-8 with signature, but unfortunately candle.exe (2.0.5325.0) creates question marks (?) instead of these characters in MSI texts. What shall I do? Can WIX 2 support Unicode? I cannot found any specific command line switch of candle.exe. If WIX 2 cannot support such Unicode characters, I cannot use it at all. Thanks a lot for your replies and suggestions. Best, Nemzagi __ Egész nyáron szombat esti láz! http://videa.hu/videok/zene/mtv-icon-tribute-to-lgt-balaton-cokeclub-coketv-YUxNbEgI5kzWjLjP - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users Sample disclaimer text - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users __ Egész nyáron szombat esti láz! http://videa.hu/videok/zene/mtv-icon-tribute-to-lgt-balaton-cokeclub-coketv-YUxNbEgI5kzWjLjP - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Error LGHT0293
Hi, I'm trying to build a *.wxs file when I come across the error messages below. Does anyone know what exactly this means and where I can begin debugging the issue? Thanks! Microsoft (R) Windows Installer Xml Linker version 3.0.4318.0 Copyright (C) Microsoft Corporation. All rights reserved. light.exe : error LGHT0293 : Multiple files with ID 'MC3ADV.DLL' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'Merge.ini' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'Mergecom.app' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'Mergecom.pro' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'Mergecom.srv' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'Default.pfl' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'Diction.pfl' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'Info.pfl' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'MC3DCOMB.PFL' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'MC3ICOMB.CFG' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'Message.txt' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'Mrgcom3.dct' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'Mrgcom3.msg' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'Extend_string.properties.ORTHO' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'Extend_String.properties.CROSSROADS' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'ASYCFILT.DLL' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'STDOLE2.TLB' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'msstkprp.dll' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'OLEAUT32.DLL' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. light.exe : error LGHT0293 : Multiple files with ID 'OLEPRO32.DLL' exist. Windows Installer does not support file IDs that differ only by case. Change the file IDs to be unique. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Installing PFX certificates to Trusted Root?
Hello All, (I'm responding months after having posted my initial question, doh!) Thanks Rob, for the clue about PFX passwords. After some experimentation I realized that (1) the PFX I was given has an empty password, and (2) Wix 3.03907 does not allow me to include an empty string as the value of the PFXPassword attribute. To further confirm, I manually imported the PFX, then exported it making sure to give it a non-empty password. I then rebuilt the MSI to use the newly exported PFX. Sure enough, it worked. So is it indeed impossible to install a PFX that has an empty string for a password? Raj -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Thursday, May 08, 2008 3:34 PM To: Tanikella, Rajanikanth (SCR US); wix-users@lists.sourceforge.net Subject: RE: Installing PFX certificates to Trusted Root? Error 0x80070056 == ERROR_INVALID_PASSWORD in winerror.h Error 0x80070003 == ERROR_PATH_NOT_FOUND in winerror.h Hopefully, those can help diagnose the issue. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tanikella, Rajanikanth (SCR US) Sent: Thursday, May 08, 2008 09:24 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Installing PFX certificates to Trusted Root? Hello All, I see a number of examples regarding iis:Certificate, but none quite does what I need. I am trying to get my MSI to import a PFX file into the set of Trusted Root Certification Authorities. I made an MSI that intends to do nothing more than this. (If I can get that right I'll roll it into a larger MSI that does some IIS web configuration.) My code is as follows: Directory Id=TARGETDIR Name=SourceDir Component Id=RootCertComponent Guid={40BF09F0-A8F0-4eb8-9A72-6B4F64637326} iis:Certificate Id=Certifimacate Name=Certifimacate.pfx Request=no BinaryKey=Certifimacate.pfx StoreName=root StoreLocation=localMachine/ /Component /Directory Binary Id=Certifimacate.pfx SourceFile=C:\Documents and Settings\GMS_admin\My Documents\Visual Studio 2005\Projects\CertificatePrototype\CertificatePrototype\Certifimacate.pf x / Feature Id=ProductFeature Title=CertificatePrototype Level=1 ComponentRef Id=RootCertComponent/ /Feature When I run this it consistently fails with: Action start 12:05:22: InstallCertificates. MSI (s) (0C:78) [12:05:22:562]: Creating MSIHANDLE (6) of type 790542 for thread 888 MSI (s) (0C:D8) [12:05:22:562]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI3.tmp, Entrypoint: InstallCertificates ... (Creating and closing MSIHANDLEs) InstallCertificates: Error 0x80070056: Failed to open PFX file. ... (Creating and closing MSIHANDLEs) InstallCertificates: Error 0x80070056: Failed to get SHA1 hash of certificate. ... (Creating and closing MSIHANDLEs) InstallCertificates: Error 0x80070056: Failed to resolve certificate: Certifimacate ... (Closing MSIHANDLEs) Action ended 12:05:22: InstallCertificates. Return value 3. MSI (s) (0C:78) [12:05:22:906]: Machine policy value 'DisableRollback' is 0 MSI (s) (0C:78) [12:05:22:906]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\R ollback\Scripts 3: 2 MSI (s) (0C:78) [12:05:22:921]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\R ollback\Scripts 3: 2 MSI (s) (0C:78) [12:05:22:921]: Calling SRSetRestorePoint API. dwRestorePtType: 13, dwEventType: 103, llSequenceNumber: 26, szDescription: . MSI (s) (0C:78) [12:05:22:984]: The call to SRSetRestorePoint API succeeded. Returned status: 0. MSI (s) (0C:78) [12:05:22:984]: Unlocking Server Action ended 12:05:22: INSTALL. Return value 3. I have also tried using a File element to hold the certificate instead of a Binary element, but the log, in that case, shows: InstallCertificates: Error 0x80070003: Failed to read PFX file: C:\Certificates\Certifimacate.pfx ... InstallCertificates: Error 0x80070003: Failed to read certificate from file path. ... InstallCertificates: Error 0x80070003: Failed to resolve certificate: Certifimacate In both cases, I have noticed the following in the log: MSI (c) (E0:4C) [12:05:13:375]: Machine policy value 'AlwaysInstallElevated' is 0 MSI (c) (E0:4C) [12:05:13:375]: User policy value 'AlwaysInstallElevated' is 0 MSI (c) (E0:4C) [12:05:13:390]: Running product '{DF7890DA-6620-40C1-9FAE-08AC9771DCBF}' with user privileges: It's not assigned. ... MSI (s) (0C:78) [12:05:13:890]: Machine policy value 'AlwaysInstallElevated' is 0 MSI (s) (0C:78) [12:05:13:890]: User policy value 'AlwaysInstallElevated' is 0 MSI (s) (0C:78) [12:05:13:890]: Running product '{DF7890DA-6620-40C1-9FAE-08AC9771DCBF}' with user privileges: It's not assigned. I'm not sure if that matters. I am executing it as an AdminUser (the MSI actually tests that condition.) Can anyone point out what I'm doing wrong here? This behavior
Re: [WiX-users] How to author a patch to remove launch conditions of RTM msi
In article [EMAIL PROTECTED], Shawn Dwyer [EMAIL PROTECTED] writes: This seems like a simple thing to do, but I am new to patches and don't know where to start. How do I go about authoring a patch to remove launch conditions? Make an administrative image of your deployed product. Make a copy of this administrative image. In the copy, use Orca to remove the offending launch conditions. Then use patchwiz.dll and msimsp to create a patch that transforms the deployed image to the updated image. This involves creating a patch creation properties (PCP) file, which is just an MSI with some tables defining the patch properties. You feed the PCP file to msimsp and it grinds its way through the two images to produce the patch as an MSP file. I'd suggest reading the SDK documentation on patching and doing some experiments with this before you deploy any patches you generate. Also, make sure your image passes ICEs properly before generating the patch -- if the ICEs fail, its most likely going to cause problems with the patch. You'll have to incorporate any changes in the updated image to correct the ICE errors along with removing the launch conditions. I'd also recommend reading the chapter in The Definitive Guide to Windows Installer on servicing and upgrades. It has additional information that helps make the process clear. Don't rely on InstallSUCK documentation; it is woefully inadequate. -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download http://www.xmission.com/~legalize/book/download/index.html Legalize Adulthood! http://blogs.xmission.com/legalize/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unicode characters in MSI setup package?
Glad to help! -Original Message- From: Nemzági Ferenc [EMAIL PROTECTED] Sent: Monday, August 11, 2008 3:31 PM To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Unicode characters in MSI setup package? Hi Neil, Wow, your relpy was extremely fast, thanks a lot! I changed it Central Europan (1250), a it it works! Thanks again, Nemzagi Neil Enns [EMAIL PROTECTED] írta: Have you set the codepage appropriately on your Product element? See the Code Page topic in the WiX documentation for more details. Neil -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Nemzági Ferenc Sent: Monday, August 11, 2008 3:19 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Unicode characters in MSI setup package? Hi, Iâ019m using WIX 2 to create a MSI setup package for German users, so texts contain special Unicode characters like 'ö' and 'ü'. The encoding of my wxs file is UTF-8 with signature, but unfortunately candle.exe (2.0.5325.0) creates question marks (?) instead of these characters in MSI texts. What shall I do? Can WIX 2 support Unicode? I cannot found any specific command line switch of candle.exe. If WIX 2 cannot support such Unicode characters, I cannot use it at all. Thanks a lot for your replies and suggestions. Best, Nemzagi __ Egész nyáron szombat esti láz! http://videa.hu/videok/zene/mtv-icon-tribute-to-lgt-balaton-cokeclub-coketv-YUxNbEgI5kzWjLjP - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users Sample disclaimer text - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users __ Egész nyáron szombat esti láz! http://videa.hu/videok/zene/mtv-icon-tribute-to-lgt-balaton-cokeclub-coketv-YUxNbEgI5kzWjLjP - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users Sample disclaimer text - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Dynamically naming a database during its installation
I built an extension that uses SqlFormattedScript elements. It's basically just SqlScript, plus formatting. I used the same design, up to and including the table it stores into in the final MSI DB. I just rename it for my own purposes. I then take advantage of the fact that SqlScript elements just schedule sql for running in a deferred CA, and I load the scripts in myself in a DTF CA, and schedule them the same way. I also make sure to load in the WixSqlExtension stuff, including it's CA's. I did it at work, and if they're fine with me sharing that, then I'll be happy to do so. I would assume it wouldn't be included as part of the official distro, since it's DTF dependent, not all native. Worst case, you could reimplement using this design, as it works like a champ for me. Chris On Mon, Aug 11, 2008 at 2:36 PM, Eitan Behar [EMAIL PROTECTED] wrote: Hi, I am willing to write the CA. Some writing using DFT sounds cool. But, the only solution that comes to my mind is: loop through the Binary table, export every Sql script, do a find and replace, import the Sql script back to the database. My scripts are pretty long, and I don't want to paste them into wix every time I change it. I prefer the approach, change script, push red button build and deploy. If you think about an easier way to custom action it, I will appreciate it. Thanks, Eitan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Karper Sent: Monday, August 11, 2008 8:10 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Dynamically naming a database during its installation - WiX VERSION 3.0.4318.0 No, you're right, you can only assign explicit scripts. By load, I meant copy paste. The two elements have different capabilities, and unfortunately for you, you're looking for one that's only available with SqlString. You either have to cut paste your statements into the .wxs, or write your own CA to do the work. Chris On Mon, Aug 11, 2008 at 9:31 AM, Eitan Behar [EMAIL PROTECTED] wrote: Hi, Please, can you expand a little more on how to load the scripts into a sqlstring and use the properties? I only saw how to assign SqlString explicit scripts, and not reading the scripts from a .sql file in the Binary table. Thanks in advance, Eitan On Fri, Aug 8, 2008 at 12:40 AM, Christopher Karper [EMAIL PROTECTED] wrote: There is not anything built in to Wix right now that will let you use variables in SqlScripts. You can load them into SqlString elements and use the normal [property] syntax. You can build a CA that will do this as well, which is what I did. Good luck! Chris On Thu, Aug 7, 2008 at 5:01 PM, Nic Barden [EMAIL PROTECTED] wrote: Sorry forgot to mention I am running the latest WiX version - 3.0.4318.0. And SQL 2005 if that makes any difference. Hi guys, I am trying to use the SqlDatabase and SqlScript elements to install a database and run some scripts to generate stored procs and tables etc. What I would ideally like is the user to be able to specify the database name in the setup UI, and then use that within the scripts. The SqlDatabase element has a Database attribute which specifies the name of the database to create, so obviously this can be a WiX variable at runtime. However, inside the sql scripts I need to reference the name of the database also. I am unsure whether it is possible to pass parameters into the script at run time? How would this task normally be achieved? Do we have to hard code the database name and then manually change it? :-( Thanks for your help! - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Shortcut to Folder example
No more problems. Registry key's root was just incorrect. When I changed back to 3.0.2925, I could see real error string. Not sure why, but in non advertised shortcuts there must be registry key to HKCU, but that solved the problem. Timo Neil Sleightholm wrote: Just to step back a bit what problem do you see? Does the source build ok, if it does do you get an error on install or do you see and error with the shortcut? Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Timo Hannukkala Sent: 11 August 2008 13:06 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Shortcut to Folder example my version(s) of WIX: 3.0.2925 and 3.0.4318 (tried this too, but I use visual studio 2005 to build packages with WIX, 3.0.4318 error/warning outputs are not very good, for some reason, it gives only error codes line number, but no the possible reason string why it gives an error). I think, my problem is very silly now. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://www.nabble.com/Shortcut-to-Folder-example-tp18897432p18937489.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Unable to Checkout/Checkin wxs files in VS2008 TFS
I upgraded last week from version 3.0.3725.0 of Wix that came (I believe) with Visual Studio 2008 to 3.0.4401.0 (32bit in all cases) and now I've found I am unable to use the source control functionality within Visual Studio. Specifically I've tried to checkout a wxs file I need to add a single file to and rebuild it but I cannot find a way of checking out the file, and like Andy Kwak (Votive auto-checkout bug in 3.0.4401.0) I find I cannot make changes to the file and save them without first checking the file out. Have I misinstalled the newer version because I had a look for installation steps but couldn't find any outside of install it to update your Wix3 installation. For the time being I've managed to rollback to 3.0.3725.0 that we have in an archive location but I would like to upgrade to the latest at some point but this is preventing us from doing that and any help would be much appreciated. Regards, Phil. National Australia Bank Ltd - ABN 12 004 044 937 This email may contain confidential information. If you are not the intended recipient, please immediately notify us at [EMAIL PROTECTED] or by replying to the sender, and then destroy all copies of this email. Except where this email indicates otherwise, views expressed in this email are those of the sender and not of National Australia Bank Ltd. Advice in this email does not take account of your objectives, financial situation, or needs. It is important for you to consider these matters and, if the e-mail refers to a product(s), you should read the relevant Product Disclosure Statement(s)/other disclosure document(s) before making any decisions. If you do not want email marketing from us in future, forward this email with unsubscribe in the subject line to [EMAIL PROTECTED] in order to stop marketing emails from this sender. National Australia Bank Ltd does not represent that this email is free of errors, viruses or interference. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users