0

i have started an installation from msi with MsiInstallProduct. Furthermore i have set a MsiSetInternalUI and MsiSetExternalUIRecord.

How can i tell the installation to stop and perform a rollback.

Have i to perform MsiDoAction with a special command?

Thanks in advance.

4

1 に答える 1

0

If you're trying to cause (or simulate) a user canceling the installation, then you need to return ERROR_INSTALL_USEREXIT from your UI's callback function. This only works in response to some of the messages your callback function will receive.

于 2012-04-18T11:50:50.047 に答える