WiX project.
I write the installer for AutoCAD plugin. It creates menu in the
Start -> All Programs -> etc:
Also, my installer creates the set of
%AppData% subfolders and copies into them some set of configurable files and DLL. These files will be used by my plugin when it will be loaded into AutoCAD. I.e.
these files are to be existing when my plugin is loading into AutoCAD.
Now I switch to other Windows user profile. I see my menu, but I don't see my data in the
%AppData%. If I open my documentation or license file
through one of my shortcuts of the
Program Menu, then my data appeares in the
%AppData% folder at once. Good. Pay attention that it will happen only if I use shortcut instead of their target files directly.
Ok, but it is possible what user will load my plugin without opening of my documentation or license file before... At this case the data which are necessary for my plugin working will be absent still... I had a hope what when AutoCAD will load my plugin then its data will appear in the
%AppData% like this was happening when I used
Program Menu. But I was mistaken and my data didn't appear in the
%AppData% at this case.
So, I need either my data will appear in
%AppData% when user login in Windows, or just before AutoCAD will load my plugin. Or maybe it is possible in my plugin code through C# to force Windows OS to install the components which are not installed still in the
%AppData%?
How can I solve it?