Problem with installtion

View: New views
1 Messages — Rating Filter:   Alert me  

Problem with installtion

by Krushna Hedaoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hello All,


We have added a checkbox in the userinput panel , if that checkbox is checked we have to launch the application .
but the problem we are facing that the application becomes launched before finish panel.
And We have to check whether the checkbox is checked or not on "Done" button of finish panel. if it is checked then only the application should launched.


Has anyone face the similar kind of a problem earlier. I would appreciate your reply.


Please find the below xml:


userInput.xml

<userInput>

 <!-- Install -->

   <panel order="0">

       <createForPack name="CDF Runtime Validation Tool" />

       <field type="title" txt="Do you want to launch the application" bold="true" size="1" />

       <field type="divider" align="top"/>


       <field type="check" align="left" variable="myVariable">

         <spec txt=" Launch the CDF Runtime Validation Tool" size="25" true="true" false="false" set="false"/>

       </field>


  </panel>

</userInput>



install.xml

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>


<!--    

   To compile it :

   - go in the bin directory where you installed IzPack

   - call "compile ../ValidationTool/install.xml -b ../ValidationTool"

-->


<installation version="1.0">


   <!--
       The info section.

       The meaning of the tags should be natural ...

   -->

   <info>

       <appname>CDF-Runtime Validation Tool</appname>

       <appversion>Released Version : 1.0</appversion>

       <authors>

           <author name="Irfan" email="Irfan.Khan@..."/>

                       <author name="Kaveri" email="Kaveri.Ajwelkar@..."/>

           <author name="Chetan" email="Chetan.Jain@..."/>

                       <author name="Anchal" email="Anchal.Chawla@..."/>

       </authors>

       <url>http://www.cdfvalidationtool.com/</url>

   </info>


   <!--
       The gui preferences indication.

       Sets the installer window to 640x480. It will not be able to change the size.

   -->

   <guiprefs width="640" height="480" resizable="yes"/>


   <!--
       The locale section.

       Asks here to include the English and French langpacks.

   -->

   <locale>

       <langpack iso3="eng"/>

       <langpack iso3="fra"/>

   </locale>


        <!--  <variables>

               <variable name="skip.keystore.validation" value="true"/>

       </variables> -->

       <variables>

               <variable name="myVariable" value="true"/>

       </variables>
   <!--
       The resources section.

       The ids must be these ones if you want to use the LicencePanel and/or the InfoPanel.

   -->

   <resources>

       <res id="LicencePanel.licence" src="resources/Licence.txt"/>

       <res id="InfoPanel.info" src="resources/Readme.txt"/>

               <res id="userInputSpec.xml" src="userInputSpec.xml"/>

               <res id="ProcessPanel.Spec.xml" src="ProcessPanel.Spec.xml"/>

               <res id="shortcutSpec.xml" src="CDFValidationToolShortcutSpec.xml"/>

               <res id="start.ico" src="start.ico"/>

         <!--         <res id="Installer.image.0" src="img/start.png"/>-->

   </resources>


   <!--
       The panels section.

       We indicate here which panels we want to use. The order will be respected.

   -->

   <panels>

       <panel classname="HelloPanel"/>

       <panel classname="InfoPanel"/>

       <panel classname="LicencePanel"/>

       <panel classname="TargetPanel"/>

       <panel classname="PacksPanel"/>

       <panel classname="InstallPanel"/>

               <panel classname="ShortcutPanel"/>

               <panel classname="UserInputPanel"/>
               <panel classname="ProcessPanel" id="launch_the_validation_tool"/>

               <panel classname="FinishPanel"/>

               <!-- <panel classname="ProcessPanel" id="launch_the_validation_tool"/> -->

                               
       </panels>


   <!--
       The packs section.

       We specify here our packs.

   -->


       <!-- AC Code-->

       <native type="izpack" name="ShellLink.dll"/>


   <packs>

       <pack name="Base" required="yes">

           <description>The base files</description>

          <file src="resources/Readme.txt" targetdir="$INSTALL_PATH"/>

           <file src="resources/Licence.txt" targetdir="$INSTALL_PATH"/>

                       <file src="CDFValidationToolShortcutSpec.xml" targetdir="$INSTALL_PATH"/>

           <file src="script.bat" targetdir="$INSTALL_PATH"/>

                       <file src="start.ico" targetdir="$INSTALL_PATH/res"/>

                       <file src="RUNNABLE_JAR.jar" targetdir="$INSTALL_PATH"/>

           <parsable targetfile="$INSTALL_PATH/script.bat"/>

           <!-- The file will be parsed -->

       </pack>

       <pack name="Docs" required="no">

           <description>The documentation</description>

           <file src="doc" targetdir="$INSTALL_PATH"/>

           <!-- Reccursive adding -->

       </pack>

       <pack name="Sources" required="no">

           <description>The sources</description>

           <file src="src" targetdir="$INSTALL_PATH"/>

       </pack>

               <pack name="CDF Runtime Validation Tool" required ="yes" preselected ="no">

             <description>The application to launch</description>

                         <file src="cdfvalidationtool" targetdir="$INSTALL_PATH"/>

        </pack>

   </packs>


</installation>







Larsen & Toubro Infotech Ltd.

www.Lntinfotech.com

This Document is classified as:

L&T Infotech Proprietary   L&T Infotech Confidential   L&T Infotech Internal Use Only   L&T Infotech General Business  

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________

______________________________________________________________________

______________________________________________________________________