How do I properly configure a ZipInstaller .zic file?

Posted by Iszi Rory or Isznti on Super User See other posts from Super User or by Iszi Rory or Isznti
Published on 2012-06-15T14:28:39Z Indexed on 2012/06/15 15:19 UTC
Read the original article Hit count: 398

Filed under:
|

As of version 1.20, ZipInstaller is supposed to support the use of a configuration file to customize its installation options.

Generally, all the options I want to use are available through the dialog so I really haven't bothered with the configuration file until now. The problem now is that certain tools, such as PsTools from Sysinternals, do not properly show their Product Name to ZipInstaller. ZipInstaller's dialog will let you customize the Start Menu folder and Program Files folder, but that still doesn't change the Product Name that it sees for the software. So, instead of having "PsTools" in my Add/Remove Programs, I get "Sysinternals Software".

For some things, the situation is even more confusing. For example, the NIST SP 800-53 Reference Database Application gets installed as "FileMaker Pro Runtime".

To rectify this, I've tried to use the aforementioned .zic configuration file. As I understand it, it's a basic INI file you create and put in the root of the ZIP file. ZipInstaller is supposed to read that file, and adjust its parameters accordingly. Mine looks like this:

[install]
ProductName=NIST_SP_800-53
ProductVersion=1.4.1
CompanyName=NIST
Description=NIST_SP_800-53
InstallFolder=%zi.ProgramFiles%\%zi.ProductName%
StartMenuFolder=%zi.CompanyName%\%zi.ProductName%

I've named it `~zipinst~.zic and placed it in the root of the ZIP file, but when I run ZipInstaller it doesn't seem to recognize any of the information I've given it in the .zic file.

What might I be doing wrong here?

© Super User or respective owner

Related posts about nirsoft

Related posts about zipinstaller