Hi,

I have a very peculiar issue.

I am trying to run a batch file from wise script.
I used Execute Program

remarked item: Execute Program
Pathname=C:\Hyperion\BIPlus\install\bin\HRRunAnt.cmd
Command Line=>"%WIN%\Software\Logs\originalHyperian_Reporting_Analysis_HRRunAnt.txt"
Flags=00000010
end
The batch script contains %HYPERION_HOME% as environment variable and having value as C:\HYPERION
Batch Script:
for /D %%a in ("%HYPERION_HOME%") do set HYPERION_HOME=%%~fsa
set HYPERION_JRE=%HYPERION_HOME%\common\JRE\Sun\1.5.0
set HYPERION_ANT=%HYPERION_HOME%\common\utilities\Ant\1.6.0



The issue is
Sometimes the environment variable %HYPERION_HOME% is getting resolved to "c:\Hyperion" and sometimes not
the environment variable %HYPERION_HOME% is getting resolved to null i.e. " "
as a result we were not able to install the application.
We are deploying through Altiris
Please let us know how to resolve the issue
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

There are no answers at this time
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

Answer this question or Comment on this question for clarity