Hi Guys,
I am trying to install Reportviewer 2015 using Package resource in my servers on top of old Reportviewer. The old reportviewer was also installed through DSC.
Is there any way to modify the DSC script so that the same script will uninstall the old version and install the new version without affecting the applications which depend on the reportviewer?
Or can we modify the package module in any way so that we can Ensure a particular version of Package is present in server and a particular version is not there?
Existing Code :
Package SQLScript
{
Ensure = “Present”
Path = “X\xxxxx\Microsoft Report Viewer 2012 Runtime\x64\SQLSysClrTypes.msi”
Name = “Microsoft System CLR Types for SQL Server 2012 (x64)”
ProductID = “F1949145-EB64-4DE7-9D81-E6D27937146C”
ReturnCode = 0
Credential= $cred
}
Package ReportViewer
{
Ensure = "Present"
Path = "X\xxxxxx\Microsoft Report Viewer 2012 Runtime\ReportViewer.msi"
Name = "Microsoft Report Viewer 2012 Runtime"
ProductID = "A047101C-A3AE-4FAD-802F-01C965079F66"
DependsOn = "[Package]SQLScript"
ReturnCode = 0
Credential= $cred
}
Thanks,
Aravinda