.net - Create a custom action which msiexec will ignore its' error code -
i use visual studio 2010 create setup package .net framework 4.0 project. create custom action using installer class dll built .net framework 4.0. setup package installed successfully.
if remove package , after removing .net framework 4, ok.
however, if remove .net framework, after remove setup package, error: "1001 installutillib.dll unknown erro" . think reason can't remove setup package because msiexec call custom action installer class using .net framework 4.0 while .net framework 4.0 removed before -> installer dll can't called , return error ->removing msi failure.
please me how avoid error or how ignore error code of custom action. thanks.
you can try this:
- open msi orca
- go customaction table , find custom action
- add msidbcustomactiontypecontinue flag existing value in type column
- save changes
visual studio doesn't support directly.
Comments
Post a Comment