Hi All,
i want to add a file compressed in a cabinet to my installation by a transform.
What i do in the transform is:
1. Add the component and a feature.
2. make a file entry in the File Table.
3. adding the cabfile to the Binary Table.
4. add a Media Table entry with the Cabinet entry "#Binary.NameOfCabInTheBinaryTable"
When i load my MSI and the transform in Orca everything looks fine.
When i create a TransformedMSI with Orca, the installation works fine!
When i call msiexec with TRANSFORM=mytransform i get the internal error 2356.
log says:
MSI (s) (D0:F0) [11:59:54:961]: Executing op: ChangeMedia(,MediaPrompt=Please insert the disk: [ProductName] ,MediaCabinet=Binary.D2.cab,BytesPerTick=32768,CopierType=2,ModuleFileName=C:\WINDOWS\Installer\44fd504.msi,,,,,IsFirstPhysicalMedia=1)
MSI (s) (D0:F0) [11:59:54:961]: Executing op: FileCopy(SourceName=1.log,SourceCabKey={EE9DC0E0-7A55-4669-9DAA-CE66999441F6},DestName=1.log,Attributes=16384,FileSize=147616,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,,,,,,,)
MSI (s) (D0:F0) [11:59:55:031]: File: C:\Programme\1.log; To be installed; Won't patch; No existing file
MSI (s) (D0:F0) [11:59:55:031]: Source for file '{EE9DC0E0-7A55-4669-9DAA-CE66999441F6}' is compressed
MSI (s) (D0:F0) [11:59:55:031]: SOFTWARE RESTRICTION POLICY: Verifying object --> 'C:\WINDOWS\Installer\44fd504.msi' against software restriction policy
MSI (s) (D0:F0) [11:59:55:031]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (s) (D0:F0) [11:59:55:031]: SOFTWARE RESTRICTION POLICY: C:\WINDOWS\Installer\44fd504.msi is not digitally signed
MSI (s) (D0:F0) [11:59:55:041]: SOFTWARE RESTRICTION POLICY: C:\WINDOWS\Installer\44fd504.msi is permitted to run at the 'unrestricted' authorization level.
MSI (s) (D0:98) [11:59:55:241]: Note: 1: 2262 2: Binary.D2.cab 3: -2147287038
MSI (s) (D0:F0) [11:59:55:241]: Note: 1: 2356 2: Binary.D2.cab
DEBUG: Error 2356: Couldn't locate cabinet in stream: Binary.D2.cab.
MSI © (3C:B4) [11:59:55:291]: Transforming table Binary.
DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog
Internal Error 2835. ErrorIcon, ErrorDialog
Has anyone an idea why it fails?
Thanks in advance
Elmar
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Add Binary with a Transform
Started by
Elmar
, Jul 26 2005 11:02
3 replies to this topic
Posted 05 August 2005 - 08:54
What did you enter in the relevant columns for "Sequence", "LastSequence" and "DiskId"?
What does the name column of the binary table say for the relevant row?
What does the name column of the binary table say for the relevant row?
Edited by mandy, 05 August 2005 - 08:55.
Posted 08 August 2005 - 10:37
LastSequence is the last depending Seqence number from my File Table.
DiskID the next free one.
DiskId is "#" for intern + "Tablename." (in my case I tried "Binary." and "Cabs.") + the value of the "Name" colum of the depending Binary
entry. for ex. "#Cabs.MyCab1.cab".
Thanks,
Elmar
DiskID the next free one.
DiskId is "#" for intern + "Tablename." (in my case I tried "Binary." and "Cabs.") + the value of the "Name" colum of the depending Binary
entry. for ex. "#Cabs.MyCab1.cab".
Thanks,
Elmar
Posted 09 August 2005 - 15:33
Everything you've wriiten seems correct.
How many files are in your cab file?
What is/are the sequence number(s) in the file table?
What is the "lastsequence" of your media table entry?
What is the "lastsequence" of the previous media table entry?
How many files are in your cab file?
What is/are the sequence number(s) in the file table?
What is the "lastsequence" of your media table entry?
What is the "lastsequence" of the previous media table entry?