开发者

Error Custom Action in Uninstalling

开发者 https://www.devze.com 2023-04-06 04:17 出处:网络
I have created a Custom Action named UninstallDokan,which Dokan is driver for my software.I encounter the errorwhen I uninstall my program:

I have created a Custom Action named UninstallDokan,which Dokan is driver for my software.I encounter the errorwhen I uninstall my program: Error 1721: There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action:UnistallDockan,location:,command:C:\program Files <86>\DoTask开发者_运维问答\Driver\DokanUninstall.exe The CA is configured as follows:

Created a CA based on "New EXE > Path referencing a directory".
Working Directory: <empty>
Filename & Command line: "[INSTALLDIR]\Driver\Uninstall.exe"
Return Processing: Synchronous (Check exit code)
In-Script Execution: Commit Execution in System Context
Install Exec Sequence: After RemoveFile
Install Exec Condition: Remove
everything else was left at the default

Do anyone have any ideas what to try next?


finally,I can fix my problem.I created CA Data. The CA Data is configured as follows: Install Exec Sequence: After UnpublishComponents Install Exec Condition: Remove


Sounds like you have a race condition. If you are scheduling in commit execution that means you are running after RemoveFiles probably already removed the EXE. Also remember that if rollback is disabled that commit custom actions won't execute anyways.

0

精彩评论

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

关注公众号