I’m creating a windows insaller for app that wll write some files to home folder (results). Uninstall need to delete thid data, but since app is installed “for all users” uninstaller can delete app data from home folders of all users. Is it any way in Windows to enumerate all home folders?
Share
What kind is your application. For VB6 there is wizard for generating installer: tools / Package and Deployment Wizard). For .Net there is a kind of project for generating Installers: Other project type/Visual Studio Installers/Setup Wizard or SetUp project.
In the other hand for .Net you can use the System.SpecialFolder structure for enumerating the special folders.
By using the Win32 API you can use SHGetSpecialFolderPath: