Aug 11, 2011
10:33 AM
in ISMP we can add files externally. So the files are treated as ther external files (not a part of the setup archive). We can zip these resources and extract on the target system so that the setup can use them. This reduces the size of the exe. But I am not finding the same settings in IA. One more thing, in our setup there are alot of logs collected after the installation. So at the uninstallation time we have some folers\files to be removed and some to be retained after uninstallation. In ISMP the settings for removal of the file\folder were given for each file but IA provides these settings at project lavel. So, whatever setting we apply, is applied for all the files\folders. This is another thing causing problems for me. Thanks and regards Atl
... View more
Aug 03, 2011
07:42 AM
No, I dont have any issue using this action. But this action adds files in archive what to do if I want to add the file as external.
... View more
Aug 03, 2011
04:37 AM
Hi, I am recreating my projects which were developed in ISMP5.3, in my previous projects I was adding some files as "external resources". Now I have to do the same with IA 2011. In ISMP 5.3 we can define each file to be "archive or external resource" but in IA 2011 there is only one option "Add external resource bundle" which also is in project tab not for particular files. Can anyone help me to find the solution to add the files as "external resource" in IA 2011 Enterprise edition. Thanks in advance.
... View more
Labels
- Labels:
-
InstallAnywhere 2011
Aug 03, 2011
04:30 AM
Sorry Vlad, I am not allowed to put my project on this site, I am trying to optimize my project to reduce it in size. thanks to you and jerome for your reply.
... View more
Jul 23, 2011
08:11 AM
Hi, I am using InstallAnywhere 2011 enterprise edition to create installation setups for Windows 64-bit platform. During the evaluation of IA I created projects of size 190 to 250kn and it was fine. But now as the size of my project is almost 4800kb the IA is working very slow. Can anyone please tell me is there any such issue with IA. And how can I get rid of this problem. I am using system with configuration 3GB RAM and dual core processor (1.8GHz) Thanks
... View more
Labels
- Labels:
-
InstallAnywhere 2011
Jul 18, 2011
01:20 AM
Can we have nested features in InstallAnywhere 2011??
... View more
Labels
- Labels:
-
InstallAnywhere 2011
Jul 08, 2011
01:50 AM
Hi, I was using InstallShield Multiplatform 5.3 in my company. Now the company has adopted InstallAnywhere 2011 and I have to recreate all the existing setups for Win-64. In our previous projects we were setting all the features to false (active property) and based on certain conditions we were setting the to true from installation tab sothat they can get installed. In ISMP it was very easy. Now, I have to do the same in my IA 2011 projects. Can anyone help me to find the solution? Thanks.
... View more
Labels
- Labels:
-
InstallAnywhere 2011
Jun 03, 2011
04:32 AM
Hi, can anyone help me with the (above) issue. I am using the evaluation version and this problem has killed alot of my valuable time (21 days). Thanks
... View more
Jun 02, 2011
07:36 AM
The problem could be the ruleProxy is not referencing to CustomCodeRuleProxy object. When i printed ruleProxy, it was null. Can you suggest some solution. Thanks
... View more
Jun 02, 2011
06:03 AM
Hi Madhav, Its not working. Actually this is the script that I was using. I had added main to check the script. Its generating the NullPointerException in the line where we are creating the object og SecurityService. What I think its not creating the object of SecurityService (but it should because this is the only method to create the object of any service in CustomCodeRuleProxy mentioned in JavaDoc). Anyways thanks alot for your support....
... View more
Jun 02, 2011
03:59 AM
hi Vlad, finally i am able to run my first custom rule in InstallAnywhere. Its just returning true/false (not any complex logic). But when it comes to the rule that I need to write (checking logged user) I am using following code: import com.installshield.wizard.service.ServiceException; import com.installshield.wizard.service.security.SecurityService; import com.zerog.ia.api.pub.CustomCodeRule; public class AdminWizardBeanRule extends CustomCodeRule { public boolean evaluateRule() { boolean isAdmin = true; try { // Get the reference to the SecurityService SecurityService service = (SecurityService) ruleProxy .getService(SecurityService.class); // Check if the logged user has admin rights isAdmin = service.isCurrentUserAdmin(); } catch (ServiceException e) { System.out.println("Exception occured: " + e); return false; } return isAdmin; } public static void main(String args[]) { AdminWizardBeanRule admin = new AdminWizardBeanRule(); System.out.println(admin.evaluateRule()); } } but this code is generating NullPointerException at line: SecurityService service = (SecurityService) ruleProxy .getService(SecurityService.class); But in Java doc its mentioned that CustomCodeRuleProxy object can be referenced by ruleProxy. Can you please tell whats the problem with this code and why its generating that exception. I will be really thankful if you can suggest some solution. Thanks alot
... View more
Jun 01, 2011
12:52 AM
hi, I am using the process mentioned by you. But not gettig the desired result. One thing that I am not getting is that I am using the classes IAclasses.zip and service.jar. Do I need to sign these jars and add in "Configure Dependencies" or InstallAnywhere will automatically detect them because these are inbuild jars in InstallAnywhere. Thanks
... View more
May 31, 2011
07:39 AM
Hi pv7721, to check wheather th logged user is admin I am using the code: SecurityService service = (SecurityService) ruleProxy .getService(SecurityService.class); boolean isAdmin = false; try { // Check if the logged user has admin rights isAdmin = service.isCurrentUserAdmin(); } catch (ServiceException e) { System.out.println("Exception occured: " + e); return false; } return isAdmin; I compiled it and added the class file to zip bt its not getting executed is there any problem with the logic. Thanks alot...
... View more
May 23, 2011
03:25 AM
hi, Actually I am using demo version of InstallAnywhere 2010. When I extract IAClasses.zip, i dont get all the classes of InstallShield API mentioned in JavaDoc (Ex- SecurityService). In the Service subdirectory there is only one class ServiceException, all other are missing. Can you explain this problem. Thanks.
... View more
May 20, 2011
12:48 AM
Hi, I am creating an InstallAnywhere project for windows platform. I want to check if the currently logged user has adminrights or not. If not the setup will exit. Also the user should not be admin. It should be a local user with admin rights. Can anyone help me to find the solution. Thanks.
... View more
Labels
- Labels:
-
InstallAnywhere 2010
- « Previous
-
- 1
- 2
- Next »
Latest posts by atulmaurya
Subject | Views | Posted |
---|---|---|
793 | Nov 25, 2011 04:25 AM | |
1696 | Nov 24, 2011 11:35 PM | |
2908 | Nov 24, 2011 11:31 PM | |
2621 | Nov 23, 2011 08:56 AM | |
1640 | Nov 16, 2011 05:45 AM | |
6707 | Nov 15, 2011 08:00 AM | |
1876 | Nov 03, 2011 11:36 PM | |
1019 | Nov 01, 2011 10:38 PM | |
1019 | Nov 01, 2011 08:11 AM | |
3665 | Oct 31, 2011 06:21 AM |
Activity Feed
- Posted Re: Enabling\Disabling a radio button on InstallAnywhere Forum. Nov 25, 2011 04:25 AM
- Posted Dispalying the user input on a choice group on InstallAnywhere Forum. Nov 24, 2011 11:35 PM
- Posted Enabling\Disabling a radio button on InstallAnywhere Forum. Nov 24, 2011 11:31 PM
- Posted checking if the OS is 32-bit or 64-bit on InstallAnywhere Forum. Nov 23, 2011 08:56 AM
- Posted Re: LaunchAnywhere Application on InstallAnywhere Forum. Nov 16, 2011 05:45 AM
- Posted LaunchAnywhere Application on InstallAnywhere Forum. Nov 15, 2011 08:00 AM
- Posted Changing the path of the properties file on InstallAnywhere Forum. Nov 03, 2011 11:36 PM
- Posted Re: Accessing Registry entries of 32-bit application in Windows Server 2008 R2 on InstallAnywhere Forum. Nov 01, 2011 10:38 PM
- Posted Re: Accessing Registry entries of 32-bit application in Windows Server 2008 R2 on InstallAnywhere Forum. Nov 01, 2011 08:11 AM
- Posted Accessing Registry entries of 32-bit application in Windows Server 2008 R2 on InstallAnywhere Forum. Oct 31, 2011 06:21 AM
- Posted Silent Installation on InstallAnywhere Forum. Oct 21, 2011 04:06 AM
- Posted Re: Feature Selection on InstallAnywhere Forum. Sep 29, 2011 01:38 AM
- Posted Feature Selection on InstallAnywhere Forum. Sep 28, 2011 06:55 AM
- Posted Re: Problem with $prop.user.dir$ on InstallAnywhere Forum. Sep 02, 2011 05:58 AM
- Posted Problem with $prop.user.dir$ on InstallAnywhere Forum. Sep 01, 2011 02:15 AM
- Posted external resource in ISMP on InstallAnywhere Forum. Aug 11, 2011 10:33 AM
- Posted Re: Adding external files on InstallAnywhere Forum. Aug 03, 2011 07:42 AM
- Posted Adding external files on InstallAnywhere Forum. Aug 03, 2011 04:37 AM
- Posted Re: InstallAnywhere efficiency.. on InstallAnywhere Forum. Aug 03, 2011 04:30 AM
- Posted InstallAnywhere efficiency.. on InstallAnywhere Forum. Jul 23, 2011 08:11 AM