PADGen : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

PADGen PADGen

Was a program for producing PAD (Portable Application Description) XML (extensible Markup Language) program descriptor files. These are used to describe shareware. This is the program I use for producing all the PADs (Portable Application Descriptions) posted on this website. The latest version is 3.1.1.50 Last revised/verified: 2011-12-03 PADGen does not handle the PAD 4.0 spec. You have to use AppVisor to upgrade your version 3.11 PAD files to version 4. You are supposed to use an inept online pad editor as ASP (Association of Shareware Professionals) instead. It is impossible to use, so I refuse to upgrade to version 4.

PADGen is a simple fill in the blanks application, allowing you to describe your program is as many languages as you want. It handles all the Vista variants. If you have a Microsoft Authenticode certificate, you can sign your PAD files. It import/exports PAD files and exports HTML (Hypertext Markup Language). You only have to fill in your company info once. To handle a new product you would load up a similar product’s PAD, modify it and save it under a new name. There is nothing similar to Java inheritance to group similar products by theme and variation. There is no particular place to record the JVM (Java Virtual Machine) required. You do much of the work by selecting from drop-down boxes.

PADGen Files

In W2K, PADGen stores its internal information in "C:\Documents and Settings\user\My Documents\PADGen\canadian_mind_products\". "C:\Documents and Settings\user\Application Data\PADGen\PADGen.ini" is a traditional *.ini file you can edit if you are feeling adventurous. It contains the list of *.pml files, the names they have on the menu and the names of the most recently saves *.htm and *.xml exports. I could find nothing in the registry or in PADGen.ini to control where it puts its files. It does record where it last put each PAD file in PADGen.ini.

On Vista, W2008, W7-32, W7-64, W8-32, W8-64, W2012, W10-32 and W10-64, PADGen stores its information in APPDATA\Roaming\PADGen\canadian_mind_products\ Where canadian_mind_products is my company. Sometimes it puts them in C:\Users\ user\Documents\PADGen\canadian_mind_products. If files disappear, it can be because PADGen is looking in the wrong place. You can use the File menu to navigate to where they are. C:\Users\ user\AppData\Roaming\PADGen\PADGen.ini contains the overall configuration.

PADGen stores the detail information in separate xml *.cml (for company) and *.pml (for programs). The *.xml PAD files exports have both company and program fields. You can cheat and edit these *.cml and *.pml files directly to make bulk changes.

PADGen stores the PAD spec (which includes the Regexes to describe what is allowable in each field in Program Files\PADGen\pad_spec.xml.

Tips

Bugs

PADGen generates *.html files that are crawling with syntax errors. The *.xml files are reasonably OK. To fix the problems you must do three things:
  1. Replace Program Files\PADGen\PADGen.tml with the one posted below.
  2. Convert the 16-bit unicode to ASCII (American Standard Code for Information Interchange) with:
    native2ascii.exe -encoding x-UTF-16LE-BOM xxx.htm xxx.html
  3. Either verify the results with HTML Validator and manually fix the errors or use the program FixPADGen to do it for you.

Replacement PADGen.html

The key is to replace the template Program Files\PADGen\PADGen.tml

FixPADGen Tidy Program

I wrote this little program to fine tune the resulting expanded file.

I wrote some other programs to get around the limitations of PADGen. This was very easy to do since PADGen stores its company and application data in ordinary XML files.


This page is posted
on the web at:

http://mindprod.com/jgloss/padgen.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\padgen.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.145.131.28]
You are visitor number