I have 4 checkboxes that control which feature will be installed. I have 4 features, each for a specific version of the .NET framework. When the user clicks the "Next" button, the following code runs to ensure the correct feature gets installed:
Code: Select all
Function FrameworkDlgNextClicked()
Session.FeatureRequestState("eID_Framework_Runtime_1.1") = 2
Session.FeatureRequestState("eID_Framework_Runtime_2.0") = 2
Session.FeatureRequestState("eID_Framework_Runtime_3.0") = 2
Session.FeatureRequestState("eID_Framework_Runtime_3.5") = 2
If Session.Property("FRAMEWORK_NET_11")="true" Then
Session.FeatureRequestState("eID_Framework_Runtime_1.1") = 3
ElseIf Session.Property("FRAMEWORK_NET_20")="true" Then
Session.FeatureRequestState("eID_Framework_Runtime_2.0") = 3
ElseIf Session.Property("FRAMEWORK_NET_30")="true" Then
Session.FeatureRequestState("eID_Framework_Runtime_3.0") = 3
ElseIf Session.Property("FRAMEWORK_NET_35")="true" Then
Session.FeatureRequestState("eID_Framework_Runtime_3.5") = 3
End If
End FunctionA network error occurred while attempting to read from the file "c:\windows\installer\My Framework.msi".
Each feature corresponds to a different merge module that gets installed. These are the names of the merge modules:
- "My Framework (.Net 1.1).msm"
"My Framework (.Net 2.0).msm"
"My Framework (.Net 3.0).msm"
"My Framework (.Net 3.5).msm"
- "My Framework 2.0.3.exe"
Any ideas? Is this a bug?
Thanks
Mat
FOLLOW US
Get the latest news in Application Packaging