You are designing a .NET Framework 4 solution that includes a Windows Presentation
Foundation (WPF) application, a Windows service, and a private assembly shared by the
WPF application and by the Windows service. The solution stores data in a local Microsoft
SQL Server Compact 3.5 database. The WPF application and Windows service will each
access the database directly. The solution will be installed by using Windows Installer. You
have the following requirements: • The installer must allow users to specify the installation
folders for the WPF application and for the database. • The solution must support the
deployment of updates to the WPF application without restarting the Windows service. You
need to recommend an approach for installing the solution. Which two actions should you
recommend? (Each correct answer presents part of the solution. Choose two.)
A.
Install the Windows service to a different folder from the WPF application.
B.
Install the Windows service to the same folder as the WPF application.
C.
In the installer, create a registry key that stores the WPF application installation path.
D.
In the installer, set an environment variable that defines the database installation path.