[WiX-users] Slow Installs
I have an installation which consists of around 7,000 files. Each file is in it's own Component. The WXS file is auto generated during build time (via heat) so names, guids, etc. are auto generated. The MSI is started from an External UI via the Deployment SDK's Installer.InstallProduct() method. The issue I am having is that I have a few machines in which this install takes 20+ minutes to complete. If I run the MSI (internal UI with 2 dialog boxes) directly it completes in less than 4 minutes. I have other machines where the installer always completes in less than 4 minutes, even when launched via the External UI. The windows installer logs show two troubled spots; InstallValidate and InstallFinalize. Note time stamps for each. Multiple this by 7,000 and there is a huge difference. -- Fast Machine InstallValidate (about 10 sec.):Action start 11:17:12: InstallValidate. MSI (s) (70:1C) [11:17:12:372]: PROPERTY CHANGE: Deleting MsiRestartManagerSessionKey property. Its current value is 'fa2e3aad27d16d4e815391f8e05031e8'. MSI (s) (70:1C) [11:17:12:372]: Feature: HELP; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmp7508239CD3C91A04CD46DAD6344526D1; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmpE1A2A7D49B5BA1B317E2F32AE4340A48; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmpD995221AD6EB80B0573784486383E37A; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmp4871692295893014F9578D4EE91D4998; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmp6ECBB2DE1A63C18C88A4466391DB4CE0; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmp5CAB7469C4EBA6B60F503CE7A104A964; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmp6C30822E8A3BEACD47668C3D6FC18F04; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:387]: Component: cmpD11C1CED98B7B1BAF34A45A5E509; Installed: Absent; Request: Local; Action: Local.Action ended 11:17:22: InstallValidate. Return value 1. -- Slow Machine InstallValidate (about 4 minutes):Action start 15:45:17: InstallValidate. MSI (s) (94:34) [15:45:17:967]: PROPERTY CHANGE: Deleting MsiRestartManagerSessionKey property. Its current value is '55fca73a0d8baf459591e1f88d52b83f'. MSI (s) (94:34) [15:45:17:998]: Feature: HELP; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:139]: Component: cmp7508239CD3C91A04CD46DAD6344526D1; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:280]: Component: cmpE1A2A7D49B5BA1B317E2F32AE4340A48; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:295]: Component: cmpD995221AD6EB80B0573784486383E37A; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:311]: Component: cmp4871692295893014F9578D4EE91D4998; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:342]: Component: cmp6ECBB2DE1A63C18C88A4466391DB4CE0; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:358]: Component: cmp5CAB7469C4EBA6B60F503CE7A104A964; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:389]: Component: cmp6C30822E8A3BEACD47668C3D6FC18F04; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:405]: Component: cmpD11C1CED98B7B1BAF34A45A5E509; Installed: Absent; Request: Local; Action: Local.Action ended 15:49:17: InstallValidate. Return value 1. InstallFinalize is very similar in that each Executing op: ComponentRegister and Executing op: FileCopy is taking much longer on some machines. I am not sure how to correct the issues or where the root cause can be found. Aside from tracking down machine differences, is there any guidance on how to proceed with resolving this issue? What type of machine difference would cause such behavior? Thanks,Dex. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Install multiple services using single ServiceHost.exe?
Is it possible to use the ServiceInstall element and install multiple Windows Services using a single host.exe file? If so, how? This works for a single service, but I cannot install the same file to the same directory from two different components...ICE30 error. Component Id=_B5647036_A00B_46B2_B97D_E2C036EAEDB1 Guid=1ECA2A8C-DB3E-490B-B037-81F27E26CE51 Win64=yes File Id=_90E1C3D5_1A4A_4C11_BA9D_95C542B762CF Name=ServiceHost.exe Source=ServiceHost.exe/ ServiceInstall Id=MyWindowsService Name=!(loc.MyWindowsServiceName) Arguments='[#MyWindowsServiceConfig]' Description=!(loc.MyWindowsServiceDescription) DisplayName=!(loc.MyWindowsServiceDisplayName) Account=[DOMAIN]\[USER] Password=[PASSWORD] ErrorControl=normal Interactive=no Type=ownProcess Start=auto Vital=yes/ ServiceControl Id=_DD6E90A5_AFA6_451A_9E5F_CAA33C2D28B2 Name=!(loc.MyWindowsServiceName) Stop=both Remove=uninstall Wait=no / /Component I have been unable to find another way to specify using the same file for the ServiceInstall to use. Do I need to create multiple MSI's, one for each service to get around the ICE30 error? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] (no subject)
http://netsuae.com/modules/mod_wdbanners/friends.php?arent164.html -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] (no subject)
a name=oklupzcoas href=http://www.bredeau.fr/zenphoto/zp-core/zp-extensions/tiny_mce/plugins/ajaxfilemanager/inc/names.php?ryan164.jpeg;http://www.bredeau.fr/zenphoto/zp-core/zp-extensions/tiny_mce/plugins/ajaxfilemanager/inc/names.php?ryan164.jpeg/a -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] (no subject)
a name=ymohlhlokv title= href=http://ydig.us/wp-includes/js/tinymce/plugins/wpgallery/img/search.php?test128.jpg;http://ydig.us/wp-includes/js/tinymce/plugins/wpgallery/img/search.php?test128.jpg/a -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Error using common Localization String IDs
Yes. WixLocalization Culture=en-us xmlns=http://schemas.microsoft.com/wix/2006/localization; WixLocalization Culture=es-es xmlns=http://schemas.microsoft.com/wix/2006/localization; -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Error-using-common-Localization-String-IDs-tp5343712p5345673.html Sent from the wix-users mailing list archive at Nabble.com. -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Determine build language at compile time.
This is the part I was missing Usually WXL files are known only to light.exe, not to candle.exe, so culture can only be known long after the preprocessor is done. I use code similar to your example currently for other items. I was more interested in being able to use WXL data in the ? if ? statements maybe to conditionally add files based upon culture. Maybe this is a better example: ? if !(loc.CultureID) = FRCA ? File Id=foo Name=foo.txt Source=C:\data\foo.txt / ?endif? But as you pointed out WXL data is not available at preprocessor time so I will continue to use environment variables. Thank you. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Determine-build-language-at-compile-time-tp5343775p5345687.html Sent from the wix-users mailing list archive at Nabble.com. -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Error using common Localization String IDs
Should I be able to create common string ids in multiple localization files? For example, I change Product Name based upon culture so I create a localized string 'ProductName' and change the value in each of my *.wxl files. The error when building is The localization identifier 'ProductName' has been duplicated in multiple locations. Please resolve the conflict. Based on one thread somewhat related to this, I have created multiple project files in order to work around this issue. I would like to move back to a single project if possible. I am using Wix 3.0 and VS 2008. -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Determine build language at compile time.
I don't appear to be able to utilize localization strings in order to define variables or conditional statements. Is there another way to determine, at compile time, what language I am building? I would like to remove the additional overhead associated with changing environmental or system variables between translated builds but am unable to find another way. What I think I would like to be able to do is something like this: ?define Sku = !(loc.CultureID) ? OR ?if !(loc.CultureID) = FRCA? File Id=foo Name=foo.txt Source=C:\French\foo.txt / ?elseif !(loc.CultureID) = ESLA? File Id=foo Name=foo.txt Source=C:\Latam\foo.txt / ?else? File Id=foo Name=foo.txt Source=C:\US\foo.txt / ?endif? (I understand in this simple IF statement there are other ways to get the source path.it is just an example.) I would like to utilize a single *.wxs with multiple *.wxl files (one for each translation). Any help is much appreciated. -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Is it possible to modify an XML file element with Wix 2.0?
I have used the XMLConfig and XMLFile in Wix 2.0 and they work fine for adding new items. However, I am unable to use these to append to existing values. Is there a way to append an XML file using Wix 2.0? I am attempting to take the following XML: ?xml version=1.0 encoding=utf-8? XmlFile One TWO my IDs=One,TWO,/ /TWO /One /XmlFile And modify the IDs value to include a new items: ?xml version=1.0 encoding=utf-8? XmlFile One TWO my IDs=One,TWO,THREE,FOUR/ /TWO /One /XmlFile I can write my own custom action to perform this, but thought I would first check to see if Wix v2.0 handles this for me. Thank you. _ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Patching multiple instances of product using new purely Wix process.
I am using the new Wix patching process to create my MSPs. I am having trouble with my patches working on multiple instances of my product. The patch complains that the product is not installed. Using the patchwiz process patching multiple instances worked. The patch runs against the default instance fine. Has anyone else used the new patching process for a product which allows multiple instances? Are there examples available for this scenario? Thank you. _ The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendarocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5 -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] SqlString roleback options
I need to add an existing user to an existing SQL database role. I am not creating the database or any tables. If the user is already a member of the role my script will do nothing. My current Wix implementation works fine except I don't appear to have rollback (remove the user from the role if I added it). here is the psudo code for the sql script: if not exists (...) add user to role end if What, if any, are my options for providing roll back when using SqlString? Can I use the Sql Schema items available in Wix to determine if my script added the user to the role and if so remove the user from the role during rollback? I believe I can perform these actions via a C# custom action (haven't written it yet), but wanted to see if something similar could be done with the Wix tools. _ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/ -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users