Oct 30, 2008
06:46 AM
Yes the uninstaller itself and the folder it resides in is removed after you exit the uninstaller. But how's this done? Does it launch some external script for doing this?
... View more
Oct 23, 2008
01:57 AM
Since the uninstaller is placed inside the application directory itself which it is trying to uninstall, how is the uninstaller itself removed since it will be open and running when trying to do so (and windows doesnt allow deletion of running files)? Or is it that it's placed somewhere else?
... View more
Labels
- Labels:
-
InstallAnywhere 2008
Mar 27, 2008
11:41 PM
You can use the 'Set Variable' action to store the result returned from the registry and you can setup a 'Compare Variable' rule testing the variable for the value returned.
... View more
Mar 26, 2008
12:40 AM
Is it possible to create databases and run SQL scripts from within IA if it's provided with the connectivity info? And also can you create websites and make changes to its settings in IIS? Both of these features are available in InstallShield I think and would like to know if IA has them too or it can do it only through custom code
... View more
Labels
- Labels:
-
InstallAnywhere 2008
Mar 18, 2008
11:27 PM
I did what you advised above but doesn't seem to work in my case. Here's the code i wrote import java.io.*; import com.zerog.ia.api.pub.*; public class verify extends CustomCodeAction { public void install(InstallerProxy ip) throws InstallException { //boolean var=true; String var="true"; String str=ip.substitute("$USER_INPUT_RESULT_1$"); String str2=ip.substitute("$USER_INPUT_RESULT_2$"); if(str=="") { ip.setVariable("$VERIFY$", var); } if(str2=="") { ip.setVariable("$VERIFY$", var); } } public void uninstall(UninstallerProxy uninstallerproxy) throws InstallException { } public String getInstallStatusMessage() { return ""; } public String getUninstallStatusMessage() { return ""; } } In pre-install task, just before the custom panel I chose the set variable action and set its value to false. Below the custom panel I put in the custom code and below that the message dialog with a compare variables rule.
... View more
Mar 18, 2008
06:33 AM
How do I make the text fields created with 'Get User Input Advanced' action mandatory? Like it should either display a message if I try to go over to the next panel leaving the fields empty or the 'Next' button should be disabled till all the fields have been filled.
... View more
Mar 18, 2008
06:04 AM
I redid the above program to write the IA variables to corresponding xml elements in an xml file and the values seem to be entered just fine. It must be something in the file handling code above. Or if it's cause of something else, always feel free to tell me 🙂
... View more
Mar 18, 2008
03:54 AM
Ok as a prelude to that xml program I was talking about I wrote a simple java prog to take values of variables from IA (from a custom panel) and write them into a text file which forms part of the installation package. But after the installation is done and when I open the text file I get some weird characters before the actual value. For instance, if I had entered IA during the installation, it gets stored as '’ t IA' in the text file. What could be wrong here?? The code is as below: import java.io.*; import com.zerog.ia.api.pub.*; public class writetofile extends CustomCodeAction { public void install(InstallerProxy ip) throws InstallException { String str=ip.substitute("$USER_INPUT_RESULT_1$"); //String str=(String)ip.getVariable("$USER_INPUT_RESULT_1$"); String str2=ip.substitute("$USER_INSTALL_DIR$"); String fileaddr=str2+"\\Installed Files\\out.txt"; try{ FileOutputStream fos=new FileOutputStream(fileaddr); ObjectOutputStream out=new ObjectOutputStream(fos); out.writeObject(str); out.flush(); fos.close(); } catch(IOException e) {} } public void uninstall(UninstallerProxy uninstallerproxy) throws InstallException { } public String getInstallStatusMessage() { return ""; } public String getUninstallStatusMessage() { return ""; } }
... View more
Mar 18, 2008
12:04 AM
Thanks a lot for the replies. The Get User input advanced seems to be enough for my UI needs. But I want the values entered in the textfields to be added into an xml file which forms part of the installation package. Is there anyway I can do this from within IA itself or will I have to write custom code for it? Also is it possible to pass the results of the textfields from the UI to the code I will have to write
... View more
Mar 17, 2008
06:57 AM
I'm new to IA and had a few questions I need help with: 1. Does IA allow you to modify xml files from within by specifying the element you want to change and query for its value using the UI etc (like you can in IS) or will you have to write custom code for this and call the code during the installation? 2. Also is writing code in java the only way to create custom panels in IA or does it allow you to do it internally by giving you a list of pre defined controls you can add and setting variables to accept their values? Will be grateful if someone would help me with these
... View more
Labels
- Labels:
-
InstallAnywhere 2008
Mar 13, 2008
02:54 AM
Does either of them support creating customzied installation screens with custom buttons and other controls? I have heard that IS supports modifying xml files but can either IS/IA create a custom screen and allow modification of the xml/text file with values entered by the user?
... View more
Mar 11, 2008
11:49 PM
I'm looking for an installer for a java app and have been given the above two choices. But i'm completely new to this so am having a hard time figuring out myself which one should I go for. I played around with the eval versions a bit but didn't get any deep insights on what one has over the other (except that IA seemed a bit easier). So, I have come looking for a list of features present in one and absent in the other. Kindly kindly help me with that ps: really sorry if this is the wrong forum to put this in
... View more
Labels
- Labels:
-
InstallShield 2008
Mar 11, 2008
12:52 AM
Ok I have been trying to learn how to create installers since the past day or two and to that end I got the installanywhere evaldemo and wrote the infamous HelloWorld java program. Then I used the IA project wizard to create an installer for the same program but nothing happens when I click on the exe created after the installation. What might I be doing wrong? Kindly help
... View more
Labels
- Labels:
-
InstallAnywhere 2008
Latest posts by panamega
Subject | Views | Posted |
---|---|---|
765 | Oct 30, 2008 06:46 AM | |
2070 | Oct 23, 2008 01:57 AM | |
647 | Mar 27, 2008 11:41 PM | |
1116 | Mar 26, 2008 12:58 AM | |
4656 | Mar 26, 2008 12:40 AM | |
1116 | Mar 25, 2008 05:58 AM | |
1662 | Mar 18, 2008 11:27 PM | |
1662 | Mar 18, 2008 06:33 AM | |
1662 | Mar 18, 2008 06:04 AM | |
1662 | Mar 18, 2008 03:54 AM |
Activity Feed
- Posted Re: Doubt about uninstaller on InstallAnywhere Forum. Oct 30, 2008 06:46 AM
- Posted Doubt about uninstaller on InstallAnywhere Forum. Oct 23, 2008 01:57 AM
- Posted Re: Help dotnet installation on InstallAnywhere Forum. Mar 27, 2008 11:41 PM
- Posted Re: Few IA questions on InstallAnywhere Forum. Mar 26, 2008 12:58 AM
- Posted SQL and IIS support in IA? on InstallAnywhere Forum. Mar 26, 2008 12:40 AM
- Posted Re: Few IA questions on InstallAnywhere Forum. Mar 25, 2008 05:58 AM
- Posted Re: Few IA questions on InstallAnywhere Forum. Mar 18, 2008 11:27 PM
- Posted Re: Few IA questions on InstallAnywhere Forum. Mar 18, 2008 06:33 AM
- Posted Re: Few IA questions on InstallAnywhere Forum. Mar 18, 2008 06:04 AM
- Posted Re: Few IA questions on InstallAnywhere Forum. Mar 18, 2008 03:54 AM
- Posted Re: Few IA questions on InstallAnywhere Forum. Mar 18, 2008 12:04 AM
- Posted Few IA questions on InstallAnywhere Forum. Mar 17, 2008 06:57 AM
- Posted Re: Installshield or Installanywhere? on InstallShield Forum. Mar 13, 2008 02:54 AM
- Posted Installshield or Installanywhere? on InstallShield Forum. Mar 11, 2008 11:49 PM
- Posted New to Installers on InstallAnywhere Forum. Mar 11, 2008 12:52 AM