4 ms·
Windows Update and Windows Installer use NTFS transactions.
by blattimwind 8y ago
Windows Update and Windows Installer use NTFS transactions.
- setquk 8y agoFrom Microsoft's documentation: Microsoft strongly recommends developers utilize alternative means to achieve your application s needs. Many scenarios that TxF was developed for can be achieved through simpler and more readily available techniques. Furthermore, TxF may not be available in future versions of Microsoft Windows. For more information, and alternatives to TxF, please see Alternatives to using Transactional NTFS. https://docs.microsoft.com/en-us/windows/desktop/fileio/about-transactional-ntfs https://docs.microsoft.com/en-us/windows/desktop/fileio/abou...
- mehrdadn 8y agoI'm pretty convinced that documentation is BS. I could be wrong I guess, but I honestly don't see them removing TxF anytime soon. They didn't exactly build their business on breaking backwards-compatibility of APIs.
- setquk 8y agoThey've burned a lot of APIs in the last few years.
- mehrdadn 8y agoExamples?
- setquk 8y agohttps://docs.microsoft.com/en-us/windows/desktop/apiindex/windows-api-list#deprecated-or-legacy-apis https://docs.microsoft.com/en-us/windows/desktop/apiindex/wi...
- mehrdadn 8y agoThey're not removed though? They're 'deprecated' as in they don't want you to depend on them, but they're still very much there and usable.
- cryptonector 8y agoZFS snapshots work well enough for that. The Sun Storage Appliance used ZFS snapshots for updates, and it worked quite well.
- otterley 8y agoDid that change recently? I haven't used Windows since XP, but back then, they used Volume Shadow Copies (VSS) for making backups used for reverting changes, not NTFS transactions.
- tjalfi 8y agoWindows Update switched to using NTFS transactions in Windows Vista.