c# - Why does my installer always prompt for reboot -


i want reboot when uninstalling. fragment wix file:

<installexecutesequence>   ...   <custom action="cleanregistry" sequence="7100">remove~="all" , not upgradingproductcode</custom>   <schedulereboot sequence="7200">remove~="all" , not upgradingproductcode</schedulereboot> </installexecutesequence> 

running generated msi produces following log:

msi (s) (48:7c) [10:19:29:951]: skipping action: cleanregistry (condition false) msi (s) (48:7c) [10:19:29:951]: doing action: schedulereboot 

how possible same condition evaluates false true? schedulereboot ever ignore condition?

edit: trying use condition reboot~="force" conditionally execute command when reboot has been requested customaction. condition never evaluating true , command not being run. property being set call msisetproperty custom action. either custom action not working or have made mistake in condition! suggestions?

some action might setting reboot property. should able see in log. common reason files in use.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -