C# | Visual Basic | Visual C++ |
public void CollectUserInfo()
Public Sub CollectUserInfo
public: void CollectUserInfo()
This method is typically called by an application during the first run of the application. The application first gets the ProductId or RegOwner. If those properties are missing, the application calls CollectUserInfo. CollectUserInfo opens the product's installation package and invokes a wizard sequence that collects user information. Upon completion of the sequence, user information is registered. Since this API requires an authored user interface, the user interface level should be set to full by calling SetInternalUI(InstallUIOptions) as Full.
The CollectUserInfo method invokes a FirstRun dialog from the product installation database.
Win32 MSI API: MsiCollectUserInfo
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)