[wix-users] Install many files in local app data folder

Sukhitha jayathilake sukhij25 at gmail.com
Wed May 18 16:49:07 PDT 2016


Hi,

We are trying to install a Demo application and all the Demo data needs to
be installed in the UserProfile AppData Local folder. Does every component
that gets installed in UserProfile needs to have a RegistryKey KeyPath? I
do generate all the components that needs to be installed using heat.exe.
So they are generated with KeyPath="Yes" in the file element. There are
like hundreds of files. Do all of those FileElements needs to have a
RegistryKey KeyPath?

I have worked around this when I was working with a Powershell module
installer. Where I was able to change the INSTALLDIR to
UserProfile\WindowsPowerShell folder during the installation, and install
there without any RegistryKey Keypaths. And it Uninstalls fine too. Do I
need to do something like that here, like setting the Install directory for
the demo data during the installation?

I'm fairly new to using wix and making windows installers. Please Help.
Thank you!

-- 
Sukhi


More information about the wix-users mailing list