Question

I am trying to create some empty folder in COMMONAPPDATAFOLDER during installation but it it not working, Can anybody please take a look at my code and let me know what is wrong Please?

<?xml version='1.0'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<?include sfmh_product.wxi?>
<Fragment>
  <FeatureGroup Id="FG_PROGRAMFILES">
      <FeatureRef Id="FT_PROGRAMFILES"/>
  </FeatureGroup>

  <Directory Id="TARGETDIR" Name="SourceDir">        
      <Merge  Id="CRT" 
              Language="0" 
              SourceFile="$(var.CRT_MSM)" 
              DiskId="1" />
      <Merge  Id="POLICY" 
              Language="0" 
              SourceFile="$(var.POLICY_MSM)" 
              DiskId="1" />

      <Directory Id="CommonAppDataFolder" Name="ComApptDt" >
          <Directory Id="AppdataMfg" Name="Luttmann" >
              <Directory Id="AppDataFolder" Name="vmcNetFlix" />
          </Directory>
      </Directory>
   </Directory>
</Fragment>
Was it helpful?

Solution

I think the <CreateFolder .../> command should work for you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top