We have a package that requires some registry keys to be injected after the install to skip a registration phase.
The following command line works when run manually:
TrackVis_setup_v0.6.1.exe /S & reg.exe IMPORT trackvis_HKLM.reg /reg:64
However, if I use this as part of a software deployment task, in the command line box, one of two things will happen:
1. If the EXE installer is run fine the application installs correctly but the registry keys are not imported.
2. If you swap them around the registry key fails to import, error code 1, and the application install is not even attempted.
For now I have added an "install.bat" to the software package and called this instead, with the installation type set to "Windows Batch Installation file", which is not ideal and causes the batch file to appear on screen but it does work.
Does Altiris not cope well with multiple commands like this or am I doing something wrong? Suggestions would be most welcome.
Howard