Re: [WiX-users] HKCU registry settings
Damitha Bogahawatta wrote: Hi, I am trying to set a registry key in HKCU area and have that registry key applied to all users on the PC and new accounts created on the PC. I have created a component with the registry key and set the KeyPath='yes', but it only applies to the current user. When I logon as the second user I don't see it. AFAIK this is impossible. You might be able to get it in the default registry for new users (although I'm not sure this is a good idea) but you can't access other users directly. Put the key in HKLM and have your application copy the data it needs to HKCU when it's run by the user. Tony - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] What is the use of an application (.exe) GUID ?
Hi, Following is quoted from WIX Tutorial. Component Id='MainExecutable' Guid='YOURGUID-83F1-4F22-985B-FDB3C8ABD471' File Id='FoobarEXE' Name='Foobar10.exe' LongName='FoobarAppl10.exe' DiskId='1'Source='FoobarAppl10.exe' Vital='yes' I wish to know what is the purpose of that Guid. Besides that, can WIX search for that GUID before installing a program to make sure that program has not been installed previously ? ( Note : in my case, the product GUID can be same but not the program ). Cheers ! -- View this message in context: http://www.nabble.com/What-is-the-use-of-an-application-%28.exe%29-GUID---tf3599651.html#a10054583 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Passing Parameters to the Merge Modules.
Hi I'm new to WIX. I'm opting to use Merge modules instead of nested msi. Can someone throw some light on how to send parameters /properties to the included merge modules ? Thanks in Advance. -Lav Kumar Gupta - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Making the installer use the LongName of a Directory
Well, I think I might have figured out how to get around the problem, by having the directory already exist, but when I run the installer, the short name for the installation directory comes up under Custom instead of the Long name. For example if Name=VCP and LongName=Vehix Consumer Portal, and the directory Vehix Consumer Portal does not exist, then the default for the installer is VCP for the installation directory. Nathan On 4/17/07, Bob Arnson [EMAIL PROTECTED] wrote: Nathan Lane wrote: Is it possible and how does one, assuming it is possible, make the installer use the LongName attribute of a Directory tag? It does -- so can you explain in more detail the problem you're seeing? -- sig://boB http://bobs.org -- Nathan Lane - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Stupid question about the property element
Hi all, I have a property: Property Id='Product' Value='MyProductName'/ Then I use this property value in the Registry element Registry Root='HKCU' Key='Software\[Product]' Name='SomeVal' Action='write' Type='string'/ It will create HKCU\Software\MyProductName. So far Ok. However if I try doing the same with directory element, it fails to work directory Id=SomeId Name=Prod~1 LongName='[Product]' LongName in this case will be [Product], not MyProductName Why the property is not substituted with its value in the case of directory element? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Forcing a .NET 2.0 install as a prerequisite
?xml version=1.0 encoding=utf-8 ? VisualStudioProject WindowsInstallerXML ProductVersion=2.0.4820.0 ProjectGuid={2BE447ED-089A-4AB2-826D-7BE4E037C7C7} SchemaVersion=1.0 BuildSettings OutputName=Project OutputType=MSI / Configurations Configuration Name=Debug RelativeOutputDirectory=bin\Debug RelativeIntermediateDirectory=obj\Debug / Configuration Name=Release RelativeOutputDirectory=bin\Release RelativeIntermediateDirectory=obj\Release / /Configurations WixlibReferences / Files File RelativePath=Installer.wxs / File RelativePath=Files.wxs / /Files /WindowsInstallerXML /VisualStudioProject is my whole wixproj file, I don't seem to have the Wix.targets anywhere. Installer.wxs is the main Wix file with the product, errormessages, actions etc. Files.wxs is project spesific files (the components, linked mergefiles etc). Don't quite see where i should add your XML nor how that would function? Sincerely Thomas On 4/17/07, Michael Collins [EMAIL PROTECTED] wrote: I use the MSBuild GenerateBootstrapper task to create a bootstrapper to install .NET 2.0, 3.0, and other dependencies. It's fairly easy to add to your build process if you're running MSBuild. If you're using Votive, edit your .wixproj project file and add the following code to the bottom of your .wixproj file, before and after it imports the Wix.targets file. ItemGroup BootstrapperItem Include=Microsoft.Net.Framework.2.0 ProductNameMicrosoft .NET Framework 2.0/ProductName /BootstrapperItem BootstrapperItem Include={511DAC48-6CBB-43a3-A64D-0182F2A9EBC2} ProductNameMicrosoft .NET Framework 3.0/ProductName /BootstrapperItem /ItemGroup Target Name=GenerateBootstrapper GenerateBootstrapper ApplicationName=My Application ApplicationFile=$(TargetFileName) BootstrapperItems=@(BootstrapperItem) ComponentsLocation=HomeSite OutputPath=$(OutputPath) Culture=en-US / /Target Import Project=$(WixToolPath)\Wix.targets / PropertyGroup BuildDependsOn PrepareForBuild; Compile; Link; GenerateBootstrapper /BuildDependsOn /PropertyGroup -- *From*: Thomas Bjørnsen [EMAIL PROTECTED] *Sent*: Tuesday, April 17, 2007 6:43 AM *To*: wix-users@lists.sourceforge.net *Subject*: [WiX-users] Forcing a .NET 2.0 install as a prerequisite Is there any way to make WIX install .NET 2.0 if it doesn't find it (currently i just check if it exists with a FileSearch to check mscoree.dll for version 2.0). I guess some kind of bootstrapper? And if I want a feature to only install on windows 2k/XP is it enough to create the feature and put a conditional OS Version check inside it? Will WIX install multiple features even though the user doesn't have the option of touching features (mainfeature + extrafeature for 2k/XP)? Thx -T - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Forcing a .NET 2.0 install as a prerequisite
Sorry...my bad. It looks like you're using WiX 2.0. WiX 3.0/Votive is now producing MSBuild-based project files, which is how my script below works. It's been a while since I've used WiX 2.0. One option would be to create a custom MSBuild script and include the bootstrapper tasks in that script. You can then run that script after your installer is built to create the bootstrapper program. From: Thomas Bjørnsen [EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 6:15 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Forcing a .NET 2.0 install as a prerequisite ?xml version=1.0 encoding=utf-8 ? VisualStudioProject WindowsInstallerXML ProductVersion=2.0.4820.0 ProjectGuid={2BE447ED-089A-4AB2-826D-7BE4E037C7C7} SchemaVersion=1.0 BuildSettings OutputName=Project OutputType=MSI / Configurations Configuration Name=Debug RelativeOutputDirectory=bin\Debug RelativeIntermediateDirectory=obj\Debug / Configuration Name=Release RelativeOutputDirectory=bin\Release RelativeIntermediateDirectory=obj\Release / /Configurations WixlibReferences / Files File RelativePath=Installer.wxs / File RelativePath=Files.wxs / /Files /WindowsInstallerXML /VisualStudioProject is my whole wixproj file, I don't seem to have the Wix.targets anywhere. Installer.wxs is the main Wix file with the product, errormessages, actions etc. Files.wxs is project spesific files (the components, linked mergefiles etc). Don't quite see where i should add your XML nor how that would function? Sincerely Thomas On 4/17/07, Michael Collins [EMAIL PROTECTED] wrote: I use the MSBuild GenerateBootstrapper task to create a bootstrapper to install .NET 2.0, 3.0, and other dependencies. It's fairly easy to add to your build process if you're running MSBuild. If you're using Votive, edit your .wixproj project file and add the following code to the bottom of your .wixproj file, before and after it imports the Wix.targets file. ItemGroup BootstrapperItem Include= Microsoft.Net.Framework.2.0 ProductNameMicrosoft .NET Framework 2.0/ProductName /BootstrapperItem BootstrapperItem Include={511DAC48-6CBB-43a3-A64D-0182F2A9EBC2} ProductNameMicrosoft .NET Framework 3.0/ProductName /BootstrapperItem /ItemGroup Target Name=GenerateBootstrapper GenerateBootstrapper ApplicationName=My Application ApplicationFile=$(TargetFileName) BootstrapperItems=@(BootstrapperItem) ComponentsLocation=HomeSite OutputPath=$(OutputPath) Culture=en-US / /Target Import Project=$(WixToolPath)\Wix.targets / PropertyGroup BuildDependsOn PrepareForBuild; Compile; Link; GenerateBootstrapper /BuildDependsOn /PropertyGroup From: Thomas Bjørnsen [EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 6:43 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Forcing a .NET 2.0 install as a prerequisite Is there any way to make WIX install .NET 2.0 if it doesn't find it (currently i just check if it exists with a FileSearch to check mscoree.dll for version 2.0). I guess some kind of bootstrapper? And if I want a feature to only install on windows 2k/XP is it enough to create the feature and put a conditional OS Version check inside it? Will WIX install multiple features even though the user doesn't have the option of touching features (mainfeature + extrafeature for 2k/XP)? Thx -T - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] CustomAction DLL (type 1) with dependencies - help
I have a CustomAction DLL that was working just fine. However, I recently updated it and it now depends on another DLL. That DLL isn't a typical system DLL and is not already on the system. I can't seem to figure out WHERE to put the DLL so that it is available when the CustomAction is invoked. It is not as simple as putting it in the install directory. That fails with a 3 - not found. I want to avoid installing it into the SystemFolder if possible. It is a private DLL and I don't want to contribute to DLL-HELL. Expanding my knowledge of WiX, Robert - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problem with Directory attribute in IniFile element
-Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 10:51 PM Lorne Laliberte wrote: ...but the any other property representing a full path part doesn't seem to hold true. Seems wrong -- the MSI doc is the definitive answer and it clearly supports a property. Can you enter a bug? It looks like it's a compiler bug. Bug submitted. (I put it in the candle group.) Thanks Bob. :) - Lorne Laliberte - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Localization question
Me again :P got some more questions regarding WIX I can't quite figure out. If I set the Language/Languages properties of the Product/Package tags to say 1044 for Norwegian, should not error-messages be shown in Norwegian then? I checked out WixUI_en-us.wxl and WixUI_no-no.wxl, why do they only have 1938 of the 3010 errormessages there are? Can I build a WXL localization file that will replace the text of UIText, ProgressText and Error in a custom Wix project (not based on WixUI)? If so what are the appropriate steps? I tried as a test to replace Property Id=ButtonText_Next![CDATA[Next ]]/Property with Property Id=ButtonText_Next![CDATA[Testprop ]]/Property in WixEdit the buttons showed Testprop, but after compiling the MSI and running it the MSI still showed Next why? Sincerely -Thomas - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Forcing a .NET 2.0 install as a prerequisite
Yes I am using Wix 2.0 I will check out 3.0/Votive to see if it's any easier there and if it doesn't break what I already have. I have little experience with MSBuild so the whole scriptingpart made little sense to me to be honest. -Thomas On 4/18/07, Michael Collins [EMAIL PROTECTED] wrote: Sorry...my bad. It looks like you're using WiX 2.0. WiX 3.0/Votive is now producing MSBuild-based project files, which is how my script below works. It's been a while since I've used WiX 2.0. One option would be to create a custom MSBuild script and include the bootstrapper tasks in that script. You can then run that script after your installer is built to create the bootstrapper program. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Stupid question about the property element
I have a property: Property Id='Product' Value='MyProductName'/ Then I use this property value in the Registry element Registry Root='HKCU' Key='Software\[Product]' Name='SomeVal' Action='write' Type='string'/ It will create HKCU\Software\MyProductName. So far Ok. However if I try doing the same with directory element, it fails to work directory Id=SomeId Name=Prod~1 LongName='[Product]' LongName in this case will be [Product], not MyProductName Why the property is not substituted with its value in the case of directory element? The short answer is those 'static' properties don't work in a Directory element. You can however use a search property, e.g. a property that is set using a child DirectorySearch element. I think you can also use a property that is set using a Type 51 action, if it's sequenced early enough. (In other words a property that is set using a custom action's default value.) You could also use a type 35 custom action to set the Directory table entry value directly, which is similar to a Type 51 custom action only you use the Directory attribute instead of the Property attribute. IIRC you can also use a property that is set on the command line. But a regular property set using a Property element by itself won't work. - Lorne Laliberte - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Localization question
Thomas Bjørnsen wrote: Me again :P got some more questions regarding WIX I can't quite figure out. If I set the Language/Languages properties of the Product/Package tags to say 1044 for Norwegian, should not error-messages be shown in Norwegian then? The language settings just refer to what text the MSI can handle. This is so you can tell it the text is actually Japanese, say, so it doesn't get it completely wrong when it tries to interpret the characters as English. You still have to enter the actual language specific strings for the errors. If you're talking about message shown by the system, rather than Windows Installer, then these will still be in whatever language the OS is using. Rob Sincerely -Thomas - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Localization question
Are you sure you're using the Norwegian localization file during your final link? (Are you saying some text is localized and some isn't?) Rennie From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Bjørnsen Sent: 18. april 2007 16:54 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Localization question Me again :P got some more questions regarding WIX I can't quite figure out. If I set the Language/Languages properties of the Product/Package tags to say 1044 for Norwegian, should not error-messages be shown in Norwegian then? I checked out WixUI_en-us.wxl and WixUI_no-no.wxl, why do they only have 1938 of the 3010 errormessages there are? Can I build a WXL localization file that will replace the text of UIText, ProgressText and Error in a custom Wix project (not based on WixUI)? If so what are the appropriate steps? I tried as a test to replace Property Id=ButtonText_Next![CDATA[Next ]]/Property with Property Id=ButtonText_Next![CDATA[Testprop ]]/Property in WixEdit the buttons showed Testprop, but after compiling the MSI and running it the MSI still showed Next why? Sincerely -Thomas - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] CustomAction DLL (type 1) with dependencies - help
Robert, Where is the custom action called from - where is it scheduled? Is it deferred? - Brett -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Randall Sent: Wednesday, April 18, 2007 9:40 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] CustomAction DLL (type 1) with dependencies - help I have a CustomAction DLL that was working just fine. However, I recently updated it and it now depends on another DLL. That DLL isn't a typical system DLL and is not already on the system. I can't seem to figure out WHERE to put the DLL so that it is available when the CustomAction is invoked. It is not as simple as putting it in the install directory. That fails with a 3 - not found. I want to avoid installing it into the SystemFolder if possible. It is a private DLL and I don't want to contribute to DLL-HELL. Expanding my knowledge of WiX, Robert -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] CustomAction DLL (type 1) with dependencies - help
Yeah, this scenario doesn't work well at all. The ideal is that your CustomActions have as few dependencies on the system as possible. My suggestion is always that CustomActions should only depend on stuff that ships with lowest OS you support out of the box. Typically, this means sharing code between the actual DLL and the CustomAction DLL via .lib files... or reducing the CustomAction to not do as much work. It really depends on the situation. You'll find your world works out far better this way. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Randall Sent: Wednesday, April 18, 2007 7:40 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] CustomAction DLL (type 1) with dependencies - help I have a CustomAction DLL that was working just fine. However, I recently updated it and it now depends on another DLL. That DLL isn't a typical system DLL and is not already on the system. I can't seem to figure out WHERE to put the DLL so that it is available when the CustomAction is invoked. It is not as simple as putting it in the install directory. That fails with a 3 - not found. I want to avoid installing it into the SystemFolder if possible. It is a private DLL and I don't want to contribute to DLL-HELL. Expanding my knowledge of WiX, Robert - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] HKCU registry settings
I'm guessing you're expecting to see the key show up for other users because it's a keypath, right? If so, you won't see that key when you log on as the other user, only when you do something that causes the install-on-demand to take place (is the keypath in a feature in which there is a shortcut?) Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damitha Bogahawatta Sent: Tuesday, April 17, 2007 8:37 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] HKCU registry settings Hi, I am trying to set a registry key in HKCU area and have that registry key applied to all users on the PC and new accounts created on the PC. I have created a component with the registry key and set the KeyPath='yes', but it only applies to the current user. When I logon as the second user I don't see it. Any help is appreciated. Code is as follows: Component Id='CMP001' Guid='914A4D42-ED38-11DB-8FEC-33B455D89593' Registry Id='REG001' Root='HKCU' Action='write' Key='Software\Test' KeyPath='yes' Type='string' Name='LocalAppPath' Value='C:\apppath' / /Component Thanks, - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] ConfigureSQL Leaked MSIHANDLE
I've looked back and seen that there's some history to this problem. I'm wondering if a solution has been found and implemented. I'm using wix version 2.0.4820.0 and now encountering this problem 100% of the time in the last 2 builds during silent installs only. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ConfigureSQL Leaked MSIHANDLE
Hmm. Can you quickly try the latest WiX v2 release: http://wix.sourceforge.net/releases/2.0.5213.0/. That should quickly tell us if there is still a problem. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Tasanasanta Sent: Wednesday, April 18, 2007 10:24 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] ConfigureSQL Leaked MSIHANDLE I've looked back and seen that there's some history to this problem. I'm wondering if a solution has been found and implemented. I'm using wix version 2.0.4820.0 and now encountering this problem 100% of the time in the last 2 builds during silent installs only. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] UpgradeScenario: CopyFile Problem
I've an upgrade scenario where I'm copying one file from the version 1 to version 2. Product gets installed in the PROGRAMFILES\Product\VersionNo folder so both of the version will have different directories and I'm copying the config file from product\V1 to Product\V2 for that I created a wxs file like this. Property Id=EXISTINGINSTALLPATH !-- search for the existing component -- ComponentSearch Id=.. Guid=..Type=file/ /Property Component Id=CopyConfig Guid=3392C1A2-2F93-4ee1-9DA7-2F610B646FDB Location=local DiskId=1 Condition MAJOR_UPGRADE /Condition CopyFile Id=ConfigFileCopy SourceName=FileName.Config SourceProperty=OLD_CONFIG_INSTALLPATH DestinationProperty=TARGETDIR/ /Component Component Id=Config Guid=84649C50-015B-42AE-8944-C2490F8521BC Location=local DiskId=1 Condition NOT MAJOR_UPGRADE /Condition File Id=ConfigFile Name=fn.cfg LongName=FileName.Config KeyPath=yes src=$(var.InstallBinDir)\FileName.Config /File /Component Feature Id=SomeId Title=Complete Description=Description Level=1 InstallDefault=local TypicalDefault=install AllowAdvertise=no ComponentRef Id=CopyConfig / ComponentRef Id=Config / /Feature InstallExecuteSequence ... FindRelatedProducts / ... RemoveExistingProducts After=InstallFinalize / /InstallExecuteSequence Is this the correct way to copy the file ? All the properties are set correctly I can see their correct value in the log but it doesn't copy the file from source to destination neither do I get any error. Regards Sandeep __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] CustomAction DLL (type 1) with dependencies - help
The CA is sequence 6701 (post GAC update). The DLL is using DIFxAPI and the dependency is the difxapi.dll. I'll attempt a work-a-round by using the standard DIFx support and adjusting my strategy a bit. I'm installing drivers for virtual devices so I have to use the SetupAPI to create the device instances. I was hoping to do it all in a bit of code in a DLL (since I already have it all and, well, every problem is solved by more code, right?). I'll try pre-installing the drivers with standard DIFx support and then creating the devices after the fact. That may work just fine. Stay tuned... -Robert. -Original Message- From: [EMAIL PROTECTED] [mailto:wix-users- [EMAIL PROTECTED] On Behalf Of Brett Kapilik Sent: Wednesday, April 18, 2007 10:03 AM To: Robert Randall; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] CustomAction DLL (type 1) with dependencies - help Robert, Where is the custom action called from - where is it scheduled? Is it deferred? - Brett -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Randall Sent: Wednesday, April 18, 2007 9:40 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] CustomAction DLL (type 1) with dependencies - help I have a CustomAction DLL that was working just fine. However, I recently updated it and it now depends on another DLL. That DLL isn't a typical system DLL and is not already on the system. I can't seem to figure out WHERE to put the DLL so that it is available when the CustomAction is invoked. It is not as simple as putting it in the install directory. That fails with a 3 - not found. I want to avoid installing it into the SystemFolder if possible. It is a private DLL and I don't want to contribute to DLL-HELL. Expanding my knowledge of WiX, Robert -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users --- -- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Modify a Pre-Existing Service with WiX?
You could just modify the appropriate registry key and mark it to left on uninstall. Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state Value: Start Change the value data from 3 to 2. I suspect this is something that is frowned upon but that is what I would do. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Parker Sent: 17 April 2007 20:29 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Modify a Pre-Existing Service with WiX? We're noticing on many of our client machines the ASP.NET State Service is set to Manual, and we need to configure it to instead be Automatic as part of the installation. We don't want to create a new State Service, so it doesn't seem that ServiceInstall is appropriate, and it doesn't look like ServiceControl or ServiceConfig quite do the trick. Anything I'm missing here, or is this looking to be a CustomAction? Thanks, -Scott -- Scott Parker 773-603-6197 (cell) [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Modify a Pre-Existing Service with WiX?
On 4/18/07, Neil Sleightholm [EMAIL PROTECTED] wrote: You could just modify the appropriate registry key and mark it to left on uninstall. Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state Value: Start Change the value data from 3 to 2. I suspect this is something that is frowned upon but that is what I would do. Neil Ah, perfect! That's just what I was hoping for, thank you so much. I don't care if it's a bit hacky as it seems simple and straightforward to take care of it. Thank you. -Scott - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Overwriting Files
Is there a way to ensure that a file on the target machine will get overwritten regardless of versioning rules (the files don't have versions nor am I in a position to ensure they do)? I have three installers: the third installer will overwrite some files of the first two and add other files. I tried using REINSTALLMODE, but it appears that it aborts the installation (because it's not an upgrade of a previous install?). I thought of deleting the files if they already exist, but I do not think that is a very practical solution. If anyone has any suggestions, I'd appreciate it. Matt Anderson - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Errata
Matt Anderson matt at andrsn.net writes: I tried using REINSTALLMODE, but it appears that it aborts the installation (because it's not an upgrade of a previous install?). The installation does not abort. It just says that the installation was sucessfull, but it in fact did nothing. No errors were thrown even though each file was marked as vital. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Plumbing the Depth of DirectorySearch and FileSearch
I think I just learned something about DirectorySearch. The Depth attribute means something different when there is a child FileSearch element. If there is no child FileSearch element, the Depth attribute means the number of levels below the parent DirectorySearch to look for @Path. If there is a child FileSearch element, the Depth attribute means the number of levels below @Path to look for the file. In the latter case, the DirectorySearch element itself is assumed to be have a depth of 0, which is why something like this doesn't work: !-- Assume C:\Temp\a\b\c\d\e\f\foo.txt exists -- !-- This does not work :) -- Property Id=FOO_DOT_TEXT_1 DirectorySearch Depth='0' Id=dir_search_1 Path=C:\Temp DirectorySearch Depth='8' Id=dir_search_2 Path=f FileSearch Id=file_search_1 Name=foo.txt / /DirectorySearch /DirectorySearch /Property The Depth='8' isn't specifying the depth between dir_search_1 and dir_search_2, it's specifying the depth between dir_search 2 and file_search_1. The depth between dir_search_1 and dir_search_2 defaults to 0, which is why it fails. So it seems that, from a WiX user's perspective anyway, the DirectorySearch Depth attribute applies to the number of levels *above* @Path, unless a child FileSearch is used, at which point it applies to the number of levels *below* @Path. Is this correct? - Lorne Laliberte - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Harvesting Directories /Webservers
Hi! I'm using Wix 3 and I'm trying to harvest a website using heat, but I don't know how to... then I tried to harvest the directory but it gives me a component for each file. Can I get 1 component per directory containing all the files contained in a directory? how do I can get it? Thanks in advance Jose -- View this message in context: http://www.nabble.com/Harvesting-Directories--Webservers-tf3603235.html#a10066445 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] DIFx and v2 / v3 ??
Light is giving me an error that is making me sad: \msft\DIFxApp\English-US\WiXLib\x86\DIFxApp.wixlib : error LGHT0141 : The library file format v ersion 2.0.2207.0 is not compatible with the expected library file format version 3.0.2002.0. NMAKE : fatal error U1077: '..\tools\wix3-binaries\light' : return code '0x8d' Stop. Does this mean that DIFx and Wix just do not work in v3? If so, who do I nag??? I'm even happy to fix it if I can get the source for it... I recently ported my install to v3 so I would really hate to back up to v2. AND since there doesn't appear to be a way to run a Custom Action DLL with a dependency on difxapi.dll I can't handle it all in code (that was my first try). Frustration is now upon me 8-( Seeking a better direction, Robert - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] What is the use of an application (.exe) GUID ?
Windows Installer installs products in units of components - they are the building blocks of the installation. It installs a component if it believes that the component is not up to date or is missing, which it determines from the component's key path. It stores a list of all the components which are installed, and the locations they are installed to, in the Windows registry. This acts as a reference count to decide when to remove the component on uninstallation. It is therefore vitally important that the component GUIDs are unique to each individual component, and that the composition of the component is the same for each definition of the same component (as identified by the same GUID). It is also essential that resources (files, registry keys) are not defined by multiple different components, as they can be removed prematurely as Windows Installer detects that one of the components owning that resource has reached a zero reference count and should be removed. For more see Rob's blog entry 'Component Rules 101', a copy of which is in the WiX documentation (WiX.chm) or at http://blogs.msdn.com/robmen/archive/2003/10/18/56497.aspx. -- Mike Dimmick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of teckJBMsia Sent: 18 April 2007 09:43 To: wix-users@lists.sourceforge.net Subject: [WiX-users] What is the use of an application (.exe) GUID ? Hi, Following is quoted from WIX Tutorial. Component Id='MainExecutable' Guid='YOURGUID-83F1-4F22-985B-FDB3C8ABD471' File Id='FoobarEXE' Name='Foobar10.exe' LongName='FoobarAppl10.exe' DiskId='1'Source='FoobarAppl10.exe' Vital='yes' I wish to know what is the purpose of that Guid. Besides that, can WIX search for that GUID before installing a program to make sure that program has not been installed previously ? ( Note : in my case, the product GUID can be same but not the program ). Cheers ! - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Conditionally set ALLUSERS and InstallDirectory when Privileged is 1 or 0
I like to set the installation directory and ALLUSERS differently when Privileged property is 1 or 0. I tried a few examples without success. Could anybody give some examples on this? Thanks! Ming - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] I flicked the switch and the loud whirring was startling.
The class seems pretty social which is, I think, a good thing if school is as stressful as they say. Still, gotta work harder at budgeting my time. A puddle of preservative chemicals pooled around her face, and I felt guilty. But I guess if everyone's behind, no one's behind. The first hour was useless: we as a class were completely unprepared for the propfessor's lecture on the intricacies of spinal anatomy. Mentally, dealing with the new city and school haven't been as easy as I expected. So if there's a spectrum of success depending on how close of a match you are, how do they arrange you on the list? Is anyone looking into this? Otherwise, I did well on the whole. And finally, things that I've been thinking about lately. It makes me think I might be interested in surgery. A few other things he said of note: He mentioned that when they first began offering HIV screenings for Haitians, no one showed up. It was exciting to see the light purplish cords bundled like that inside the spine. Is that even grammatically correct? When we got down, there was a lot to do in terms of setting up a livable space. When he walked in today I could tell he was Paul Farmer without ever seeing his face. Everyone seems pretty nervous about the difficulty of medical school. So it was back to memorizing the muscles and bone structures. Something to explore. That's life, though, and I have to continue adjusting while trying not to get overwhelmed. Everyone seems pretty nervous about the difficulty of medical school. I think embryology may be very interesting because I'm curious as to how such complexity develops from just a few cells. federal.gif Description: GIF image - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Testing for membership of a domain
Hi All, Is there a way to check if you're a member of a domain from within WiX? I thought of using a Condition which references the USERDOMAIN environment variable like this: Condition Message=You must be in a domain to install this product. ![CDATA[[%USERDOMAIN] ]] /Condition But this doesn't seem to work... any ideas? Cheers, Alec - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Installing a dll with WiX similar to regsvr32
Hello, I have a dll which I install using regsvr32. Now I want to do that using WiX. I tried: tallow -s mydll a.wxs. Now this generates a fragment which contains: File Id=file0 Name=mydll.dll Source=C:\YProj\mydll.dll / This path is constant. Now if I try to install this on some other machine C:\YProj\mydll.dll does not exist. I tried to put a dir id but then light complains e.g. I did File Id=file0 Name=mydll.dll Source=[DLLInstallDir] / What should I do? Is there someother way to register my dll. Thanks Deval - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ASP.NET uninstall and home directory question
Does anybody have any insight on these 2 problems? mmenaker wrote: I'm having 2 problems: 1. My web applications that I create don't delete the virtual dirs/apps from the Default Web Site section in IIS. The folders created are gone but you can see the app in the IIS. 2. Also I'm when installing 2 applications I would like the 2nd to always be the Home Directory of the default web site on the machine it gets installed on. This works when the installation happens with 2 machines (1 application on each machine, both home directories). However when they are both on the same machine the 1st one always defaults to the home directory. How do I make it the 2nd be the home directory with out changing the install order. My install component looks like this (for both questions). Component Id='WebAppVirtualDirComponent' Guid='a00d460e-6304-410E-A808-E3585379EADB' CreateFolder / WebSite Id='DefaultWebSiteApp' Directory=WebAppDir Description='Default Web Site' AutoStart=yes ConfigureIfExists=yes StartOnInstall=yes Sequence=-2 WebAddress Id='AllUnassignedPorts' Port='80' / WebVirtualDir Id='WebAppVirtualDir' DirProperties=WebDirProp Directory='WebRootDir' Alias='MyApp' WebApplication Id=WebAppebApplication ParentPaths=default Name=MyApp / /WebVirtualDir /WebSite /Component Thanks, Mike - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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/ASP.NET-uninstall-and-home-directory-question-tf3597319.html#a10069810 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Making the installer use the LongName of a Directory
Nathan Lane wrote: Well, I think I might have figured out how to get around the problem, by having the directory already exist, but when I run the installer, the short name for the installation directory comes up under Custom instead of the Long name. For example if Name=VCP and LongName=Vehix Consumer Portal, and the directory Vehix Consumer Portal does not exist, then the default for the installer is VCP for the installation directory. Are you talking about the UI? What does your Directory and UI authoring look like? -- sig://boB http://bobs.org - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Passing Parameters to the Merge Modules.
[EMAIL PROTECTED] wrote: I'm opting to use Merge modules instead of nested msi. Can someone throw some light on how to send parameters /properties to the included merge modules ? Once merged, modules lose their independent identity. So there's no concept, really, of passing parameters. What are you trying to do? -- sig://boB http://bobs.org - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Testing for membership of a domain
Alec Siu wrote: Is there a way to check if you're a member of a domain from within WiX? I thought of using a Condition which references the USERDOMAIN environment variable like this: Condition Message=You must be in a domain to install this product. ![CDATA[[%USERDOMAIN] ]] /Condition All users are in a domain, even if it's just the individual machine. You can try comparing COMPUTERNAME to USERDOMAIN but I don't know if that's sufficient. -- sig://boB http://bobs.org - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] UpgradeScenario: CopyFile Problem
sandy wrote: All the properties are set correctly I can see their correct value in the log but it doesn't copy the file from source to destination neither do I get any error. Check a verbose log for the DuplicateFiles action -- that's the standard action and table that the CopyFile element maps to. -- sig://boB http://bobs.org - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] DIFx and v2 / v3 ??
Robert Randall wrote: Does this mean that DIFx and Wix just do not work in v3? The DIFx .wixlib is only supplied in a v2 .wixlib. There's a bug open that v3 should be able to read v2 .wixlibs but it's not clear how/when/if that will be supported. (WiX v3 made some major changes in how internal tables work so it's not just a one-line fix.) If so, who do I nag??? I'm even happy to fix it if I can get the source for it... The DIFx/WDK team -- they supply the v2 .wixlib so we need their help to make a v3 .wixlib. (Or at least that's the most immediate fix.) -- sig://boB http://bobs.org - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Installing a dll with WiX similar to regsvr32
DEVAL SHAH wrote: What should I do? Is there someother way to register my dll. Tallow creates output that you need to edit to match your build environment (e.g., using environment variables or relative paths). -- sig://boB http://bobs.org - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] XmlConfig and uninstall
Hi all, Has anyone successfully used util:XmlConfig to modify an XML file on uninstall? Adding nodes is working, but removing them on uninstall is still beyond me. Even with the VerifyPath attribute set, I'm still having no joy. The below component successfully adds a section tag to a web.config, but leaves it behind on uninstall. Component Id=XmlAddSection Guid=EB9B4575-467C-4BFB-ACA7-7C3E472A610F KeyPath=yes CreateFolder/ util:XmlConfig Id=XmlAddSectionDeclaration File=[DirWebInterfaces]web.config Sequence=1 Action=create On=install ElementPath=/configuration/configSections Node=element Name=section VerifyPath=/configuration/configSections/[EMAIL PROTECTED]'newSection'[ \]] / util:XmlConfig Id=XmlAddSectionDeclarationName File=[DirWebInterfaces]web.config Sequence=2 ElementPath=XmlAddSectionDeclaration Name=name Value=newSection util:XmlConfig Id=XmlAddSectionDeclarationType File=[DirWebInterfaces]web.config Sequence=3 ElementPath=XmlAddSectionDeclaration Name=type Value=blah / /util:XmlConfig !-- This bit isn't working -- util:XmlConfig Id=XmlRemoveSectionDeclaration File=[DirWebInterfaces]web.config Sequence=1 Action=delete On=uninstall Node=element ElementPath=/configuration/configSections/[EMAIL PROTECTED]'newSection' [\]] VerifyPath=/configuration/configSections/[EMAIL PROTECTED]'newSection' [\]]/ /Component In the uninstall log, I see this: ExecXmlConfig: Error 0x80070057: failed to remove created child element That HR is something to do with an invalid character I believe? Thanks, Andre - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] XmlConfig and uninstall
I knew that would happen. Solved it just after posting... It looks like for an uninstall action, the @ElementPath points to the parent node, while the @VerifyPath is relative to the @ElementPath. So this works: util:XmlConfig Id=XmlRemoveSectionDeclaration File=[DirWebInterfaces]web.config Sequence=1 Action=delete On=uninstall Node=element ElementPath=/configuration/configSections VerifyPath=[EMAIL PROTECTED]'newSection'[\]]/ Cheers, Andre From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andre Strik Sent: Thursday, 19 April 2007 5:12 p.m. To: wix-users@lists.sourceforge.net Subject: [WiX-users] XmlConfig and uninstall Hi all, Has anyone successfully used util:XmlConfig to modify an XML file on uninstall? Adding nodes is working, but removing them on uninstall is still beyond me. Even with the VerifyPath attribute set, I'm still having no joy. The below component successfully adds a section tag to a web.config, but leaves it behind on uninstall. Component Id=XmlAddSection Guid=EB9B4575-467C-4BFB-ACA7-7C3E472A610F KeyPath=yes CreateFolder/ util:XmlConfig Id=XmlAddSectionDeclaration File=[DirWebInterfaces]web.config Sequence=1 Action=create On=install ElementPath=/configuration/configSections Node=element Name=section VerifyPath=/configuration/configSections/[EMAIL PROTECTED]'newSection'[ \]] / util:XmlConfig Id=XmlAddSectionDeclarationName File=[DirWebInterfaces]web.config Sequence=2 ElementPath=XmlAddSectionDeclaration Name=name Value=newSection util:XmlConfig Id=XmlAddSectionDeclarationType File=[DirWebInterfaces]web.config Sequence=3 ElementPath=XmlAddSectionDeclaration Name=type Value=blah / /util:XmlConfig !-- This bit isn't working -- util:XmlConfig Id=XmlRemoveSectionDeclaration File=[DirWebInterfaces]web.config Sequence=1 Action=delete On=uninstall Node=element ElementPath=/configuration/configSections/[EMAIL PROTECTED]'newSection' [\]] VerifyPath=/configuration/configSections/[EMAIL PROTECTED]'newSection' [\]]/ /Component In the uninstall log, I see this: ExecXmlConfig: Error 0x80070057: failed to remove created child element That HR is something to do with an invalid character I believe? Thanks, Andre - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users