How do I get IzPack to add program to Program and Features

半腔热情 提交于 2019-12-05 18:48:43

So I found this page http://docs.codehaus.org/pages/viewpage.action?pageId=142803064, the documentation is a bit outdated for Izpack 5 beta 11 but eventually worked out all I needed to get it working on a 32-bit installtion was add the following to my install.xml

<natives>
   <native type="3rdparty" name="COIOSHelper.dll" stage="both">
   </native>
</natives>

<listeners>
    <listener classname="RegistryInstallerListener" stage="install"/>
    <listener classname="RegistryUninstallerListener" stage="uninstall"/>
</listeners>

and for 64 bit:

<natives>
   <native type="3rdparty" name="COIOSHelper_x64.dll" stage="both">
   </native>
</natives>

<listeners>
    <listener classname="RegistryInstallerListener" stage="install"/>
    <listener classname="RegistryUninstallerListener" stage="uninstall"/>
</listeners>

Giving the following advantages:

  • I dont get asked if it installed properly after installation.
  • It is listed in Program and Features
  • It can be uninstalled from Program and Features
Andrew Thompson

Alternative: Install the app. using Java Web Start. JWS can not only install desktop icons and start menu items for Java apps. on any platform that supports them (I.E. 'not just Windows'), but also puts them in the "Programs and Features" dialog as seen below for "Star Zoom Animation".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!