Hi All,
I'd like to install my app to %LocalAppData% folder.
Following directory setting worked perfectly for me:
<Directory Id='TARGETDIR' Name='SourceDir'>
  <Directory Id="ProgramFilesFolder">
    <Directory Id='INSTALLDIR' Name='MyApp'/>
  </Directory>
</Directory>

However, when I tried changing "ProgramFilesFolder" to "LocalAppDataFolder", I 
got lots of error when using light to link and generate my msi:
D:\runGroup.wxs(53) : error LGHT0204: ICE38: Component 
cmpA5561BE36D80EB58252E69DDA0C2FF8C installs to user profile. It must use a 
registry key under HKCU as its KeyPath, not a file.
...
D:\main.wxs(38) : error LGHT0204 : ICE64: The directory INSTALLDIR is in the 
user profile but is not listed in the Remove File table.

Looks like "LocalAppDataFolder" is not acceptable for WiX, while I believe it 
is one of the system folder properties which defined in 
http://msdn.microsoft.com/en-us/library/aa370905%28VS.85%29.aspx#system_folder_properties
What am I supposed to use for LocalAppData folder?
Regards,
Deqing



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to