Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

/ExtractCab does not support extracting files that have been embedded with the same name - duplicate files will be overwritten #65

Open
icnocop opened this Issue · 2 comments

2 participants

@icnocop
Collaborator

/ExtractCab will overwrite duplicate files embedded within the setup installer.

For example, if I have two components, one filtered for a 32-bit operating system, and the other filtered for a 64-bit operating system, with an embedded file with the same name in each component, running the setup installer with the /ExtractCab command line option will result in only one of the embedded files in the SupportFiles directory.

@dblock
Owner

What do you think should be changed in DNI for this?

@icnocop
Collaborator

I'm thinking DNI should allow the user to specify the target path for specific components by their unique id. The unique id would be a new, optional attribute for the <component /> element. If specified, it should be validated to be unique during linking.

So for example:
setup.exe /ExtractCab /TargetFilePath "unique id":"x64"

This will extract all the embedded files in the SupportFiles directory, but for the component with the unique id of "unique id", its embedded files will be extracted to the "x64" sub-directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.