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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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