Reputation: 195
I'm using WixSharp
for building a windows service installer
.
I want to disable repair
option.
using those properties remove the option from the Control Panel
ONLY.
"ARPNOREPAIR" , "ARPNOMODIFY"
Is there a way to disable repair from the CMD
and right click on *.msi->repair
?
Upvotes: 0
Views: 192
Reputation: 55581
No. MSI repair can never be fully disabled. The best practice is to account for this and design/test accordingly.
If your problem is the username/password is being set back then you can put conditions on the CreateServices to not run during a repair.
Upvotes: 1