Feb 28, 2014
12:39 AM
Is it possible to get the final output as .msi file, instead of .exe format in InstallAnyWhere ?
... View more
Oct 16, 2013
06:31 AM
Hi Sandy, I doubt my way of doing is wrong. Could you please tell me in steps for adding Execute custom code for checking admin rights? Regards, Vidhya scarney wrote: Vidya, In your java code, you also need to do import com.installshield.wizard.service.security.SecurityService; -- Sandy
... View more
Sep 26, 2013
08:08 AM
Hi Sandy, May i know the steps u followed to make it working? I tried in eclipse and i have tried the two steps mentioned by you. but still the issue remains.:( scarney wrote: In addition to the import static com.zerog.ia.api.pub.CustomCodeRule.ruleProxy, you need to configure the following jarfiles as dependencies of your class : [LIST=1] path\to\root\of\InstallAnywhereInstallation\resource\services\services.jar path\to\root\of\InstallAnywhereInstallation\resource\services\ppk\windowsppk.jar With that, it works in my code. Thanx for the tip. -- Sandy
... View more
Aug 29, 2013
08:33 AM
Hi, I am trying to check for admin rights in my installer. I used the code import com.zerog.ia.api.pub.CustomCodeRule; import com.installshield.wizard.service.security.*; public class AdminRule extends CustomCodeRule { public boolean evaluateRule() { SecurityService service = (SecurityService) ruleProxy.getService(SecurityService.class); boolean isAdmin = false; try{ isAdmin = service.isCurrentUserAdmin(); }catch(Throwable e){} return isAdmin; } } But the above code gave me 'com.installshield.wizard.service.security.SecurityService class not found' error. I tried using InstallerProxy as advisedin the help manual.(Calling Installshield MultiPlatform APIs in Install Anywhere). public class AdminRule extends CustomCodeRule { public boolean evaluateRule() { InstallerProxy ip; SecurityService service = (SecurityService) ip.getService(SecurityService.class); boolean isAdmin = false; try{ isAdmin = service.isCurrentUserAdmin(); }catch(Throwable e){} return isAdmin; } } But still getting the error in Service class. Thanks in advance Regards, Vidya
... View more
Labels
- Labels:
-
InstallAnywhere 2012
Latest posts by Vidyasree
Subject | Views | Posted |
---|---|---|
2627 | Feb 28, 2014 12:39 AM | |
2627 | Oct 16, 2013 06:31 AM | |
2627 | Sep 26, 2013 08:08 AM | |
8003 | Aug 29, 2013 08:33 AM |
Activity Feed
- Posted Is it possible to get the final output as .msi file, instead of .exe format.? on InstallAnywhere Forum. Feb 28, 2014 12:39 AM
- Posted Re: SecurityService class not found on InstallAnywhere Forum. Oct 16, 2013 06:31 AM
- Posted Re: SecurityService class not found on InstallAnywhere Forum. Sep 26, 2013 08:08 AM
- Posted SecurityService class not found on InstallAnywhere Forum. Aug 29, 2013 08:33 AM