please unsubscribe me,,,,,,,
On Thu, Sep 23, 2010 at 6:23 AM, <wix-users-requ...@lists.sourceforge.net>wrote: > Send WiX-users mailing list submissions to > wix-users@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/wix-users > or, via email, send a message with subject or body 'help' to > wix-users-requ...@lists.sourceforge.net > > You can reach the person managing the list at > wix-users-ow...@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of WiX-users digest..." > > > Today's Topics: > > 1. Question with performance on installer using cab files > (Leung, John C.H.) > 2. Re: Problems with UninstallCertificates custom action > (Dario Amiri) > 3. Re: Command Line Parameters toDeferred CustomAction on > Vista > (Bob Arnson) > 4. Re: Problems with UninstallCertificates custom action (Bob Arnson) > 5. Re: Heat.exe (Bob Arnson) > 6. Re: Sub-feature in separate wxs file (Bob Arnson) > 7. Re: listbox/view with check boxes in (Bob Arnson) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 22 Sep 2010 17:01:30 -0700 > From: "Leung, John C.H." <johnle...@ea.com> > Subject: [WiX-users] Question with performance on installer using cab > files > To: "wix-users@lists.sourceforge.net" > <wix-users@lists.sourceforge.net> > Message-ID: > < > 424cfd7aed2e8649a5c9b4b7aa1bef7fca154d3...@na-mail-2-3.rws.ad.ea.com> > Content-Type: text/plain; charset="us-ascii" > > I have some performance question on installer setup that uses cab files. > I'm wondering if I just didn't set up my WiX project properly or it this is > how cab files install behaves. > > I notice that during installation of the files listed in the cab files, it > always read 16 and 256 bytes (see below table from Process Monitor) near the > start of the cab file and then seek forward to read 32KB chunks and write > data. This is happening for every single file in the cab file. We have > over 10,000 files in the cab file. This constantly seeking back and forth > on the DVD drive seems inefficient. Is this normal? Or is there something > I'm supposed to do in my WiX project setup? I've tried different > compression level (default, none, low, etc), they don't seem to have any > effect on this behaviour. > > > "4:36:31.9308030 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 108, Length: 16, Priority: Normal" < - - - Reading 16 + 256 bytes near > beginning of cab file. > "4:36:31.9308395 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 124, Length: 256, Priority: Normal" > "4:36:31.9337166 > PM","msiexec.exe","4992","WriteFile","C:\Config.Msi\b684f13.rbs","SUCCESS","Offset: > 4,766, Length: 97" > "4:36:31.9387399 PM","msiexec.exe","4992","WriteFile","C:\Program > Files\Test > Install\SimpleTest\TestCabGrp\TestFolder1\SubFolder11\DummyImage2.bmp","SUCCESS","Offset: > 0, Length: 10,850, Priority: Normal" > "4:36:31.9388491 > PM","msiexec.exe","4992","ReadFile","C:","SUCCESS","Offset: 41,885,696, > Length: 96, I/O Flags: Non-cached, Paging I/O, Synchronous Paging I/O, > Priority: Normal" > "4:36:31.9389737 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 27,673, Length: 8, Priority: Normal" > "4:36:31.9390101 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 27,681, Length: 194, Priority: Normal" > "4:36:31.9392198 PM","msiexec.exe","4992","WriteFile","C:\Program > Files\Test > Install\SimpleTest\TestCabGrp\TestFolder1\SubFolder11\DummyImage2.bmp","SUCCESS","Offset: > 10,850, Length: 32,768, Priority: Normal" > "4:36:31.9396917 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 27,875, Length: 8, Priority: Normal" > "4:36:31.9397258 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 27,883, Length: 178, Priority: Normal" > "4:36:31.9398968 PM","msiexec.exe","4992","WriteFile","C:\Program > Files\Test > Install\SimpleTest\TestCabGrp\TestFolder1\SubFolder11\DummyImage2.bmp","SUCCESS","Offset: > 43,618, Length: 32,768" > ... > "4:36:31.9776340 PM","msiexec.exe","4992","WriteFile","C:\Program > Files\Test > Install\SimpleTest\TestCabGrp\TestFolder1\SubFolder11\DummyImage2.bmp","SUCCESS","Offset: > 2,468,450, Length: 11,068" > "4:36:31.9813752 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 172, Length: 16, Priority: Normal" < - - - Reading 16 + 256 bytes near > beginning of cab file. > "4:36:31.9814126 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 188, Length: 256, Priority: Normal" > "4:36:31.9840158 > PM","msiexec.exe","4992","WriteFile","C:\Config.Msi\b684f13.rbs","SUCCESS","Offset: > 4,863, Length: 92" > "4:36:31.9886911 PM","msiexec.exe","4992","WriteFile","C:\Program > Files\Test > Install\SimpleTest\TestCabGrp\TestFolder1\SubFolder11\Image3.bmp","SUCCESS","Offset: > 0, Length: 21,700, Priority: Normal" > "4:36:31.9888493 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 57,571, Length: 8, Priority: Normal" > "4:36:31.9888881 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 57,579, Length: 2,174, Priority: Normal" > "4:36:31.9891042 PM","msiexec.exe","4992","WriteFile","C:\Program > Files\Test > Install\SimpleTest\TestCabGrp\TestFolder1\SubFolder11\Image3.bmp","SUCCESS","Offset: > 21,700, Length: 32,768, Priority: Normal" > ... > "4:36:32.0270798 PM","msiexec.exe","4992","WriteFile","C:\Program > Files\Test > Install\SimpleTest\TestCabGrp\TestFolder1\SubFolder11\Image3.bmp","SUCCESS","Offset: > 2,282,692, Length: 18,770" > "4:36:32.0306709 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 231, Length: 16, Priority: Normal" < - - - Reading 16 + 256 bytes near > beginning of cab file. > "4:36:32.0307078 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 247, Length: 256, Priority: Normal" > "4:36:32.0332996 > PM","msiexec.exe","4992","WriteFile","C:\Config.Msi\b684f13.rbs","SUCCESS","Offset: > 4,955, Length: 92" > "4:36:32.2163116 PM","msiexec.exe","4992","WriteFile","C:\Program > Files\Test > Install\SimpleTest\TestCabGrp\TestFolder1\SubFolder11\Image4.bmp","SUCCESS","Offset: > 0, Length: 13,998, Priority: Normal" > "4:36:32.2165258 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 207,409, Length: 8, Priority: Normal" > "4:36:32.2165745 > PM","msiexec.exe","4992","ReadFile","F:\CabGroup.cab","SUCCESS","Offset: > 207,417, Length: 1,500, Priority: Normal" > "4:36:32.2167896 PM","msiexec.exe","4992","WriteFile","C:\Program > Files\Test > Install\SimpleTest\TestCabGrp\TestFolder1\SubFolder11\Image4.bmp","SUCCESS","Offset: > 13,998, Length: 32,768, Priority: Normal" > > > > > John Leung > Software Engineer > > > > > ------------------------------ > > Message: 2 > Date: Wed, 22 Sep 2010 17:15:32 -0700 > From: "Dario Amiri" <dam...@osisoft.com> > Subject: Re: [WiX-users] Problems with UninstallCertificates custom > action > To: "General discussion for Windows Installer XML toolset." > <wix-users@lists.sourceforge.net> > Message-ID: > <a2647b2e34d2f941b25d39f52dd7e58f0a33c...@pegasus.osisoft.int> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > So it looks like no one has any advice for this issue. Is there any way > I can submit this as a bug? Because as far as I can tell the > "iis:Certificate" custom action is broke. > > Regards, > > Dario > > -----Original Message----- > From: Dario Amiri [mailto:dam...@osisoft.com] > Sent: Tuesday, September 21, 2010 9:28 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Problems with UninstallCertificates custom action > > Hi all, > > > > This is my first time post. I want to thank the wix team for developing > their product. It has been great thus far. > > > > When I was using Visual Studio 2008 and wix 3.0 I was able to create > MSIs that installed certificates and uninstalled them just fine when > doing a product uninstall. I recently upgraded to Visual Studio 2010 and > wix 3.6 and now the MSI builds in a way that installs fine but does not > uninstall well. I get the following error: > > > > UninstallCertificates: Entering UninstallCertificates in > C:\Windows\Installer\MSID41F.tmp, version 3.6.910.0 > > DEBUG: Error 2769: Custom Action UninstallCertificates did not close 3 > MSIHANDLEs. > > > > I contacted one of the wix developers by email and he suggested I try > wix 3.5 because 3.6 is unstable. So I downgraded but the results are the > same. I have attached both logs to this email. Below is a snippet of the > .wxs file showing how I specify the certificate installation using the > iis:Certificates extenstion. If anyone can help me out I would greatly > appreciate it. Otherwise I have no option but to develop in VS 2010 and > build my kits in VS 2008. > > > > Thanks, > > > > Dario > > > > > > <Component Id="NOCRoot.cer" > Guid="DE38F5E9-76FC-41c6-8835-A4F22617BA1D"> > > <File Id="NOCRoot.cer" Name="OSISOFT-NOC-CA.cer" > Source="OSISOFT-NOC-CA.cer" KeyPath="yes" Vital="yes"/> > > > > <iis:Certificate Id="NOCRootCert" > > Name="OSISOFT-NOC-CA.cer" > > Request="no" > > StoreLocation="localMachine" > > StoreName="root" > > Overwrite="yes" > > BinaryKey="NOCRootCert.Binary"/> > > </Component> > > > > <Component Id="WorkOrderSigner.cer" > Guid="0521B9CD-744C-433e-9409-BA6583C6B2E7"> > > <File Id="WorkOrderSigner.cer" Name="WorkOrderSigner.cer" > Source="WorkOrderSigner.cer" KeyPath="yes" Vital="yes"/> > > > > </Component> > > . > > . > > . > > <Binary Id="NOCRootCert.Binary" SourceFile="OSISOFT-NOC-CA.cer"/> > > <Binary Id="WorkOrderSigner.Binary" > SourceFile="WorkOrderSigner.cer"/> > > > > > > > > > ------------------------------ > > Message: 3 > Date: Wed, 22 Sep 2010 20:30:15 -0400 > From: Bob Arnson <b...@joyofsetup.com> > Subject: Re: [WiX-users] Command Line Parameters toDeferred > CustomAction on Vista > To: wix-users@lists.sourceforge.net > Message-ID: <4c9a9f97.1060...@joyofsetup.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > On 22-Sep-10 13:07, Matt Walker wrote: > > I don't know if I mentioned this before, but my Deferred Custom Action > > fires an .exe stored in the Binary Table with the following command line > > parameters being passed [ProductCode] [OURVERSION], the later being the > > pre-populated property. > > The reason it works is that your deferred action is being scheduled > during the script generation phase of the execute sequence, when > properties are still available. Your CA isn't trying to read properties > -- it's an .exe whose command line was set when it was scheduled. > SecureCustomProperties is necessary to get a property out of the UI > sequence and into the script generation phase of the execute sequence. > SecureCustomProperties won't get a property into the *script execution* > phase of the execute sequence; that's what CustomActionData is for. > > -- > sig://boB > http://joyofsetup.com/ > > > > > ------------------------------ > > Message: 4 > Date: Wed, 22 Sep 2010 20:52:06 -0400 > From: Bob Arnson <b...@joyofsetup.com> > Subject: Re: [WiX-users] Problems with UninstallCertificates custom > action > To: wix-users@lists.sourceforge.net > Message-ID: <4c9aa4b6.9080...@joyofsetup.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 22-Sep-10 20:15, Dario Amiri wrote: > > So it looks like no one has any advice for this issue. Is there any way > > I can submit this as a bug? > > The WiX home page has links to the bug database: https://wix.codeplex.com/ > > -- > sig://boB > http://joyofsetup.com/ > > > > > ------------------------------ > > Message: 5 > Date: Wed, 22 Sep 2010 20:32:24 -0400 > From: Bob Arnson <b...@joyofsetup.com> > Subject: Re: [WiX-users] Heat.exe > To: wix-users@lists.sourceforge.net > Message-ID: <4c9aa018.9010...@joyofsetup.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 22-Sep-10 18:11, David Amey wrote: > > Basically I'm using heat to harvest a folder, simples. However I'm using > the "-var" property in the command line (to replace the "sourceDir" in the > output component's source attribute), using a variable declared in the > main.wxs. This replaces the "sourceDir" as expected, but when it comes to > candle to compile , it flags an error as if the variable isn't populated. > > You have to define the values for any preprocessor variables you use in > your source code. How you do that depends on how you run the compiler > (e.g., -d on the command line or DefineConstants in MSBuild) but both > are documented in WiX.chm. > > -- > sig://boB > http://joyofsetup.com/ > > > > > ------------------------------ > > Message: 6 > Date: Wed, 22 Sep 2010 20:50:03 -0400 > From: Bob Arnson <b...@joyofsetup.com> > Subject: Re: [WiX-users] Sub-feature in separate wxs file > To: wix-users@lists.sourceforge.net > Message-ID: <4c9aa43b.9010...@joyofsetup.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 22-Sep-10 12:13, pcristini wrote: > > And I don't want the Plugin.Users.wxs file to have any reference to the > > Plugin.UserSync.wxs > > The most likely cause is that the fragment containing the child feature > isn't getting linked in. WiX follows references from the entry section > (Product) to its children; it doesn't go the other way, so you can't > cause a fragment to be linked by having a child refer to a parent. Once > it's linked in, the child-to-parent reference will generate the feature > tree you're looking for. > > -- > sig://boB > http://joyofsetup.com/ > > > > > ------------------------------ > > Message: 7 > Date: Wed, 22 Sep 2010 20:50:16 -0400 > From: Bob Arnson <b...@joyofsetup.com> > Subject: Re: [WiX-users] listbox/view with check boxes in > To: wix-users@lists.sourceforge.net > Message-ID: <4c9aa448.5050...@joyofsetup.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 20-Sep-10 13:09, Sean Farrow wrote: > > Is it possible within the current user interface of wix to have a > listbox/listview with checkboxes in? > > MSI doesn't support that. > > -- > sig://boB > http://joyofsetup.com/ > > > > > ------------------------------ > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > > ------------------------------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > End of WiX-users Digest, Vol 52, Issue 91 > ***************************************** > ------------------------------------------------------------------------------ Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users