Difference between revisions of "Altair HyperWorks"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 1: Line 1:
 
Altair HyperWorks uses [[InstallShield]] InstallScript based installers.  The software will need to be installed and uninstalled manually using the /r option to record a setup.iss for the install and uninstall stages.  Once that is complete, the following wpkg setup should work.
 
Altair HyperWorks uses [[InstallShield]] InstallScript based installers.  The software will need to be installed and uninstalled manually using the /r option to record a setup.iss for the install and uninstall stages.  Once that is complete, the following wpkg setup should work.
  
Note that the /f2 option is mandatory to make the silent install/uninstall work.  The HyperWorks installer refuses to install without this option, unless you perform the install manually while logged in to the console.
+
Note that the /f2 option is mandatory to make the silent install/uninstall work.  The HyperWorks installer refuses to install without this option, unless you perform the install manually while logged in to the console.  The silent install will also fail if the target directory already exists.
  
 
Also note that the license file altair_lic.dat needs to be copied into the source area.
 
Also note that the license file altair_lic.dat needs to be copied into the source area.

Revision as of 15:04, 26 April 2007

Altair HyperWorks uses InstallShield InstallScript based installers. The software will need to be installed and uninstalled manually using the /r option to record a setup.iss for the install and uninstall stages. Once that is complete, the following wpkg setup should work.

Note that the /f2 option is mandatory to make the silent install/uninstall work. The HyperWorks installer refuses to install without this option, unless you perform the install manually while logged in to the console. The silent install will also fail if the target directory already exists.

Also note that the license file altair_lic.dat needs to be copied into the source area.

<?xml version="1.0" encoding="UTF-8"?>
<packages>
  <package id="hw8" name="Altair HyperWorks 8.0sr1" revision="1" reboot="false" priority="100">
    <check type="uninstall" condition="exists" path="Altair HyperWorks 8.0sr1" />
    <install cmd='%SOFTWARE%\hw8sr1\hw8.0sr1_WIN32.exe /s /SMS /f1%SOFTWARE%\hw8sr1\install.iss /f2C:\hw8sr1.log' />
    <install cmd='xcopy %SOFTWARE%\hw8sr1\altair_lic.dat" C:\altair\hw8.0sr1\security /y' />
    <upgrade cmd='%SOFTWARE%\hw8sr1\hw8.0sr1_WIN32.exe /s /SMS /f1%SOFTWARE%\hw8sr1\install.iss /f2C:\hw8sr1.log' />
    <upgrade cmd='xcopy %SOFTWARE%\hw8sr1\altair_lic.dat" C:\altair\hw8.0sr1\security /y' />
    <remove  cmd='%SOFTWARE%\hw8sr1\hw8.0sr1_WIN32.exe /s /SMS /f1%SOFTWARE%\hw8sr1\uninstall.iss /f2C:\hw8sr1u.log' />
    <remove  cmd='del /q /f C:\hw8sr1.log' />
    <remove  cmd='rmdir C:\Altair\hw8.0sr1 /s /q' />
  </package
</packages>