Help Needed: Directory Not Being Created During MSI Installation

José Raeiro 0 Reputation points


I am working on an MSI installer using WiX Toolset. I am attempting to create a directory C:\Program Files (x86)\MyInstaller during the installation process, but for some reason, the directory is not being created. I have reviewed the installation script and MSI configuration but can't seem to figure out what's going wrong.

Here's a snippet from my WiX script where the directory should be created:

<Directory Id="TARGETDIR" Name="SourceDir">
  <Directory Id="ProgramFilesFolder">
    <Directory Id="INSTALLFOLDER" Name="MyInstaller">
      <!-- Components -->

I also validated my MSI file using smoke.exe from the WiX Toolset, and it didn't report any issues.

Steps I have tried:

  • Validated the MSI file using smoke.exe.
  • Reviewed the WiX script and MSI configuration.
  • Checked the system's permissions and other configurations.

I am running the installer on Windows 10.

I would greatly appreciate any insights or suggestions on how to resolve this issue. Attached is the full WiX script and the log file from the installation process.


install (1).log

Thank you in advance for your help!

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
9,481 questions
Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
740 questions
0 comments No comments
{count} votes