Saturday, April 14, 2007

Publishing My app: Part II

I've cleaned up most of my application. Created a new batch file to test the path of the VBS files and added an argument checked so all I'd need to do is type "runmod.bat 1" and end up running the Defragmentation check on all of our servers.

It was important to be delicate about this issue. I wouldn't want to run it by mistake, and risk stressing the servers during working hours. I created 5 schedules (1 for each module) to run during the early AM.

One of the Modules is a Windows Patch Version check. It transforms an exported XML from LANGuard Security Scanner to a generic XML file. I then have a small script called create_xsl.vbs which reads variables from a config file and creates an XSL file with the relevant information using a template. Sounds pretty tiresome but it works great since now I can write a VBS module file, a config file.. and easily add it to the HTA application without worrying about encoding or re-coding any of the core application.

Related Post: Publishing My App Part I

No comments: