windowswindows-installerorca

Can you create Directories whose name contains a period in windows MSI/Orca.exe?


Is it possible to create a (valid) Directory table entry in a Windows MSI for a directory containing period characters?

(for example, the .git directory, or a directory with a semantic-version)

Ex:

# Directory Table in pseudo-code

Directory=TARGETDIR, Directory_Parent=,          DefaultDir=SourceDir
Directory=git_dir,   Directory_Parent=TARGETDIR, DefaultDir=.git

The . character is assigned special meaning within the SourceDir column.

I am aware that formatted columns can escape a character [\.] , but DefaultDir is not a formatted column.


Solution

  • Specify a short filename|long filename pair in the DefaultDir column. For example: gitdir~1.git|.git