I have several functions in my InstallScript that are good candidates for unit tests. My project is the InstallScript MSI project . I found an article on how unit test User actions with custom ICEs, but the code I want to use unit test is not in the user action, it is in the user interface sequence.
Is there a unit test way for this type of InstallScript code?
I would suggest the SprintfMsiLog()InstallScript function . It will write to the MSI log file, and so you can eliminate what happens as if it were a standard MSI action.
SprintfMsiLog()
I hope I understand what you mean by "unit test".
Source: https://habr.com/ru/post/1709875/More articles:Cleanup PHP / HTML pages - htmlAvoid CSS Inheritance - cssQuickConnect vs Phonegap - javascriptScript all data from one table or all tables in Sql Server 2005/8? - sqlКак я могу скопировать динамически созданный исходный HTML из Интернета? - javascriptMySQL vs Web Server for data processing - optimizationWhat is the best way to implement a simple database select / update program in vb6? - databasehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1709878/looking-for-approaches-to-categorize-objects-based-on-their-properties&usg=ALkJrhgR-pDAHmwukFSLRCSnvLmW-vD7qgCreating truth tables for logical expressions in Haskell - logicHow to get the final address of my code - cAll Articles