Thanks Phil!

I created a verbose log via
"msiexec /i "setup.msi" /l*v "c:\temp\wix.log""

The log is quiet while the files are being accessed :-(

Here is a line of ProcessMonitor that shows the read Access at 15:15
15:15:51,0348430 msiexec.exe 24212 ReadFile
Y:\data\tomcat\webapps\data_dvd1\100219.pdf END
OF FILE Offset: 689.656, Length: 4.096

In the verbose log there are entries at 15:13

--- snip ---
MSI (s) (94:60) [15:13:10:803]: Doing action: ProcessComponents
Action 15:13:10: ProcessComponents. Updating component registration
Action start 15:13:10: ProcessComponents.
MSI (s) (94:60) [15:13:10:807]: Note: 1: 2205 2:  3: MsiPatchCertificate
MSI (s) (94:60) [15:13:10:807]: LUA patching is disabled: missing
MsiPatchCertificate table
MSI (s) (94:60) [15:13:10:807]: Resolving source.
MSI (s) (94:60) [15:13:10:807]: Resolving source to launched-from source.
MSI (s) (94:60) [15:13:10:807]: Setting launched-from source as last-used.
MSI (s) (94:60) [15:13:10:807]: PROPERTY CHANGE: Adding SourceDir property.
Its value is 'Y:\'.
MSI (s) (94:60) [15:13:10:807]: PROPERTY CHANGE: Adding SOURCEDIR property.
Its value is 'Y:\'.
MSI (s) (94:60) [15:13:10:807]: PROPERTY CHANGE: Adding SourcedirProduct
property. Its value is '{00000026-40C1-2701-0100-000001000000}'.
MSI (s) (94:60) [15:13:10:807]: SOURCEDIR ==> Y:\
MSI (s) (94:60) [15:13:10:807]: SOURCEDIR product ==>
{00000026-40C1-2701-0100-000001000000}
MSI (s) (94:60) [15:13:10:812]: SECREPAIR: CryptAcquireContext succeeded
MSI (s) (94:60) [15:13:10:812]: Determining source type
MSI (s) (94:60) [15:13:10:813]: Source type from package 'setup.msi': 0
MSI (s) (94:60) [15:13:10:813]: SECREPAIR: Hash Database:
C:\Windows\Installer\SourceHash{00000026-40C1-2701-0100-000001000000}
MSI (s) (94:60) [15:13:10:814]: Note: 1: 2262 2: SourceHash 3: -2147287038
MSI (s) (94:60) [15:13:10:816]: SECREPAIR: New Hash Database creation
complete
--- snap ---

and then at 15:22 there are some messages that say that the files
referenced are not available (which is right, as they are on another DVD)

--- snip ---
...
MSI (s) (94:60) [15:22:14:730]: SECUREREPAIR: Failed to CreateContentHash
of the file: Y:\data\tomcat\webapps\mc17\data_dvd2\20534536203_it-IT.pdf:
for computing its hash. Error: 3
...
--- snap ---

That all occurs in the phase "Updating component Registration"

And yes, the PDFs are referenced in the installer. They can be installed
optionally (which is not an option for most users as they don't want to
have GBs of PDF on their hard disk).
The "Typical" installation leaves all PDFs on the DVD and just installs the
application.

At the moment there seem to be two explanations for the behavior of the
installer.
* This read accesses are by design of the Windows Installer
* Our installer has a bug, so that it does the right thing in the end but
with a lot of unnecessary work ...

If it is the latter I'll have to see if I can create a small example that
reproduces the behaviour. The current installer is far too big to track
anything down ...

Any hints are welcome, though...





On Tue, Dec 9, 2014 at 6:07 PM, Phil Wilson <phildgwil...@gmail.com> wrote:
>
> A verbose log would be useful because of the timestamps so you can see
> where the time is going.
>
> I assume the PDFs are referred to somehow from the MSI file otherwise
> there  would be no need to access them. When you say "read", I suspect
> they're just being accessed for some reason.
>
> If the PDFs are available through an MSI feature such as access this
> feature from the DVD then it's my assumption that the install still
> goes through things like looking for existing files of that name,
> costing etc, so the log may show only a long time inside
> InstallValidate because accessing the DVD is slower.
> ---------------
> Phil Wilson
>
>
> On Tue, Dec 9, 2014 at 3:25 AM, Helmut Ziegler <scruffytec...@gmail.com>
> wrote:
> >  Hi,
> >
> > we use WIX to deploy an application (100MB) that enables users to browse
> a
> > big collection of PDF files (around 4 GBs).
> > Installer (setup.msi) and PDFs are distributed via DVD. The PDFs are in a
> > separated directory on the DVD (not part of the setup.msi).
> >
> > The "Typical" installation is installing the application but leave the
> PDFs
> > on the DVD. So when using the application PDFs are read from the DVD.
> > With the "Custom" installation you can install PDF files on your hard
> disk.
> >
> > Now we found a strange behaviour when running a "Typical" installation.
> > Although the application is small (100MB) running the installation
> process
> > lasts very long (about 15 minutes on my computer). On other computers it
> > takes 1 hour.
> >
> > I analyzed the installation (msiexec via ProcessMonitor) and saw that
> every
> > PDF file that is referenced in the setup.msi is read from DVD (not
> copied).
> > But I don't know why!
> > Maybe reading these PDFs is a kind of "validation behaviour" from Window
> > installer.
> >
> > Has anyone has an explanation for this behaviour and knows how to
> > workaround it? Below you find a simplified example that shows how the
> PDFs
> > are referenced.
> >
> > Cheers,
> > Helmut
> >
> >
> > <Feature AllowAdvertise="no" Description="It contains the PDFs"
> > Id="data_pdf" Level="4" Title="PDF">
> > <ComponentRef Id="component1094"/>
> > ...
> > </Feature>
> >
> > <Directory Id="directory100" Name="data">
> > <Component Guid="$(var.CompId)01094" Id="component1094">
> > <File DiskId="1" Id="file1094" Name="H48729835_00.pdf"
> > ShortName="H48729_1.PDF" Source="D:\Testing\data\H48729835_00.pdf"/>
> > </Component>
> > ..
> > </Directory>
> >
> ------------------------------------------------------------------------------
> > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> > from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> > with Interactivity, Sharing, Native Excel Exports, App Integration & more
> > Get technology previously reserved for billion-dollar corporations, FREE
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to