Install the purchased third-party control to GAC through the MSI (installation project of MS.
Follow-up: third-party control upgrade, We will upgrade the client installed by the customer by overwriting.
C: John. Test the upgrade.Program.
Y: After overwriting, the program reports an error and cannot run.
C: where is the problem.
Y: there may be no new control in GAC.
C: install the new control to GAC.
Y: gacutil/I devexpress. data3.dll
C: Is there any problem.
Y: Yes. An error is returned.
C: whether the new program still accesses the old control. Delete the old control assembly from GAC.
Y: Well, I will delete all of them, and then install the new. gacutil/u devexpress. data3.dll.
C: Okay.
Y: Let me see. GAC also has.
C: delete it from GAC directly.
Y: it cannot be deleted. When the assembly in the GAC directory is deleted, "assembly"... 'could not be uninstalled because it is required by other applications ."
C: I will go online to find out the features of the. GAC directory.
C: Found. you deleted it through DOS.
Set gacpath = % WinDir % \ Assembly \ GAC \
RD/S/Q % gacpath % devexpress. xtraeditors. Core
Y: actually deleted. reinstall. gacutil/I devexpress. data3.dll.
C: Is there any problem.
Y: Yes. An error is returned.
C: Oh, I cannot delete it from GAC just now because it is referenced.
Y: Good.
Gacutil/I devexpress. data3.dll/R filepath "%apppath%my.exe" myexe
C: Is there any problem.
Y: Done.
C: Y: Hahaha.