开发者

Wix + uninstall from control panel + Application running

I have a Wix solution to install an application. When attempting to uninstall the application from control panel while it is running, a popup is appear开发者_StackOverflow社区ing to close the application before continue.

The issues is the message showing in that popup which is suppose to be an uninstall message instead of install message.

The message is "The following application is running which is need to be close before continuing the install"

can we customize this default popup and change our message?


Yes, you can modify the FilesInUse and MsiRMFilesInUse dialogs. You can modify them directly or use a GUI editor.


You can modify this default message. Edit FilesInUse and MsiRMFilesInUse dialogs. You can edit them directly in the .wsx file or use a GUI editor. (The dialogs that you need to edit can be defined either in your .wsx file or come from a predefined WiX UI.)

Using WixEdit, you can use a visual designer.


You would better change the part of the string to come from a property.

The following application is running which is need to be close before continuing the [CURRENT_ACTION]

You will set the value of the CURRENT_ACTION depending on the mode of installation. You can find an example of doing it in the default WiX dialog set, the maintenance dialog: when user selects the mode (Modify, Repair, Remove), a property value is set which is then used on the progress page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜