Assembly Sequence

# Mainline Sequence

The following is the CURRENT default post-assembly sequence, if you do not supply any #directives# in <Assembly>. (This saves from having to specify the sequence every single time):

1. "ssInstall" (always step 1, regardless):

- Extract archives (ie. {Buildtype}, etc.) -- This is the "install" stage for ppApps/ppGames
- Copy SetupS-auxiliary files (screenshots, faders, etc.)

------- Post-processing ------

2. #ApplyPatch# : Process the patch folder or archive.

3. #ShortcutS# : Process the <ShortcutS> section... all shortcut/startmenu related tasks (w/ StartMenu Folder icons) AND File Association(s).

4. #AppPathFolderIcon# : Install-path Folder Icon

5. #RunScript# : Run the <Script> section. Uses the Source folder as the 'Start In' or working folder.

6. #ApplyRegistry# : Apply the <Registry> section.

7. #InstallFonts# : Process the <InstallFonts> section.

8. #RegisterDLL# : Process the <RegisterDLL> section.

Ξ Some Notes:

1. The Post-processing sequence can now be altered by including ANY of the above Post-processing #Directive#'s inside the <Assembly> list; and it will correspondingly be skipped during Post-processing. Any #Directives# not included inside the <Assembly> list will be simply be processed in its normal default sequence -- effectively altering the post-processing sequence.
2. "ssInstall" is essentially a placeholder and does not itself have a #Directive# since it is *Always* automatically processed before any of the the other Post-processing #Directives# (ie, #ShortcutS#, #ApplyRegistry#, etc.)
3. The new <Flag> 'NoneThing' suppresses a couple of these processes/directives: #ShortcutS# and #AppPathFolderIcon#. Also suppresses SetupS-auxiliary files (screenshots, faders, etc.)

Here's a simple example:

<Assembly>

setup.msi /qb

%WaitForIt% "%ProgramsCommon%\Startmenu.lnk"

%ProcessKill% "something.exe"

#ApplyRegistry#

Now the sequence is altered to:

1. "ssInstall" (always step 1, regardless):

- Extract archives (ie. {Buildtype}, etc.) -- This is the "install" stage for ppApps/ppGames
- Copy SetupS-auxiliary files (screenshots, faders, etc.)

------- Post-processing ------

2. #ApplyRegistry# : Apply the <Registry> section.

3. #ApplyPatch# : Process the patch archive or folder.

4. #ShortcutS# : Process the <ShortcutS> section... all shortcut/startmenu related tasks (w/ StartMenu Folder icons) AND File Association(s).

5. #AppPathFolderIcon# : Install-path Folder Icon

6. #RunScript# : Run the <Script> section. Uses the Source folder as the 'Start In' or working folder.

7. #InstallFonts# : Process the <InstallFonts> section.

8. #RegisterDLL# : Process the <RegisterDLL> section.

Copyright © 2020, Vergitek Solutions

ssTek Forum: Tools for custom Operating Systems!