[izpack-users] How to access INSTALL_PATH in process panel
Sujay Kher
sujay.kher at realsoftinc.com
Fri Sep 14 08:35:43 CEST 2007
Hi Loic,
Thank you for your response,
When i add reference to it in a <parsable> tag in your my XML installation
file, it's work some how. But i didn't get the Drive Letter of Install path.
for eg, - My Install Pathi is C:\Program Files\InstAlrt
WHen i access INSTALL_PATH in bat file i get only \Program Files\InstAlrt
I want all path of INSTALL_PATH.
I am bedly stuck in it. I am looking forward to receiving your response
Best Regards,
Sujay Kher
Loic BARDON wrote:
>
> Yogesh,
>
> I'm positive about that.
> I use both methods on my projects, they run under Windows and linux
> without problems. Of course you have to use a job with each <os family>
> you want to support, with the appropriate script each time.
>
> Regards,
>
> Loïc
>
> Yogesh Jankee a écrit :
>> Hi Suraj,
>> I dont know if you are aiming at having an installer which will be
>> supported both on Linux and Windows platform. If so, please do let me
>> know if you are able to get the installer work on linux with the
>> method described by Loic below;
>>
>> Regards,
>>
>> --
>> Jankee Yogesh
>> Team Leader
>> M-ITC LTD
>> http://www.m-itc.net
>>
>>
>>
>> Loïc wrote:
>>> Sujay Kher a écrit :
>>>> I want to execute window batch file in process panel which looks like
>>>>
>>>> <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
>>>>
>>>>
>>>> <processing>
>>>> <job name="do xyz">
>>>> <os family="windows" />
>>>> <executefile name="$INSTALL_PATH\InstaAlert2\script\SetEnv.bat">
>>>> <arg>doit</arg><arg>$variable</arg>
>>>> </executefile>
>>>> </job>
>>>> </processing>
>>>>
>>>>
>>>> I want this INSTALL_PATH in SetEnv.bat file, so I can use this path to
>>>> set
>>>> ENVIRONMENT VARIABLE. Hope this will clear.
>>>>
>>>>
>>>>
>>> Your processPanelSpec is allright.
>>> Try the following :
>>>
>>> * either pass $INSTALL_PATH as an argument to your batch file, by
>>> adding a <arg>$INSTALL_PATH</arg> to your executefile tag
>>> * or use the $INSTALL_PATH variable directly inside your
>>> SetEnv.bat, and add a reference to it in a <parsable> tag in
>>> your main XML installation file (in the pack to which the
>>> SetEnv.bat belongs, just below the fileset definition including
>>> it).
>>>
>>> Hope this helps,
>>>
>>> Loïc
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> izpack-users mailing list
>>> izpack-users at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/izpack-users
>>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> izpack-users mailing list
>> izpack-users at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/izpack-users
>>
>
>
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
>
>
--
View this message in context: http://www.nabble.com/How-to-access-INSTALL_PATH-in-process-panel-tf4434424.html#a12669439
Sent from the izpack users mailing list archive at Nabble.com.
More information about the izpack-users
mailing list