Reputation: 151
I am working on basic MSI project in installshield for one WPF application.
I have added pre-requisite for .Net Framework, but this pre-requisite installs .Net framework according to registry value of .Net.
But my problem is, if .Net Framework is corrupted on user's machine, then how do i detect if it is corrupted or not and how do i repair it while installation.
Please suggest me solution for this asap. Thanks in advance.
Upvotes: 0
Views: 121
Reputation: 55581
Windows Installer has a mutex that enforces one installation per machine. So even if you had code to detect a broken framework, you wouldn't be able to start the repair.
What's the origin of this requirement anyways? IMO it shouldn't be your problem if the user has a broken framework. Point them to the verification tool and let them figure it out.
Upvotes: 1