Aug 15, 2013
07:30 PM
mdshahul wrote: Hi, I made some changes to my existing custom code & replaced the existing jar with the new one.But InstallAnywhere does not recognize the changed jar.I deleted the jar file & even though at compile time IA looks for the jar file at a specific location,at runtime it still runs like before even though I deleted the jar file at the referenced location & does not pickup my latest changes. I searched for all the jar files in my m/c & deleted them & still IA runs fine!! How to clear the cache in IA & make it lookup the jar at the referenced location? When I compile IA throws an error to Locate/Remove if the jar file is not found.But after compilation I delete the jar & then run the installer it still runs!! I am experiencing the same issue in 2012! Idk why??
... View more
Aug 15, 2013
10:14 AM
I have a "Get User Input - Advanced Panel" in which i get an email address and a password from the user. When the user clicks next I want to verify that information before sending them to the next panel. What is the best way to do this?
... View more
Labels
- Labels:
-
InstallAnywhere 2012
Aug 13, 2013
05:52 PM
i figured it out...silly mistakes. It had to do with my boolean method
... View more
Aug 13, 2013
04:43 PM
I have a customCodeConsoleAction in which I am using the promptAndGetValue method from ConsoleUtils I want to get the gmail account of the user. After prompting once I check to see if the gmail is a valid email address, if it is not I want to reprompt the user. This is my code. The installer is crashing when i try to call the method again. Any ideas or other solutions? HERE IS MY CODE: @Override public void executeConsoleAction() throws PreviousRequestException { try { promptForGoogleAccount(); } catch (PreviousRequestException e) { cccp.setVariable("GMAIL_ACCOUNT", ""); throw new PreviousRequestException(); } } private void promptForGoogleAccount() throws PreviousRequestException { ConsoleUtils cu = (ConsoleUtils) cccp.getService(ConsoleUtils.class); String googleAccountQuestion = "Please enter your Google Email Account"; String googleAccount = cu.promptAndGetValue(googleAccountQuestion); if (isValidGoogleAccount(googleAccount) == true) { cccp.setVariable("GMAIL_ACCOUNT", googleAccount); } else { promptForGoogleAccount(); } }
... View more
Labels
- Labels:
-
InstallAnywhere 2012
Aug 07, 2013
10:01 AM
gwesterfieldjr wrote: During my custom code action i want to check whether or not the installer is running in console mode. Is there a way to do this??? I figured it out. There is an installanywhere variable that gets initialized at runtime called $INSTALL_UI$. It contains the UI mode in which the installer is being run in.
... View more
Aug 07, 2013
07:26 AM
During my custom code action i want to check whether or not the installer is running in console mode. Is there a way to do this???
... View more
Labels
- Labels:
-
InstallAnywhere 2012
Aug 06, 2013
07:11 AM
For my installation I need to download and install RVM for Ruby. I have a script file that I created to do this. It runs fine, but prior to running it i check to see if there is a valid internet connection with some java code. The code I have works perfectly outside of the installer. but when I run it as a custom action in the installer it causes the installer to throw a Fatal install Error?? Any thoughts or ideas as to why??
... View more
Labels
- Labels:
-
InstallAnywhere 2011
Aug 06, 2013
07:11 AM
For my installation I need to download and install RVM for Ruby. I have a script file that I created to do this. It runs fine, but prior to running it i check to see if there is a valid internet connection with some java code. The code I have works perfectly outside of the installer. but when I run it as a custom action in the installer it causes the installer to throw a Fatal install Error?? Any thoughts or ideas as to why??
... View more
Labels
- Labels:
-
InstallAnywhere 2012
Aug 01, 2013
09:01 AM
Hello, I'm creating an installer for Mac OS X and I'm having huge issues trying to execute sudo commands. I have the installer checked for "Requires an Administrator Name and Password to Install" but the installer is still failing to execute sudo commands from a bash script that i create in a custom code action and deploy to be executed. The bash script has looks like this .... #!/bin/bash #Install XCode Command Line Utilities cd "/usr/local/bin/AppWrapping/XCode" hdiutil mount xcode452cltools10_86938211a.dmg sudo installer -pkg "/Volumes/Command Line Tools (Mountain Lion)/Command Line Tools (Mountain Lion).mpkg" -target / hdiutil eject "/Volumes/Command Line Tools (Mountain Lion)" The script is running and mounting the dmg file. then when it trys to run the sudo installer -pkg line i get this error "no tty present and no askpass program specified" please help...
... View more
Labels
- Labels:
-
InstallAnywhere 2011
Aug 01, 2013
08:59 AM
Hello, I'm creating an installer for Mac OS X and I'm having huge issues trying to execute sudo commands. I have the installer checked for "Requires an Administrator Name and Password to Install" but the installer is still failing to execute sudo commands from a bash script that i create in a custom code action and deploy to be executed. The bash script has looks like this .... #!/bin/bash #Install XCode Command Line Utilities cd "/usr/local/bin/AppWrapping/XCode" hdiutil mount xcode452cltools10_86938211a.dmg sudo installer -pkg "/Volumes/Command Line Tools (Mountain Lion)/Command Line Tools (Mountain Lion).mpkg" -target / hdiutil eject "/Volumes/Command Line Tools (Mountain Lion)" The script is running and mounting the dmg file. then when it trys to run the sudo installer -pkg line i get this error "no tty present and no askpass program specified" please help...
... View more
Labels
- Labels:
-
InstallAnywhere 2012
Latest posts by gwesterfieldjr
Subject | Views | Posted |
---|---|---|
1586 | Aug 15, 2013 07:30 PM | |
2520 | Aug 15, 2013 10:14 AM | |
542 | Aug 13, 2013 05:52 PM | |
1205 | Aug 13, 2013 04:43 PM | |
539 | Aug 07, 2013 10:01 AM | |
1392 | Aug 07, 2013 07:26 AM | |
2587 | Aug 06, 2013 07:11 AM | |
1063 | Aug 06, 2013 07:11 AM | |
4365 | Aug 01, 2013 09:01 AM | |
5444 | Aug 01, 2013 08:59 AM |
Activity Feed
- Posted Re: Cache in InstallAnywhere on InstallAnywhere Forum. Aug 15, 2013 07:30 PM
- Posted Verify input from Get User Input - Advanced Panel on InstallAnywhere Forum. Aug 15, 2013 10:14 AM
- Posted Re: Console Installer: promptAndGetValue and reprompt if user enters wrong value? on InstallAnywhere Forum. Aug 13, 2013 05:52 PM
- Posted Console Installer: promptAndGetValue and reprompt if user enters wrong value? on InstallAnywhere Forum. Aug 13, 2013 04:43 PM
- Posted $installer_ui$ on InstallAnywhere Forum. Aug 07, 2013 10:01 AM
- Posted Is there a way to check if the installer is running in console mode from custom code? on InstallAnywhere Forum. Aug 07, 2013 07:26 AM
- Posted Installer throws Fatal Install Error when checking for internet connection on InstallAnywhere Forum. Aug 06, 2013 07:11 AM
- Posted Installer throws Fatal Install Error when checking internet connection on InstallAnywhere Forum. Aug 06, 2013 07:11 AM
- Posted execute sudo commands from shell script on InstallAnywhere Forum. Aug 01, 2013 09:01 AM
- Posted Executing sudo commands on Mac OSX from shell script on InstallAnywhere Forum. Aug 01, 2013 08:59 AM
- Tagged Executing sudo commands on Mac OSX from shell script on InstallAnywhere Forum. Aug 01, 2013 08:59 AM
- Tagged Executing sudo commands on Mac OSX from shell script on InstallAnywhere Forum. Aug 01, 2013 08:59 AM