Hi everyone,

I'm using pyro to attempt to generate an .MSP file to use. In its .wxs, I have 
(for now) a single componentref which seems to work out ok, i.e. the patch 
successfully installs the additional file referenced by the new component.

However, for some reason, the .MSP also as part of its operation removes some 
of the original files: not all of them and with seemingly no pattern. Each 
component "lost" a few files. All I can see is that the ones which did not 
survive the upgrade are ones flagged with a 512 attribute in the File 
Attributes column; the ones which made it are 4608 (i.e. 512+4096), which as 
far as I can tell is correct in this context. This prompts the question: what 
would create any difference between some files and others? My .wxs for the full 
MSI seems to contain all the files referenced properly. All files are 
keypath="yes" for what that's worth ...


For example, under one directory:

      <Component Id="F38afa489ded74" 
Guid="fea74860-747d-4065-abb8-7921cee2baf3">
        <File Id="F38afa489ded74" Source="c:\cmsoft\60970\10021.Ver" 
KeyPath="yes" />
      </Component>
      <Component Id="Fc3cde52e85bc4" 
Guid="027a9f27-b80e-4914-9c89-073012511cf3">
        <File Id="Fc3cde52e85bc4" Source="c:\cmsoft\60970\SurvApp - Copy.INI" 
KeyPath="yes" />
      </Component>
      <Component Id="F55ff3f88e49d4" 
Guid="a38fc47d-8d1b-4a0e-91da-2b9e9becac10">
        <File Id="F55ff3f88e49d4" Source="c:\cmsoft\60970\SURVAPP.exe" 
KeyPath="yes" Checksum="yes" />
      </Component>
      <Component Id="F638bbbdf0bfd4" 
Guid="90e0f205-be97-419b-88f8-41a5bcc94be8">
        <File Id="F638bbbdf0bfd4" Source="c:\cmsoft\60970\SurvApp.INI" 
KeyPath="yes" />
      </Component>
      <Component Id="F647d809bd1b64" 
Guid="86717730-1a04-4bb5-8dfb-83b844da4167">
        <File Id="F647d809bd1b64" Source="c:\cmsoft\60970\Vsconfig.mdb" 
KeyPath="yes" />
      </Component>

Only fileid="Fc3cde52e85bc4" made it.

Even the number of "surviving" files is variable (it isn't as if it was only 1 
or only the first few, etc.)

The strange IDs, BTW, come from me generating this with an installerbuilder 
application I am working on to help automate installer package making for us.



Keith Douglas
Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6
Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6
keith.doug...@statcan.gc.ca
Telephone | Téléphone 613-951-4405
Facsimile | Télécopieur 613-951-1966
Government of Canada | Gouvernement du Canada 



------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to