We have an application that is developed using WIX. When the user tries to uninstall the application on Windows, we need to prompt the user for a code to verify. If the user gives the correct code, then the uninstallation will proceed, otherwise the uninstallation might abort. How can I prompt the user for providing the code?
Currently, we have a custom step during uninstallation where we can show him some message using WTSSendMessage. If I try to receive the input from user using DialogBox, it never pops up. However, the same DialogBox works with other Windows applications, but doesn't work during uninstallation phase. How can I prompt the user for the code during uninstallation?
question from:
https://stackoverflow.com/questions/65854529/take-input-during-msi-application-uninstallation-implemented-using-wix 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…