tags:

views:

223

answers:

1

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'&gt;
<?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>
+1  A: 

I think the

<CreateFolder .../>
command should work for you.

HTH
robert.oh

robert.oh.
Thanks CreateFolder was missing.
Avinash