Difference between revisions of "Altair HyperWorks"
From WPKG | Open Source Software Deployment and Distribution
(Suggested /f2 fix made things work) |
|||
Line 1: | Line 1: | ||
− | Altair HyperWorks uses InstallShield InstallScript based installers. | + | 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. | |
+ | |||
+ | Please note that the license file altair_lic.dat needs to be copied into the source area. | ||
+ | |||
+ | <pre> | ||
+ | <?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' /> | ||
+ | <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' /> | ||
+ | <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> | ||
+ | </pre> | ||
[[category:Silent Installers]] | [[category:Silent Installers]] |
Revision as of 18:03, 25 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.
Please 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' /> <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' /> <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>