I'm trying to bundle a demo project with the WiX MSI installer for an application. My goal is to create a "Projects" folder that contains the "Demo Project" folder in the user's Documents directory.
Since my installation scope is "perMachine" adding files to a user directory results in the following error for each file:
It must use a registry key under HKCU as its KeyPath, not a file
I could fix this error by adding the RegistryValue element to each Component but, the demo project has at least 1000 files.
I was thinking about creating another installer for the demo project that would have a "perUser" install scope and then bundle that into a WiX bootstrapper. The only downside is that it feels like a hack.
What is a recommended method when installing complementary material for a application? Should I build another installer or is there a WiX extension that would allow me to copy files to the user's documents directory?