Sep 04, 2012
08:57 AM
If it is working for "Get user input-Advanced", then it should work for "Get user input-simple" as well. I can not say what is wrong without going thru your project. Anyways since "Get user input-Advanced" is working for you, why don't you use the same? Why you want to use "Get user input-Simple"? You can achieve the same functionality with "Get user input-Advanced" as well. So my suggestion is instead of debugging what is wrong with "Get user input-Simple", just go ahead and use what is working for you i.e "Get user input-Advanced".
... View more
Sep 04, 2012
05:27 AM
1) You may add a Display Message Panel (To show the error) 2) Add a rule to the panel Compare InstallAnywhere variable ($USER_INPUT_RESULTS$ equals $NULL$ ) where $USER_INPUT_RESULTS$ is Results Variable of the corresponding field that you want to validate
... View more
Sep 04, 2012
02:14 AM
Step 1) Change the permission of install.bin to 555. chmod 555 install.bin Step 2) If you want the GUI mode Set the DISPLAY Make sure that a X-windows server is running on your IP (It can a windows system) export DISPLAY= :0.0 or You may run the installer in silent mode if your installer supports it (check the documentation on how to run in silent mode) Step 3) In the cmd prompt (ksh/csh) execute this cmd ./install.bin
... View more
Sep 04, 2012
12:55 AM
1) After copying the archive (zip/tar) you may use one of the 3 available expand archive actions. 2) You may expand the archive your self into a folder and try install SpeedFolder action.
... View more
Sep 03, 2012
09:51 AM
Will Setting the IA variable $USER_INSTALL_DIR$ (after choose install folder panel) will not work for you?
... View more
Sep 03, 2012
09:48 AM
Your question is very general. Assuming you are using IA, just adding a new build target for Linux should be enough provided you are not doing any windows specific activities. Are you facing any specific issues on Linux platform?
... View more
Sep 03, 2012
09:39 AM
Change the "Install->Create Alias, Link, shortcuts-> Destination->Path" to All user program menu.
... View more
Sep 03, 2012
07:38 AM
In Installer UI->Look & Feel->Installer Steps->List of Labels for Installer Steps, select the step for which you want to change the icon. Click Choose Icons button to change the icon for the selected step.
... View more
Aug 23, 2011
01:09 AM
In the Install tab, there is a 'Set classpath' button. This can be used to set the classpath. To check if webserver is installed or not, if installed then, what is the path, you can write a custom code and execute it during install phase. Also you can call other installer or silently install webserver depending on the out come.
... View more
Aug 22, 2011
02:26 AM
Hi Sravan, Could you please explain how you achieved the following? 1. How to check for the earlier version. 2. What rule you added for this (Typical and Custom, if there is no earlier version is there I am showing Typical and custom). 3. Have you enabled Maintenance mode / Instance management? Thanks in advance. -- Masud
... View more
Aug 16, 2011
12:43 AM
Reply to Markfly's following post Q: I mean how to set the IA variable to use the output of my java custom code. A: The custom code i posted earlier takes care of setting the IA variable named $SYSTEM_DATE$. So after execution of this custom code, you can directly use $SYSTEM_DATE$ variable that will contain the system date/time (value would be the date/time at which the custom code was executed).
... View more
Aug 03, 2011
05:12 AM
IA 2011 has "Add files" option in "Install" tab. This can be used to add files to the setup. Do you have any issues using this option?
... View more
Aug 03, 2011
04:20 AM
Here is custom code sorce. If you want a different date format or change the IA variale name, then you can modify the code accordingly. Then you have to comiple the code and build the jar again. package com.zerog.ia.customcode.action; import java.io.*; import java.util.*; import com.zerog.ia.api.pub.*; public class SystemDate extends CustomCodeAction { public String getInstallStatusMessage() { return "Reading System Date"; } public String getUninstallStatusMessage() { return ""; } public void install(InstallerProxy ip) throws InstallException { String substituteVariables = ip.substitute("$SUBSTITUTE_VARIABLES$"); String overrideVariables = ip.substitute("$OVERRIDE_EXISTING_VARIABLES$"); if(overrideVariables.equals("")) { overrideVariables = "true"; } if(substituteVariables.equals("")) { substituteVariables = "true"; } try { Date thedate = new Date(); //Do this if the user wants to substitute IA variables if(substituteVariables.equalsIgnoreCase("true")) { // If the user wants to override variables, just set the value if(overrideVariables.equalsIgnoreCase("true")) { ip.setVariable("$SYSTEM_DATE$",ip.substitute(thedate.toString())); } // If the user does not want to override values, but the variable does not exist, set it else if(overrideVariables.equalsIgnoreCase("false") && ip.substitute("$SYSTEM_DATE$").equals("")) { ip.setVariable("$SYSTEM_DATE$",ip.substitute(thedate.toString())); } } //Do this if the user does not want to substitute IA variables else { // If the user wants to override variables, just set the value if(overrideVariables.equalsIgnoreCase("true")) { ip.setVariable("$SYSTEM_DATE$",thedate.toString()); } // If the user wants to override variables, just set the value else if(overrideVariables.equalsIgnoreCase("false") && ip.substitute("$SYSTEM_DATE$").equals("")) { ip.setVariable("$SYSTEM_DATE$", thedate.toString()); } } System.err.println("Setting $SYSTEM_DATE$ to " + thedate); } catch (Exception e) { System.out.println("Exception caught =" + e.getMessage()); throw new NonfatalInstallException ("Exception"); } } public void uninstall(UninstallerProxy up) throws InstallException { } }
... View more
Aug 03, 2011
04:09 AM
Hi, First your custom code must update the IA variable(name say $SYSTEM_DATE$) that you have created. (You can use the attached SystemDate.jar for that purpose.) Next add an execute custom code action, where you will select your custom code jar i.e SystemDate.jar. Now you have to add a "Modify Text file" action. In the file you will be specifying the variable $SYSTEM_DATE$ in the place where you want the system date. Now after execution of the action, the $SYSTEM_DATE$ in the file will be replaced with the value of that variable at run time. -- Regards, Masud
... View more
- « Previous
-
- 1
- 2
- Next »
Latest posts by Masudkhan
Subject | Views | Posted |
---|---|---|
478 | Jan 07, 2013 12:10 AM | |
1154 | Jan 04, 2013 07:52 AM | |
3326 | Jan 04, 2013 05:05 AM | |
1240 | Jan 03, 2013 11:57 PM | |
1240 | Jan 03, 2013 12:00 AM | |
1299 | Jan 02, 2013 11:54 PM | |
3326 | Jan 02, 2013 11:45 PM | |
3326 | Jan 02, 2013 08:03 AM | |
1227 | Jan 02, 2013 01:28 AM | |
1227 | Dec 31, 2012 09:47 AM |
Activity Feed
- Posted Re: How to execute next release of installer on InstallAnywhere Forum. Jan 07, 2013 12:10 AM
- Posted How to execute next release of installer on InstallAnywhere Forum. Jan 04, 2013 07:52 AM
- Posted Re: Japanese License in License Panel on InstallAnywhere Forum. Jan 04, 2013 05:05 AM
- Posted Re: Setting value of $INSTALL_SUCCESS$ on InstallAnywhere Forum. Jan 03, 2013 11:57 PM
- Posted Re: Setting value of $INSTALL_SUCCESS$ on InstallAnywhere Forum. Jan 03, 2013 12:00 AM
- Posted Re: Unix - Set System Environment Variable shouldn't use ~/.profile on InstallAnywhere Forum. Jan 02, 2013 11:54 PM
- Posted Re: Japanese License in License Panel on InstallAnywhere Forum. Jan 02, 2013 11:45 PM
- Posted Re: Japanese License in License Panel on InstallAnywhere Forum. Jan 02, 2013 08:03 AM
- Posted Re: Changing titile "'Not Enough Disk Space' once room on disk. on InstallAnywhere Forum. Jan 02, 2013 01:28 AM
- Posted Re: Changing titile "'Not Enough Disk Space' once room on disk. on InstallAnywhere Forum. Dec 31, 2012 09:47 AM
- Posted Re: Display/Hide Features on InstallAnywhere Forum. Dec 27, 2012 07:25 AM
- Posted Re: Timestamp during pre-install on InstallAnywhere Forum. Dec 21, 2012 09:07 AM
- Posted Re: I can't update installanywhere from SP3 to SP4 on InstallAnywhere Forum. Dec 21, 2012 08:49 AM
- Posted Re: Help with creating Linux products and patches on InstallAnywhere Forum. Sep 18, 2012 02:08 AM
- Posted Re: linux installers on InstallAnywhere Forum. Sep 04, 2012 09:04 AM
- Posted Re: Input validations for installers on InstallAnywhere Forum. Sep 04, 2012 08:57 AM
- Posted Re: Input validations for installers on InstallAnywhere Forum. Sep 04, 2012 05:27 AM
- Posted Re: linux installers on InstallAnywhere Forum. Sep 04, 2012 02:14 AM
- Posted Re: linux installers on InstallAnywhere Forum. Sep 04, 2012 12:55 AM
- Posted Re: Appending folder name to Install Directory on InstallAnywhere Forum. Sep 03, 2012 09:51 AM