The Idea in Brief
The two events occur at the same time. That is, before the end of the 1,290 day period, the sacrifices will end AND the abomination of desolation would occur.
Diacritical marks of accents (or cantillation) within the Masoretic Text provide one guide for understanding the logic of the verse. The 19th Century Hebraist, Dr. William Wickes, described the function of the dichotomy of Hebrew verse in both the prose and the poetry books of the Hebrew Bible. That is, the Masoretes codified this system into Hebrew Scripture, which captured logical structure. Wickes' research helped to understand the logical dichotomy and structure of Hebrew Scripture. For example, the following is the verse in question parsed according to the logical structure of the diacritical marks of accents (or cantillation).
NOTE: The "B" phrases modify the respective "A" phrases.
Thus the Tifha "A" phrase
and set up (וְלָתֵ֖ת) is modified by the Tifha "B" phrase
the abomination of desolation (שִׁקּ֣וּץ שֹׁמֵ֑ם).
These words together (Zaqef Qaton "B"), in turn, modify the phrase of words preceding (Zaqef Qaton "A"):
from the time the regular sacrifice is abolished(וּמֵעֵת֙ הוּסַ֣ר הַתָּמִ֔יד).
In summary, the "B" modifies the "A." The Pashta "B" modifies the Pashta "A," and the Zaqef Qaton "B" modifies the Zaqef Qaton "A," and so forth. The intensity of the accent marks (their so-called disjunctive gravity) places emphasis on particular words or phrases. For example, the four-degree difference between the Tifha and the Athnah (captured in the diagram by the group of words earmarked as Zaqef Qaton "B") are more acute than the same four-degree difference between the Pashta and the Zaqef Qaton (captured in the diagram by the group of words earmarked as Zaqef Qaton "A"). In other words, the abomination of desolation is the more horrible complement to the ceasing of the sacrifices.
The verse is split in half by the Athnah accent. So the second half of the verse (Athnah "B") modifies the first half of the verse (Athnah "A"). In other words, the 1,290 day period (Athnah "B") includes the end of sacrifices and the abomination of desolation (Athnah "A").
Gesenius, Friedrich W. (1910). Gesenius’ Hebrew Grammar. (E. Kautzsch & S. A. E. Cowley, Eds.) (2d English ed.). Oxford: Clarendon Press, 59-60.
Wickes, William (1887). Two Treatises on the Accentuation of the Old Testament. Oxford: Clarendon Press, passim.