How do I install to LocalAppData folder?
问题 Following directory setting works 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