Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
329 views
in Technique[技术] by (71.8m points)

windows installer - Take input during MSI application uninstallation implemented using WIX

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...