[WiX-users] Copy a file to Windows\Help folder
Hi, I need to copy a file to Windows\Help folder. I done it by extracts file to install location and then copied to Windows\Help folder, and then deleting during uninstall. snippet for that, Component Id=C_HELP Guid=---- File Id =F_HELP Name=help.chm Source=..\..\Packages\help.chm CopyFile Id=CopyHelpFile DestinationProperty=WINHELP/ /File RemoveFile Id=RemoveHelpFile Property=WINHELP Name=help.chm On=uninstall/ /Component Here help.chm presented in two places(Installation location and Windows\Help). But, its not required. I need single copy of help.chm at Windows\Help. Is there any other way to copy a file directly to Windows\Help folder? Thanks. Regards, -SMR -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Copy a file to Windows\Help folder
Why not just install to [WindowsFolder]Help? Michael wrote: Hi, I need to copy a file to Windows\Help folder. I done it by extracts file to install location and then copied to Windows\Help folder, and then deleting during uninstall. snippet for that, Component Id=C_HELP Guid=---- File Id =F_HELP Name=help.chm Source=..\..\Packages\help.chm CopyFile Id=CopyHelpFile DestinationProperty=WINHELP/ /File RemoveFile Id=RemoveHelpFile Property=WINHELP Name=help.chm On=uninstall/ /Component Here help.chm presented in two places(Installation location and Windows\Help). But, its not required. I need single copy of help.chm at Windows\Help. Is there any other way to copy a file directly to Windows\Help folder? Thanks. Regards, -SMR -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Reference custom directory
Hi dkijc, I think you can do this, but a little unclear about the storing of icons somewhere else? Are you actually installing a program also or just icons? For storing the icons part you have a question in the installer I assume and it asks to download latest icons or choose a directory? If user answers yes, then go to web and download icons to a folder. The question is wouldnt you want to do this after they define the INSTALLDIR in the install? Then you can use this dialog set and modify it:(WixUI_InstallDir does not allow the user to choose what features to install, but it adds a dialog to let the user choose a directory where the product will be installed.) Therefore you can download the icons right to the install directory and reference them there. If this all sounds ok, then if you already have the INSTALLDIR Variable assuming it is set up as the last node directory and will look something like this in your .wxs Directory Id=INSTALLDIR Name=YourProgramName. Then you can reference it as a shortcut for example as such: Shortcut Id=ApplicationStartMenuShortcut Name=YourProgramNam Description=YourProgramNam Target=[INSTALLDIR]YourProgramName.exe WorkingDirectory=INSTALLDIR. Or using it for other things, etc. Since I am not quite sure about what you want to accomplish it is hard to say, but I think this is sort of what you want. Med vennlig hilsen /Regards Brian 2009/4/23 dkijc wwjdat2...@yahoo.com Hi Pally, Thank you so much for your response! That gives me hope haha. I was actually reading the blog by Neil and had a question. I understand I can get the directory to be set but that's an installation directory. Can I create a custom directory OR can I actually use the INSTALLDIR (or whatever it is called) and when the installation is run can I trick the installer so instead of using the directory for installation folder actually snatch that directory to be stored in a variable within our code so our application knows where to look for the thumbnails? We can fetched the thumbnails over the web just fine but now our application is deployed in the same machine where we fetch the thumbnails so instead of going through a loop with http request we can easily look for thumbnails in the local machine. The reason for asking the path for the folder is because thumbnails are not always stored in the same folder, as that is a preference that a user can set. The problem I was having was when I created a custom dialog (using orca)that asks whether the use wants our application to fetch the thumbnail over the web or just from their local machine. Opening a browse dialog works fine but every time I chose a folder and press 'ok' I'd get '2707' (target not specified). And wasn't sure exactly what was causing the problem. I'm assuming it probably has to do with custom action and was wondering if WiX had a better way of going about it. So my question still remains, is it possible to create a custom ID or variable to store the directory (which is not meant for installation but only purpose is to pass down the directory path into our code). I really hope that made sense... haha thanks, again! 1. The web stuff I'm not sure about. It's likely possible using custom actions as with most things. Someone else may have tried something similar but I don't think pulling arbitrary files off a web server is supported by default in the Windows Installer. 2. Very possible using standard Windows Installer UI controls. Have a look at the InstallDirDlg.wxs in the WiX 3.0 sources which does pretty much what you're trying to here except you'd need to hook it into the radio buttons first. You can even use the BrowseDlg in WiXUI without modification for your browse button. Neil Sleightholm's blog on customizing the WiXUI at http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html should help point you in the right direction. Personally I'd tackle it as 2 separate issues and get the second part working as you'd like it to first, as the web stuff looks like it could take a lot of time to get working right but that's me and I could be wrong. Good luck Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -- View this message in context: http://n2.nabble.com/Reference-custom-directory-tp2670501p2685638.html Sent from the wix-users mailing list archive at Nabble.com. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for
Re: [WiX-users] Using DTF to merge a merge module int o an msi package
I followed your suggestions and used MergeMod.dll via COM interop in my little repackaging tool. This works perfectly. After the successful merge I still have to do a couple of steps to patch the resulting msi: 1. Extract the merge module's cab file 2. Insert the cab file into the _Streams table of the msi 3. Insert a record into the Media table of the msi using the appropriate LastSequence number Thanks a lot for your hints! Frank Richard schrieb: In article 139942f2536b7c4fbde6b44132f80c84286210a...@na-exmsg-c111.redmond.corp.microsoft.com, Jason Ginchereau jason...@microsoft.com writes: The real logic for merging merge modules is in mergemod.dll, which DTF does n ot attempt to use or expose. So I would not recommend using DTF for this purpos e, unless you augment it with the object model of mergemod.dll using COM intero p. I don't have any example code for doing that in C#. Has anyone tried using COM interop to talk to mergemod.dll? I knwo when I tried to use COM interop to talk to msi.dll's automation interface, it didn't work properly. Pt! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] database and windows service not getting uninstalled
Hi, I have created an msi installation pack with Wix, using my own custom UI library. I have added the maintenance dialogs in this library as well. When I install the product, Which consists of a database a windows service and some executables, everything gets installed without any problems. When I try to uninstall, the uninstallation proceeds without any problem, but I find that the windows service and the database are still there after uninstalling. (the executables and shortcuts are uninstalled successfully). Is this a common problem when you create your own UI library? What is wrong here? Thanks, Mark. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Copy a file to Windows\Help folder
Directory Id=WindowsFolder Directory Id=Help Name=Help Component Id=help.chm Guid=PUT-GUID-HERE File Id=help.chm Name=help.chm Source=..\..\Packages\help.chm / /Component /Directory /Directory I suggest you use a more 'unique' name than help.chm though. Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Michael [mailto:mich...@gnhsoft.com] Sent: 24 April 2009 07:15 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Copy a file to Windows\Help folder Hi, I need to copy a file to Windows\Help folder. I done it by extracts file to install location and then copied to Windows\Help folder, and then deleting during uninstall. snippet for that, Component Id=C_HELP Guid=---- File Id =F_HELP Name=help.chm Source=..\..\Packages\help.chm CopyFile Id=CopyHelpFile DestinationProperty=WINHELP/ /File RemoveFile Id=RemoveHelpFile Property=WINHELP Name=help.chm On=uninstall/ /Component Here help.chm presented in two places(Installation location and Windows\Help). But, its not required. I need single copy of help.chm at Windows\Help. Is there any other way to copy a file directly to Windows\Help folder? Thanks. Regards, -SMR -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How To Create Successive Patches That SupersedePrevious?
I've created patches which do exactly what you're trying to do but from your description I can't pinpoint where you're going wrong. If you could post the .wxs file you're using to create your .pcp file, I or someone else on the list should be able to help point you in the right direction. Cheers, Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Emanuel Masciarelli [mailto:emasciare...@trionworld.com] Sent: 24 April 2009 01:53 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How To Create Successive Patches That SupersedePrevious? I tried looking through the digests on sourceforge but couldn't find a way to search, and didn't see this question answered so I apologize if it's a duplicate. I am trying to create patches for a product that will each be all encompassing of the previous ones, and want anybody at any version to be able to install the latest patch. Following the instructions on the site I can create patches just fine, so I can install 0.3.0.0 then patch from 0.3.0.0 to 0.3.1.0. I created my 0.3.2.0 patch from 0.3.0.0 (to encompass the 0.3.1.0 stuff) and when I apply it it says it cannot as The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. In my PatchFamily tag I have set the version to be the new version in both patches (so 0.3.1.0 and 0.3.2.0), and Supersede=yes for both. Is there something else I'm missing? From my understanding of the documentation the MsiPatchSequence table should have increasing numbers for all my patches and they should supersede each other just fine, but obviously I'm wrong. Any help is appreciated. --Emanuel -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] On Team Build and WiX, and why it hates me.
I've been struggling with this issue for some weeks now, and I've continued to back burner it, but can't do that anymore. I've built a WixExtension, and use it in several installers. But I keep running into problems with Votive / MSBuild loading the extension I've built. I'm guessing I'm having conflicts with the strong name signing or something, but... here's what I've done, and what's not working. 1.) I download the binary release and install it. This is the only way I know how to get Votive to work. 2.) I download the source and build it. This is the only way I can get the extension build tools I need. (XsdGen, et al) 3.) I customize the Wix.Targets file to a Wix.Core.Targets so I can just pull the tasks I need, without pulling the forced included files. As it stands, I can't add an xsdgen task to my project without pulling in the SolutionInfo.cs files from the Wix distro unless I do this. 4.) I build the WixExtension, everything is happy. 5.) I build the Installer project using the WixExtension... I get a candle error candle.exe(0,0): error CNDL0144: The extension '..\..\..\Install\WixExtension\WixExtension\bin\Release\WixExtension.dll' could not be loaded. Now, I've poked and prodded and moved references around, and I got it to work for about 2 weeks... I have no idea what planetary alignment I managed to create, but it worked. Now, I'm trying to get these build working under TFS Team Build, and everything has come back. What the crap? What is it I'm doing wrong, and how can I track this issue down? I created a feature request a while back about including the extension build tools in the binary release, but that has just never happened. I'm positive this an issue with me building these tools.. There's some version or strong name mismatch, and something's choking. Please, anyone, help me. :-) Chris -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Heat 3.0.4923 vs 3.0.5217 vb6 dll output
Can anyone run light 3.0.5217 on this to confirm this? The merge module simple won't build and that Interface element is indeed needed. Thanks again. Roy Abou Assaly wrote: Oh, and one more: 00020420---C000-0046 After that, I was able to build my merge module and link them and create my MSI which contains 129 vb6 com DLLs and various OCXs. Again, my experience in this area is weak, but the product seems to install and uninstall without issues even though I remove those elements that I didn't fully understand. So I went and test the application, and of course, it threw an error saying the Interface isn't registered, which makes sense since I removed them. So my ignorance has cost me. I really need those interface elements or else the application won't work. Roy Abou Assaly wrote: Still kind of stuck. I was able to generate the exact xml as Brian did. Candle compiled fine, but light is complaining. I'm trying to generate a merge module out of it. Getting this error: [exec] D:\Builds\PRISM XP\Build 11.51.\Bin\PrismShell.wxs(18) : error LGHT0130 : The primary key 'reg0387C011F3 F8A22BDFC14B72466D9C9A.C7AC8538_65ED_4C2B_AE16_6291871D0918' is duplicated in table 'Registry'. Please remove one of the entries or rename a part of the primary key to avoid the collision. D:\Builds\PRISM XP\Build 11.51.\Bincandle -v PrismShell.wxs Microsoft (R) Windows Installer Xml Compiler version 3.0.5217.0 Copyright (C) Microsoft Corporation. All rights reserved. PrismShell.wxs D:\Builds\PRISM XP\Build 11.51.\Binlight -v PrismShell.wixobj Microsoft (R) Windows Installer Xml Linker version 3.0.5217.0 Copyright (C) Microsoft Corporation. All rights reserved. Updating file information. Creating cabinet files. Creating cabinet 'C:\Users\roy\AppData\Local\Temp\jyewbz0r\#MergeModule.CABinet'. Generating database. D:\Builds\PRISM XP\Build 11.51.\Bin\PrismShell.wxs(18) : error LGHT0130 : The primary key 'reg0387C011F3F8A22BDFC14B 72466D9C9A.C7AC8538_65ED_4C2B_AE16_6291871D0918' is duplicated in table 'Registry'. Please remove one of the entries or rename a part of the primary key to avoid the collision. My merge module looks like this: ?xml version=1.0 encoding=utf-8? Wix xmlns:wi=http://schemas.microsoft.com/wix/2006/wi; xmlns=http://schemas.microsoft.com/wix/2006/wi; Module Id=PrismShell Language=1033 Version=1.0.0.0 Package Id=C7AC8538-65ED-4C2B-AE16-6291871D0918 Description=PRISM Shell Module Comments=PRISM Shell Merge Module Manufacturer=Acme InstallerVersion=300 /Package Icon Id=PRISM.ICO SourceFile=PRISM.exe /Icon Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Name=Program Files Directory Id=HOCDir Name=Acme Directory Id=INSTALLLOCATION Name=PRISM Shell Component Id=DisplayFridayListUI.dll Guid={77B6CDD1-B9C6-4497-B7F5-242B9783D6A3} File Id=DisplayFridayListUI.dll KeyPath=yes Source=SourceDir\DisplayFridayListUI.dll TypeLib Id={3515D627-3FA0-490F-9330-02A73023E0C0} Description=DisplayFridayListUI HelpDirectory=TARGETDIR Language=0 MajorVersion=1 MinorVersion=0 Class Id={9AF8DE3E-3FFB-4F1C-AA59-3DBAB1725BB9} Context=InprocServer32 Description=DisplayFridayListUI.CDisplayFridayList ThreadingModel=apartment Version=1.0 Programmable=yes ProgId Id=DisplayFridayListUI.CDisplayFridayList Description=DisplayFridayListUI.CDisplayFridayList / /Class Interface Id={2D3FD2B6-AF78-4DFD-A5C9-7CE97BC4A594} Name=CDisplayFridayList ProxyStubClassId={00020424---C000-0046} ProxyStubClassId32={00020424---C000-0046} / /TypeLib /File RegistryValue Root=HKCR Key=CLSID\{9AF8DE3E-3FFB-4F1C-AA59-3DBAB1725BB9}\Implemented Categories\{40FC6ED5-2438-11CF-A3DB-080036F12502} Value= Type=string Action=write / RegistryValue Root=HKCR Key=Interface\{2D3FD2B6-AF78-4DFD-A5C9-7CE97BC4A594}\ProxyStubClsid Value={00020424---C000-0046} Type=string Action=write / RegistryValue Root=HKCR Key=Interface\{2D3FD2B6-AF78-4DFD-A5C9-7CE97BC4A594}\ProxyStubClsid32 Value={00020424---C000-0046} Type=string Action=write / RegistryValue Root=HKCR Key=Interface\{2D3FD2B6-AF78-4DFD-A5C9-7CE97BC4A594} Value=_CDisplayFridayList Type=string Action=write / /Component /Directory /Directory /Directory Directory Id=ProgramMenuFolder Name=Programs Directory
Re: [WiX-users] How To Create Successive Patches That SupersedePrevious?
Sure thing. It was a long day so sorry for the lack of detail. Attached you'll find the wxs for the installs and the patches, and the batch files I use. I pass the version numbers into the batch files which in turn pass them along to WiX. I create the installs with buildInstall 0.3.0.0 for example, then the patches with buildPatch 0.3.0.0 0.3.1.0. --Emanuel -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Friday, April 24, 2009 5:13 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How To Create Successive Patches That SupersedePrevious? I've created patches which do exactly what you're trying to do but from your description I can't pinpoint where you're going wrong. If you could post the .wxs file you're using to create your .pcp file, I or someone else on the list should be able to help point you in the right direction. Cheers, Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Emanuel Masciarelli [mailto:emasciare...@trionworld.com] Sent: 24 April 2009 01:53 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How To Create Successive Patches That SupersedePrevious? I tried looking through the digests on sourceforge but couldn't find a way to search, and didn't see this question answered so I apologize if it's a duplicate. I am trying to create patches for a product that will each be all encompassing of the previous ones, and want anybody at any version to be able to install the latest patch. Following the instructions on the site I can create patches just fine, so I can install 0.3.0.0 then patch from 0.3.0.0 to 0.3.1.0. I created my 0.3.2.0 patch from 0.3.0.0 (to encompass the 0.3.1.0 stuff) and when I apply it it says it cannot as The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. In my PatchFamily tag I have set the version to be the new version in both patches (so 0.3.1.0 and 0.3.2.0), and Supersede=yes for both. Is there something else I'm missing? From my understanding of the documentation the MsiPatchSequence table should have increasing numbers for all my patches and they should supersede each other just fine, but obviously I'm wrong. Any help is appreciated. --Emanuel -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users This attachment was removed.-- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How To Create Successive Patches That Supersede Previous?
And apparently no attachments. I'll paste the contents :) Content of original post with attachments: Sure thing. It was a long day so sorry for the lack of detail. Attached you'll find the wxs for the installs and the patches, and the batch files I use. I pass the version numbers into the batch files which in turn pass them along to WiX. I create the installs with buildInstall 0.3.0.0 for example, then the patches with buildPatch 0.3.0.0 0.3.1.0. Product Install WXS: ?xml version=1.0 encoding=UTF-8? !-- These variables define the Windows Installer product version, product code and upgrade code. They -- !-- will be used later on in this file. -- ?define Property_ProductVersion = $(var.Version)? ?define Property_ProductCode = 6461E4A1-C0B4-4BF8-8F61-B499D5521BE1? ?define Property_UpgradeCode = 2E1DE166-F933-4671-8984-7C604C467032? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; Product Id=$(var.Property_ProductCode) Name=!(loc.Property_ProductName) Language=!(loc.Property_ProductLanguage) Version=$(var.Property_ProductVersion) Manufacturer=!(loc.Property_CompanyName) UpgradeCode=$(var.Property_UpgradeCode) Package Description=!(loc.Package_Description) Comments=!(loc.Package_Comments) InstallerVersion=300 Compressed=yes/ Upgrade Id=$(var.Property_UpgradeCode) UpgradeVersion Minimum=$(var.Property_ProductVersion) IncludeMinimum=no OnlyDetect=yes Property=NEWERVERSIONDETECTED / UpgradeVersion Minimum=0.1.0 IncludeMinimum=yes Maximum=$(var.Property_ProductVersion) Property=OLDERVERSIONBEINGUPGRADED / /Upgrade InstallExecuteSequence RemoveExistingProducts After=InstallInitialize/ /InstallExecuteSequence Condition Message=!(loc.LaunchCondition_LaterVersion) NOT NEWERVERSIONDETECTED OR Installed /Condition Condition Message=!(loc.LaunchCondition_WrongOSVersion) ![CDATA[Installed OR (VersionNT = 501)]] /Condition CustomActionRef Id=WixExitEarlyWithSuccess/ Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Name=PFiles Directory Id=CompanyFolder Name=!(loc.Property_CompanyFolderName) Directory Id=APPLICATIONFOLDER Name=!(loc.Property_ProductFolderName) Directory Id=Localization Name=Localization Directory Id=engus Name=eng-us / /Directory /Directory /Directory /Directory Directory Id=ProgramMenuFolder Directory Id=ApplicationProgramsFolder Name=!(loc.Property_ProductFolderName)/ /Directory /Directory DirectoryRef Id=APPLICATIONFOLDER Component Id=TrionProductExe Guid=D9FF803E-3D2F-44DE-AC58-2E9689CC6213 File Id=ProductExe Name=TrionProduct.exe DiskId=1 Source=$(var.Version)/TrionProduct.exe/ /Component Component Id=TrionProductDll Guid=281B81AC-C13C-413B-8552-6E9596D2EAE6 File Id=patchingServiceDll Name=PatchingService.dll DiskId=1 Source=$(var.Version)/PatchingService.dll/ /Component Component Id=TrionProductTxt Guid=34BD9626-EAC0-4FEA-85E7-1E52885624A3 File Id=readMeTxt Name=ReadMe.txt DiskId=1 Source=$(var.Version)/ReadMe.txt/ /Component Merge Id=VCRedistCRT SourceFile=MergeModules\Microsoft_VC90_CRT_x86.msm DiskId=1 Language=0/ Merge Id=VCRedistMFC SourceFile=MergeModules\Microsoft_VC90_MFC_x86.msm DiskId=1 Language=0/ /DirectoryRef DirectoryRef Id=engus Component Id=LocalizedTextXmlEngUS Guid=B68CDE8C-66B1-45A0-933E-20FFC44C9FD8 File Id=LocalizedXmlEngUS Name=LocalizedText.xml DiskId=1 Source=$(var.Version)/Localization/eng-us/LocalizedText.xml/ /Component /DirectoryRef DirectoryRef Id=ApplicationProgramsFolder Component Id=ApplicationShortcut Guid=05EDFE33-7610-4A52-BA6D-CA4FF929C837 Shortcut Id=ApplicationStartMenuShortcut Name=!(loc.Shortcut_ProductLink) Description=!(loc.Shortcut_ProductDescription) Target=[APPLICATIONFOLDER]TrionProduct.exe WorkingDirectory=APPLICATIONFOLDER/ Shortcut Id=ReadMeStartMenuShortcut Name=!(loc.Shortcut_ReadMeLink) Description=!(loc.Shortcut_ReadMeDescription) Target=[APPLICATIONFOLDER]ReadMe.txt WorkingDirectory=APPLICATIONFOLDER/ Shortcut Id=UninstallProduct Name=!(loc.Shortcut_UninstallLink) Description=!(loc.Shortcut_UninstallDescription) Target=[System64Folder]msiexec.exe Arguments=/x [ProductCode]/ util:InternetShortcut Id=OnlineHelp Name=!(loc.Shortcut_HelpLink) Target=!(loc.Property_ArpHelpLink)/ RemoveFolder
Re: [WiX-users] Question about patching
Hey Henk, Although not specifically stated, yes Component GUIDs need to remain stable. A patch is a difference between two MSIs, so that would mean most everything that is unique to a component must stay the same. Someone else on the forum might be able to give you a more detailed answer. http://msdn.microsoft.com/en-us/library/aa368060(VS.85).aspx Hope this helps, Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Mon, Mar 9, 2009 at 2:18 AM, Henk Roos henk.r...@aricent.com wrote: Hi there, I have a question about wix and patching: If I want to create a patch from 2 msi's and say 1 file changed in the same feature, does the files need to have the same guid in the 2 msi's or are the uniqueness of the id's enough for this functionality if I want to use torch? Regards, Henk Roos Software Engineer A R I C E N T 260 Surrey Avenue Ferndale Randburg Main +27 11 293 0604 Fax+27 11 293 0533 Mobile +27 82 5513515 DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error,please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Heat 3.0.4923 vs 3.0.5217 vb6 dll output
I am not sure I understand what you are asking, could you explain? Neil -Original Message- From: Roy Abou Assaly [mailto:royass...@gmail.com] Sent: 24 April 2009 16:02 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Heat 3.0.4923 vs 3.0.5217 vb6 dll output Can anyone run light 3.0.5217 on this to confirm this? The merge module simple won't build and that Interface element is indeed needed. Thanks again. Roy Abou Assaly wrote: Oh, and one more: 00020420---C000-0046 After that, I was able to build my merge module and link them and create my MSI which contains 129 vb6 com DLLs and various OCXs. Again, my experience in this area is weak, but the product seems to install and uninstall without issues even though I remove those elements that I didn't fully understand. So I went and test the application, and of course, it threw an error saying the Interface isn't registered, which makes sense since I removed them. So my ignorance has cost me. I really need those interface elements or else the application won't work. Roy Abou Assaly wrote: Still kind of stuck. I was able to generate the exact xml as Brian did. Candle compiled fine, but light is complaining. I'm trying to generate a merge module out of it. Getting this error: [exec] D:\Builds\PRISM XP\Build 11.51.\Bin\PrismShell.wxs(18) : error LGHT0130 : The primary key 'reg0387C011F3 F8A22BDFC14B72466D9C9A.C7AC8538_65ED_4C2B_AE16_6291871D0918' is duplicated in table 'Registry'. Please remove one of the entries or rename a part of the primary key to avoid the collision. D:\Builds\PRISM XP\Build 11.51.\Bincandle -v PrismShell.wxs Microsoft (R) Windows Installer Xml Compiler version 3.0.5217.0 Copyright (C) Microsoft Corporation. All rights reserved. PrismShell.wxs D:\Builds\PRISM XP\Build 11.51.\Binlight -v PrismShell.wixobj Microsoft (R) Windows Installer Xml Linker version 3.0.5217.0 Copyright (C) Microsoft Corporation. All rights reserved. Updating file information. Creating cabinet files. Creating cabinet 'C:\Users\roy\AppData\Local\Temp\jyewbz0r\#MergeModule.CABinet'. Generating database. D:\Builds\PRISM XP\Build 11.51.\Bin\PrismShell.wxs(18) : error LGHT0130 : The primary key 'reg0387C011F3F8A22BDFC14B 72466D9C9A.C7AC8538_65ED_4C2B_AE16_6291871D0918' is duplicated in table 'Registry'. Please remove one of the entries or rename a part of the primary key to avoid the collision. My merge module looks like this: ?xml version=1.0 encoding=utf-8? Wix xmlns:wi=http://schemas.microsoft.com/wix/2006/wi; xmlns=http://schemas.microsoft.com/wix/2006/wi; Module Id=PrismShell Language=1033 Version=1.0.0.0 Package Id=C7AC8538-65ED-4C2B-AE16-6291871D0918 Description=PRISM Shell Module Comments=PRISM Shell Merge Module Manufacturer=Acme InstallerVersion=300 /Package Icon Id=PRISM.ICO SourceFile=PRISM.exe /Icon Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Name=Program Files Directory Id=HOCDir Name=Acme Directory Id=INSTALLLOCATION Name=PRISM Shell Component Id=DisplayFridayListUI.dll Guid={77B6CDD1-B9C6-4497-B7F5-242B9783D6A3} File Id=DisplayFridayListUI.dll KeyPath=yes Source=SourceDir\DisplayFridayListUI.dll TypeLib Id={3515D627-3FA0-490F-9330-02A73023E0C0} Description=DisplayFridayListUI HelpDirectory=TARGETDIR Language=0 MajorVersion=1 MinorVersion=0 Class Id={9AF8DE3E-3FFB-4F1C-AA59-3DBAB1725BB9} Context=InprocServer32 Description=DisplayFridayListUI.CDisplayFridayList ThreadingModel=apartment Version=1.0 Programmable=yes ProgId Id=DisplayFridayListUI.CDisplayFridayList Description=DisplayFridayListUI.CDisplayFridayList / /Class Interface Id={2D3FD2B6-AF78-4DFD-A5C9-7CE97BC4A594} Name=CDisplayFridayList ProxyStubClassId={00020424---C000-0046} ProxyStubClassId32={00020424---C000-0046} / /TypeLib /File RegistryValue Root=HKCR Key=CLSID\{9AF8DE3E-3FFB-4F1C-AA59-3DBAB1725BB9}\Implemented Categories\{40FC6ED5-2438-11CF-A3DB-080036F12502} Value= Type=string Action=write / RegistryValue Root=HKCR Key=Interface\{2D3FD2B6-AF78-4DFD-A5C9-7CE97BC4A594}\ProxyStubClsid Value={00020424---C000-0046} Type=string Action=write / RegistryValue Root=HKCR Key=Interface\{2D3FD2B6-AF78-4DFD-A5C9-7CE97BC4A594}\ProxyStubClsid32 Value={00020424---C000-0046} Type=string Action=write / RegistryValue Root=HKCR
Re: [WiX-users] WIX : Java Version Opening New Browser issue
Hey Ron, Have you tried setting the custom action to immediate. It will not be able to launch the window as deferred. You might also want to look at using ShellExecute as well. http://msdn.microsoft.com/en-us/library/bb774148(VS.85).aspx Thanks, Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Thu, Mar 19, 2009 at 4:49 AM, ron cooper roncooper...@gmail.com wrote: Dear All, I have made an installer. I want to check java version after installation. That I checked using RegistrySearch. Now I want to launch my application only if java version is 1.5 or greater, otherwise browser window should get opened with sun.com to all download latest version. What Possible ways are there? Following is my code : *my.wxs* Property Id=JAVA_VERSION Value=0.0 RegistrySearch Id=JavaVersionSearch Root=HKLM Key=SOFTWARE\JavaSoft\Java Development Kit Name=CurrentVersion Type=raw / /Property Binary Id=myjs_bin SourceFile=myjs.js/ CustomAction Id=myjs_ca BinaryKey=myjs_bin JScriptCall=main Execute=deferred HideTarget=no Impersonate=no/ *myjs.js* function main() { var WshShell = new ActiveXObject('WScript.Shell'); var ver = Session.Property(JAVA_VERSION); if( ver 1.5 ) { window.open( www.sun.com , sun ); error here WshShell.Run(ieexplorer,www.sun.com); error here } WshShell.close(1); } I tried both ways, but got errors. Anyone having idea to get out of it? Thanks in advance. Ron. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Major upgrade - feature migration
I'm trying to get feature state migration working on a major upgrade that I invoke by running the MSI. I think I have the appropriate entries in my WiX project. Upgrade Id=$(var.Brand_UpgradeCode) UpgradeVersion Maximum=$(var.Brand_ProductVer) MigrateFeatures=yes IncludeMaximum=no Property=OLDERVERSIONBEINGUPGRADED / UpgradeVersion Minimum=$(var.Brand_ProductVer) MigrateFeatures=yes IncludeMinimum=no OnlyDetect=yes Property=NEWERVERSIONDETECTED / /Upgrade InstallExecuteSequence RemoveExistingProducts After=InstallValidate/ /InstallExecuteSequence The MSI that is generated seems to have the appropriate entries for; InstallUISequence 1000 CostFinalize 1200 MigrateFeatureStates InstallExecuteSequence 1000 CostFinalize 1200 MigrateFeatureStates Running a verbose log during upgrade shows that FindRelatedProducts is working. MSI (c) (C8:DC) [10:58:22:419]: UI Sequence table 'InstallUISequence' is present and populated. MSI (c) (C8:DC) [10:58:22:419]: Running UISequence MSI (c) (C8:DC) [10:58:22:419]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'. MSI (c) (C8:DC) [10:58:22:419]: Doing action: FindRelatedProducts Action 10:58:22: FindRelatedProducts. Searching for related applications Action start 10:58:22: FindRelatedProducts. FindRelatedProducts: Found application: {F3801F82-A075-4E73-834C-FCF26053392A} Action ended 10:58:22: FindRelatedProducts. Return value 1. MSI (c) (C8:DC) [10:58:22:434]: Doing action: PrepareDlg Action 10:58:22: PrepareDlg. Action start 10:58:22: PrepareDlg. But... the feature states only match the settings in the Feature table, not what the user selected in the previous install. Any tips for what I am missing? Thanks, Dale Dale Quigg ||| Senior Build / Configuration / Installation Engineer MessageGate ||| Enterprise Email Governance -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How would I register a COM+ service using Wix (DCOMCNFG)
Right now I have to go through DCOMCNFG to set service parameters. How would do this using Wix? Thanks, Jim -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix Coder forums
I think I like the idea of forums. Categories like Announcements Bootstrappers HOW-TO Articles Wix 2.0 Issues Wix 3.0 Issues Heat Issues Votive Issues And many more.. This will make it easier for users to go to specific forum to find their problem related answers rather than one main list for every problem in Wix. This will also help many newcomers to read How-To before asking the questions. Arun -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: Friday, April 24, 2009 3:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix Coder forums Hi Rob, It's similar to a mailing list, however one difference is that it would be forum-based organized by sections and categories. I could also have an section where HOW-TO articles written by various developers that use Wix could post their contributions to the site. The forum could have various topics for discussion that could could be conversational to QA. A forum site could have multiple mailing-lists, perhaps one list for each forum category. It's only limited to one's imagination. ;) Jim -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Friday, April 24, 2009 2:39 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix Coder forums How is that really different than this mailing list? MacDiarmid, James D wrote: Would anyone know of any forums or coding sites kinda like CodeGuru, DevShed, etc that would be dedicated to Install Development using Wix? If not, there might be some benefit to having such a forum or site. I guess the question would be would anyone be interested in such a site? Jim -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to disable/bypass FilesInUse dialog
Thanks for the link. But i've got one more question. I,ve never needed to customize UI of my installer, so i'd like to know how to change attributes (hidden, modeless) of already defined Dialog from my installer code?... Or do i have to browse original Wix sources and make these changes where the FilesInUse is defined? Thanks for any help. Jan Brian Simoneau wrote: http://www.installsite.org/pages/en/msifaq/a/1042.htm -Brian Simoneau -Original Message- From: Jan Bilek [mailto:bil...@gmail.com] Sent: Thursday, April 23, 2009 2:58 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to disable/bypass FilesInUse dialog Hello, Is there any easy way (attribute/property to be set) how to disable Files In Use dialog which pops up during the uninstallation process. I simply don't want to bother user with this dialog even if all of installed executables are running. Thanks for your help. Regards, Jan -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] database and windows service not getting uninstalled
That sounds like something missing in ServiceControl - that's where you explicitly say you want the service deleted with the Remove attribute. Phil Wilson -Original Message- From: Mark Sinnathamby [mailto:mr...@eurocenter.lk] Sent: Friday, April 24, 2009 1:01 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] database and windows service not getting uninstalled Hi, I have created an msi installation pack with Wix, using my own custom UI library. I have added the maintenance dialogs in this library as well. When I install the product, Which consists of a database a windows service and some executables, everything gets installed without any problems. When I try to uninstall, the uninstallation proceeds without any problem, but I find that the windows service and the database are still there after uninstalling. (the executables and shortcuts are uninstalled successfully). Is this a common problem when you create your own UI library? What is wrong here? Thanks, Mark. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to disable/bypass FilesInUse dialog
Jan this is a good starting point: http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html Dizzy Monkey design has a little ok guid. http://www.dizzymonkeydesign.com/blog/misc/adding-and-customizing-dlgs-in-wix-3/ You can also use the guide here by Gábor DEÁK JAHN : http://www.tramontana.co.hu/wix/lesson2.php Brian 2009/4/24 Jan Bilek bil...@gmail.com Thanks for the link. But i've got one more question. I,ve never needed to customize UI of my installer, so i'd like to know how to change attributes (hidden, modeless) of already defined Dialog from my installer code?... Or do i have to browse original Wix sources and make these changes where the FilesInUse is defined? Thanks for any help. Jan Brian Simoneau wrote: http://www.installsite.org/pages/en/msifaq/a/1042.htm -Brian Simoneau -Original Message- From: Jan Bilek [mailto:bil...@gmail.com] Sent: Thursday, April 23, 2009 2:58 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to disable/bypass FilesInUse dialog Hello, Is there any easy way (attribute/property to be set) how to disable Files In Use dialog which pops up during the uninstallation process. I simply don't want to bother user with this dialog even if all of installed executables are running. Thanks for your help. Regards, Jan -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix Coder forums
In my experience, the more categories there are for discussion, the less vibrant a community is. Fewer questions are be answered because not everyone follows all of the forums and because, in many cases, developers prefer mailing lists to web interaction. On a couple of the forums I've been involved with, I've seen marked increases in participation by decreasing the number of categories and by setting up web-email gateways. Using Nabble is a great way of bridging the two worlds. I do see value in an officially sanctioned and open access wiki. As a WiX newbie, without experience in Windows Installer, I've found that a lot of valuable information is considerably spread out, with much of the most valuable information in blog posts, Stack Overflow, etc. So much so that a couple times I've gone looking for information when I should have just searched the documentation. If the community had an officially sanctioned wiki to contribute to, then it could be mined and the most valuable snippets integrated into the docs' How-To section. I understand the argument that people building installers should have a full comprehension of MSI and WiX, but often real-world deadlines mean that you have to start with cookie-cutter recipes, and gain that understanding as you muddle your way through. Anything that can be done to bring the relevant information together in fewer places and make the experience less... muddlesome?... would be a positive step. Jason -Original Message- From: Arun Perregatturv Sent: April-24-09 1:02 PM Subject: Re: [WiX-users] Wix Coder forums I think I like the idea of forums. Categories like Announcements Bootstrappers HOW-TO Articles Wix 2.0 Issues Wix 3.0 Issues Heat Issues Votive Issues And many more.. This will make it easier for users to go to specific forum to find their problem related answers rather than one main list for every problem in Wix. This will also help many newcomers to read How-To before asking the questions. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix Coder forums
Hi Rob, It's similar to a mailing list, however one difference is that it would be forum-based organized by sections and categories. I could also have an section where HOW-TO articles written by various developers that use Wix could post their contributions to the site. The forum could have various topics for discussion that could could be conversational to QA. A forum site could have multiple mailing-lists, perhaps one list for each forum category. It's only limited to one's imagination. ;) Jim -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Friday, April 24, 2009 2:39 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix Coder forums How is that really different than this mailing list? MacDiarmid, James D wrote: Would anyone know of any forums or coding sites kinda like CodeGuru, DevShed, etc that would be dedicated to Install Development using Wix? If not, there might be some benefit to having such a forum or site. I guess the question would be would anyone be interested in such a site? Jim -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Marking portions of strings within wxl for not localization
Hey Sudripta, A wxl file doesn't get processed for localization. You need to make a wxl file per language you want to localize and pass that into light to output the MSI with the correct localization. This means that any text you put there for fonts will be what gets put in the MSI. en-US.wxl nl-nl.wxl Thanks, Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Thu, Apr 23, 2009 at 11:46 AM, Sudripta Nandy (Sarangsoft Corporation) v-su...@microsoft.com wrote: In my setup project, I am using wxl files for localization. But, there are certain parts within the strings (like Font name product name etc.) which I don't want to be localized. Is there a way to mark these for not localization? Thanks. Sudripta. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How would I register a COM+ service using Wix (DCOMCNFG)
Hey James, Have you looked into the WiX COM+ public custom actions at all? Thanks, Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Fri, Apr 24, 2009 at 12:41 PM, MacDiarmid, James D james.macdiar...@eds.com wrote: Right now I have to go through DCOMCNFG to set service parameters. How would do this using Wix? Thanks, Jim -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to disable/bypass FilesInUse dialog
Wow! So the only way how to get rid off that damned FileInUse dialog is to create complete own version of WixUI template like WixUI_MondoNoLicense? Jesus, it's like hunting mice with an a-bomb! Seriously, isn't there any other easier way how to accomplish this simple task? Is there any way how to control UI without creating your own? Many thanks for your help and opinions. Jan Brian Bakkebo wrote: Jan this is a good starting point: http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html Dizzy Monkey design has a little ok guid. http://www.dizzymonkeydesign.com/blog/misc/adding-and-customizing-dlgs-in-wix-3/ You can also use the guide here by Gábor DEÁK JAHN : http://www.tramontana.co.hu/wix/lesson2.php Brian 2009/4/24 Jan Bilek bil...@gmail.com Thanks for the link. But i've got one more question. I,ve never needed to customize UI of my installer, so i'd like to know how to change attributes (hidden, modeless) of already defined Dialog from my installer code?... Or do i have to browse original Wix sources and make these changes where the FilesInUse is defined? Thanks for any help. Jan Brian Simoneau wrote: http://www.installsite.org/pages/en/msifaq/a/1042.htm -Brian Simoneau -Original Message- From: Jan Bilek [mailto:bil...@gmail.com] Sent: Thursday, April 23, 2009 2:58 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to disable/bypass FilesInUse dialog Hello, Is there any easy way (attribute/property to be set) how to disable Files In Use dialog which pops up during the uninstallation process. I simply don't want to bother user with this dialog even if all of installed executables are running. Thanks for your help. Regards, Jan -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Major Upgrade: some files are randomly not installed
I'd like to post my code in the Upgrade part. This is our Major Upgrade code: Upgrade Id='$(var.UpgradeCode)' UpgradeVersion Property=OLDAPPFOUND OnlyDetect='no' Minimum=0.0.0 IncludeMinimum=yes Maximum=99.99.32767 IncludeMaximum=no / /Upgrade InstallExecuteSequence RemoveExistingProducts After='InstallValidate' / /InstallExecuteSequence Basically: 1. We need Major Upgrade because some times we may include one dll is the build, but decide remove it in the later build. So we'd like to make a clean installation for each installation. 2. We need the Downgrade working because some times we may put an older but working build in our provisioning server to urge the user to Downgrade the current but not working build. So we don't need to prevent Downgrade. I appreciate if anyone can tell me why some times some files are not installed during Major Upgrade. Thanks! /Brian __ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to disable/bypass FilesInUse dialog
It is buried/implied in the documentation, but there is a simpler way. Just change the sequencing of the windows. I haven't done this for Mondo, but here it is for FeatureTree : UI UIRef Id=WixUI_FeatureTree / Publish Dialog=WelcomeDlg Control=Next Event=NewDialog Value=CustomizeDlg1/Publish Publish Dialog=CustomizeDlg Control=Back Event=NewDialog Value=WelcomeDlg Order=2NOT Installed/Publish /UI You'll still need to peek at the source. You are essentially overriding the existing Dialog orders. K On Fri, Apr 24, 2009 at 6:47 PM, Jan Bilek bil...@gmail.com wrote: Wow! So the only way how to get rid off that damned FileInUse dialog is to create complete own version of WixUI template like WixUI_MondoNoLicense? Jesus, it's like hunting mice with an a-bomb! Seriously, isn't there any other easier way how to accomplish this simple task? Is there any way how to control UI without creating your own? Many thanks for your help and opinions. Jan -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to disable/bypass FilesInUse dialog
Sorry, I just pasted my response into the wrong window :) On Fri, Apr 24, 2009 at 7:25 PM, Karthik Krishnan vulca...@gmail.comwrote: It is buried/implied in the documentation, but there is a simpler way. Just change the sequencing of the windows. I haven't done this for Mondo, but here it is for FeatureTree : UI UIRef Id=WixUI_FeatureTree / Publish Dialog=WelcomeDlg Control=Next Event=NewDialog Value=CustomizeDlg1/Publish Publish Dialog=CustomizeDlg Control=Back Event=NewDialog Value=WelcomeDlg Order=2NOT Installed/Publish /UI You'll still need to peek at the source. You are essentially overriding the existing Dialog orders. K On Fri, Apr 24, 2009 at 6:47 PM, Jan Bilek bil...@gmail.com wrote: Wow! So the only way how to get rid off that damned FileInUse dialog is to create complete own version of WixUI template like WixUI_MondoNoLicense? Jesus, it's like hunting mice with an a-bomb! Seriously, isn't there any other easier way how to accomplish this simple task? Is there any way how to control UI without creating your own? Many thanks for your help and opinions. Jan -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Light.exe emits seemingly bogus warning
Can someone help me determine if this is a bug or not? I have a .wxs that I authored, and when I link the .wixobj with light.exe, it emits a warning when I have my Compressed attribute on the Package element set to no. If I set it to yes (only thing I'm changing), it goes away. Here's the warning: C:\Field Engineering\Customers\FE\Utils Trunk\WIX\Common\SkinsStandardImport.wxs(28) : warning LGHT1079 : The cabinet 'F EMedia.cab' does not contain any files. If this installation contains no files, this warning can likely be safely ignor ed. Otherwise, please add files to the cabinet or remove it. I'm not skilled enough with Orca yet to be able to look and see if it's lying to me or not. SkinsStandardImport.wxs is a file I include via the preprocessor. It contains my Upgrade and Media tags. Here is my .wxs, and how I build, if interested. I'm using WiX wix3.0.4805.0. (MakeMyMSI.bat) candle.exe OMISkinsInstall.wxs light.exe OMISkinsInstall.wixobj -out OMISkinsInstall.msi -ext C:\Program Files\Windows Installer XML v3\bin\WixUIExtension.dll (SkinsStandardImport.wxs) ?xml version=1.0 encoding=utf-8? Include xmlns=http://schemas.microsoft.com/wix/2006/wi; Upgrade Id=$(var.UpgradeCode) / Media Id=1 Cabinet=FEMedia.cab EmbedCab=yes / /Include (OMISkinsInstall.wxs) ?xml version=1.0? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; !-- Preprocessor variables -- !-- (These respond to $(var.VariableName) so you don't have to change things in several places.) -- !-- 3 for 3.x installs, 4 for 4.x, etc. -- ?define PlatformMajorDigit = 3 ? ?define ProductName = OMI FE Skins ? !-- Note: The 4th digit in our version numbers is ignored by the MSI. -- ?define ProductVer = 3.0.0.1 ? ?define ProductID = 32D572CE-DEE2-4CD9-B49F-D72F86D2F1DA ? ?define UpgradeCode = 2770BE11-D110-4BE3-B349-9BAEB8C9B57C ? Product Id=$(var.ProductID) UpgradeCode=$(var.UpgradeCode) Name=$(var.ProductName) Language=1033 Version=$(var.ProductVer) Manufacturer=Duck Creek Technologies Package Id=* Description=$(var.ProductName) Comments=$(var.ProductName) InstallerVersion=400 Compressed=no / ?include ..\Common\SkinsStandardImport.wxs? Property Id=WIXUI_INSTALLDIR Value=INSTALLDIR/ UIRef Id=WixUI_InstallDir / InstallExecuteSequence RemoveExistingProducts After=InstallInitialize / /InstallExecuteSequence InstallUISequence /InstallUISequence Directory Id=TARGETDIR Name=SourceDir Directory Id=INSTALLDIR Directory Id=ExpressFolder Name=Express Directory Id=SkinsFolder Name=Skins Directory Id=OMISkinsFolder Name=OMI Directory Id=OMISkinsXslFolder Name=xsl Component Id=OMISkinsXslFolderComponent Guid=C76C782F-8D1C-4C43-BE09-A5F738C70559 File Id=PolicyXsl Name=policy.xsl DiskId=1 Source=BuildOutput\OMI\xsl\policy.xsl / /Component /Directory /Directory /Directory /Directory /Directory /Directory Feature Id=OMISkins Title=OMI skins for Express Level=1 ComponentRef Id=OMISkinsXslFolderComponent / /Feature /Product /Wix Jeff Reed | Field Engineering | Duck Creek Technologies | ree...@duckcreektech.com -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Major Upgrade: some files are randomly not installed
I appreciate if anyone can tell me why some times some files are not installed during Major Upgrade. Perhaps you could try isolating the problem, by taking each version of the product that you've released so far and installing, then uninstalling on a clean machine? I like to use virtual machines so that when I shut down, I can throw the state away. Maybe you'll find some orphaned files in certain versions, and that would explain the behavior you're experiencing? I'm fairly new to WiX, but if I was in your shoes, that is one technique I would try. -Jeff -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users