How do I create custom install modules for Pharos Packages?

Blog Post created by toleary on Aug 7, 2013

It is possible to create custom modules for to perform any additional functions outside of the standard modules e.g. setting a printer to default using a registry batch file. To do this you need to do the following:


Create the Module executable:


You need to do this, but it is the exe to be run on the command line on the client (must be exe).


File management:


Put the new executable in the C:\program files\pharos\Bin\PackageCreator\StaticModules\ directory.


Enter the new module into SQL (via SQL Query Analyzer:


insert into modules (type, identifier, os, filename) values (1, '<name of the new module>, 8, <filename exe>)


8 = windows XP and 2000


Tip for 7.0
The executable needs to be a stamped version but in 7.1 or higher this does not matter