How to change the status of the Progressbar Text in the installation project dynamically

I am creating an installer for my project in Visual Studio. I want to change the status of the progress bar. Text at runtime. The default status text is Wait. To change the status text, I call the API method "MsiGetMode". But there are two parameters to this method: "install (access to the installation provided for the user action DLL or obtained through, or)" How can I get this first parameter in my installer class. The second parameter is "runmode (Sets the run mode)". If there is any other way, how can I do this.

Please help me

Thanks and respect,

Vipin Kumar

+3
source share
1 answer

I understand that the Visual Studio installation project provides very basic support for creating installations. Using the Windows Installer API to control the user interface is not a good approach.

I suggest moving on to a more robust configuration tool like WiX , which will give you more control over your user interface. You can then use wix to customize the configuration user interface as described in this tutorial .

+2
source

Source: https://habr.com/ru/post/1772068/


All Articles